DEFINE{ query_name 'rrcx_stats_neigh_cell';
max_lfta_disorder '1'; max_hfta_disorder '1';
+ comment 'statistics on ssb RSRP on the beams of nrighboring cells, aggregated by cell ID, computed using rrc transfer';
}
PARAM{ window uint;}
// rsrp, rsrq, sinr ranges are 0 .. 127
) / count(*) as stddev_rsrp,
INT(max(rsrp))-INT(157) as max_rsrp
from RRCXFER.neighbor_beam_ssb
-where schemaId = 6 and rsrp<128
+//where schemaId = 6 and rsrp<128
+where rsrp<128
group by timestamp_ms/$window as tb, physCellId
;
DEFINE{ query_name 'rrcx_stats_neigh_gnb';
max_lfta_disorder '1'; max_hfta_disorder '1';
+ comment 'statistics on ssb RSRP on the beams of nrighboring cells, aggregated by gNB, computed using rrc transfer';
}
PARAM{ window uint;}
// rsrp, rsrq, sinr ranges are 0 .. 127
) / count(*) as stddev_rsrp,
INT(max(rsrp))-INT(157) as max_rsrp
from RRCXFER.neighbor_beam_ssb
-where schemaId = 6 and rsrp<128
+where rsrp<128
+//where schemaId = 6 and rsrp<128
group by timestamp_ms/$window as tb, gnb_id
;
DEFINE{ query_name 'rrcx_stats_serv_cell';
max_lfta_disorder '1'; max_hfta_disorder '1';
+ comment 'statistics on the ssb rsrp of the serving cell, aggregated by cell id, computed using rrc transfer';
}
PARAM{ window uint;}
// rsrp, rsrq, sinr ranges are 0 .. 127
) / count(*) as stddev_rsrp,
INT(max(rsrp))-INT(157) as max_rsrp
from RRCXFER.serv_nr_cell
-where schemaId = 1 and rsrp<128
+where rsrp<128
+//where schemaId = 1 and rsrp<128
group by timestamp_ms/$window as tb, physCellId
;
DEFINE{ query_name 'rrcx_stats_neighbor_cell';
max_lfta_disorder '1'; max_hfta_disorder '1';
+ comment 'statistics on the ssb rsrp of the neighbor cells, aggregated by cell id, computed using rrc transfer';
}
PARAM{ window uint;}
// rsrp, rsrq, sinr ranges are 0 .. 127
) / count(*) as stddev_rsrp,
INT(max(rsrp))-INT(157) as max_rsrp
from RRCXFER.nr_neighbor
-where schemaId = 4 and rsrp<128
+//where schemaId = 4 and rsrp<128
+where rsrp<128
group by timestamp_ms/$window as tb, physCellId
;
DEFINE{ query_name 'rrcx_stats_serv_gnb';
max_lfta_disorder '1'; max_hfta_disorder '1';
+ comment 'statistics on the ssb srp of the serving cell, aggregated by gNB, computed using rrc transfer';
}
PARAM{ window uint;}
// rsrp, rsrq, sinr ranges are 0 .. 127
) / count(*) as stddev_rsrp,
INT(max(rsrp))-INT(157) as max_rsrp
from RRCXFER.serv_nr_cell
-where schemaId = 1 and rsrp<128
+//where schemaId = 1 and rsrp<128
+where rsrp<128
group by timestamp_ms/$window as tb, gnb_id
;
DEFINE{ query_name 'rrcx_stats_neighbor_gnb';
max_lfta_disorder '1'; max_hfta_disorder '1';
+ comment 'statistics on the ssb rsrp of the neighbor cells, aggregated by gNB, computed using rrc transfer';
}
PARAM{ window uint;}
// rsrp, rsrq, sinr ranges are 0 .. 127
) / count(*) as stddev_rsrp,
INT(max(rsrp))-INT(157) as max_rsrp
from RRCXFER.nr_neighbor
-where schemaId = 4 and rsrp<128
+//where schemaId = 4 and rsrp<128
+where rsrp<128
group by timestamp_ms/$window as tb, gnb_id