【資料名稱】:SQL腳本-BSC_Performanc
【資料作者】:未知
【資料日期】:未知
【資料語言】:中文
【資料格式】:其它
【資料目錄和簡(jiǎn)介】:
NSN-SQL腳本-BSC_Performanc
供新手學(xué)習(xí)
SELECT bsC.name bsc,
--bcf.object_instance bcf_id,
--bts.object_instance bts_id,
-- C.LA_ID_LAC,
-- C.CELL_ID,
--bts.name bts_name,
to_char(t.period_start_time,'mmddhh24') PERIOD_DATE,
/* round(100* ( 1 - decode(sum(S.setup_succ+S.call_setup_failure),0,0,sum(S.call_setup_failure)/sum(S.setup_succ+S.call_setup_failure))),2) CSSR, */
/* round(100*decode(sum(R.res_av_denom14),0,0,sum(R.ave_busy_tch)/sum(R.res_av_denom14))/decode(sum(R.ave_avail_tch_den),0,0,ROUND(sum(R.ave_avail_tch_sum)/sum(R.ave_avail_tch_den),2)),2) TCH_usage,*/
/* round(100*(decode(sum(R.res_av_denom14),0,0,sum(R.ave_busy_tch)/sum(R.res_av_denom14))+decode(sum(R.ave_GPRS_channels_den),0,0,round(sum(R.ave_GPRS_channels_sum)/sum(R.ave_GPRS_channels_den),2)))/(decode(sum(R.ave_avail_tch_den),0,0,ROUND(sum(R.ave_avail_tch_sum)/sum(R.ave_avail_tch_den),2))+decode(sum(R.ave_avail_tch_den),0,0,ROUND(sum(R.ave_avail_tch_sum)/sum(R.ave_avail_tch_den),2))),2) chan_usage,*/
/*round((avg(decode(R.RES_AV_DENOM2,0,0,R.AVE_AVAIL_FULL_TCH/R.RES_AV_DENOM2))+avg(R.AVE_TCH_AVAIL_HALF/2)),2) TCH_total,
round(avg(R.AVE_TCH_AVAIL_HALF),2)TCH_HR,
decode(sum(R.ave_avail_tch_den),0,0,ROUND(sum(R.ave_avail_tch_sum)/sum(R.ave_avail_tch_den),2)) TCH_num,
round((decode(sum(R.ave_avail_tch_den),0,0,sum(R.ave_avail_tch_sum)/sum(R.ave_avail_tch_den))+decode(sum(R.ave_GPRS_channels_den),0,0,sum(R.ave_GPRS_channels_sum)/sum(R.ave_GPRS_channels_den)))-decode(sum(R.ave_GPRS_channels_den),0,0,round(sum(R.ave_GPRS_channels_sum)/sum(R.ave_GPRS_channels_den),2))-avg(R.AVE_TCH_BUSY_HALF)/2-avg(R.AVE_TCH_BUSY_FULL),2) Idle_TCH_NUM,
round(avg(R.AVE_NON_AVAIL_TCH),2) NON_AVAIL_TCH,
decode(sum(R.ave_GPRS_channels_den),0,0,round(sum(R.ave_GPRS_channels_sum)/sum(R.ave_GPRS_channels_den),2)) average_GPRS_TS,
sum( R.PEAK_GPRS_CHANNELS) peak_GPRS_TS,*/
round(avg(R.AVE_NON_AVAIL_TSL/R.RES_AV_DENOM1/8),0) TRX_BLK,
decode(SUM(T.TCH_CALL_REQ),0,0,round(100*SUM(T.QUE_ALL_ASS_REQ_FAIL +T.QUE_NALL_ASS_REQ_FAIL)/SUM(T.TCH_CALL_REQ),2)) TCH_BLK_HO_EXCLUDED,--TCH_擁塞不含切換
round(decode(sum(t.tch_call_req),0,0,greatest((sum(t.tch_call_req)-sum(t.tch_norm_seiz)-sum(h.msc_o_sdcch_tch+ h.bsc_o_sdcch_tch+h.cell_sdcch_tch)),0)/sum(t.tch_call_req)*100),2) TCH_BLK_HO_INCLUDED,--TCH_擁塞含奇幻
round(decode(sum(R.ave_busy_tch/R.res_av_denom14),0,0,100*SUM(R.AVE_TCH_BUSY_HALF)/sum(R.ave_busy_tch/R.res_av_denom14)),2)HR_traffic_percentage,--半速率比例
round(SUM(R.AVE_TCH_BUSY_HALF),2) tch_traffic_half,
round(SUM(R.AVE_TCH_BUSY_FULL),2) tch_traffic_full,
round(sum(R.ave_busy_tch/R.res_av_denom14),2) as TCH_TRAFFIC,--話務(wù)量,
round(decode(sum(T.tch_call_req-T.a_if_crc_mismatch_call_setup-H.msc_o_sdcch_tch_at-H.cell_sdcch_tch_at-H.bsc_o_sdcch_tch_at),0,0,sum(T.ms_tch_succ_seiz_assign_cmplt)/sum(T.tch_call_req-T.a_if_crc_mismatch_call_setup-H.msc_o_sdcch_tch_at-H.cell_sdcch_tch_at-H.bsc_o_sdcch_tch_at))*100,2) as jietonglv, --接通率,
decode((sum(decode(R.res_av_denom2,0,0,R.ave_avail_full_TCH/R.res_av_denom2))+sum(decode(R.res_av_denom1,0,0,R.ave_non_avail_tsl/R.res_av_denom1))),0,0,round(Sum(decode(R.res_av_denom2,0,0,100*R.ave_avail_full_TCH/R.res_av_denom2))/(sum(decode(R.res_av_denom2,0,0,R.ave_avail_full_TCH/R.res_av_denom2))+sum(decode(R.res_av_denom1,0,0,R.ave_non_avail_tsl/R.res_av_denom1))),2)) as TCH_avail_percentage, --利用率,
sum(R.CLEAR_REQUEST_BY_BSC_ON_TCH) as c2071, --掉話次數(shù),
sum(T.ms_tch_succ_seiz_assign_cmplt+H.bsc_i_tch_tch+H.bsc_i_sdcch_tch+H.msc_i_tch_tch+H.msc_i_sdcch_tch+H.cell_tch_tch+H.cell_sdcch_tch) as CALLS,
sum(T.tch_radio_fail + T.tch_rf_old_ho + T.tch_tr_fail +
T.tch_tr_fail_old + T.tch_abis_fail_call + T.tch_abis_fail_old +
T.tch_a_if_fail_call + T.tch_a_if_fail_old + T.tch_lapd_fail +
T.tch_bts_fail + T.tch_user_act + T.tch_bcsu_reset +
T.tch_netw_act + T.tch_act_fail_call) TCH_Drops,--TCH掉話次數(shù),3J
請(qǐng)下載附件查看
掃碼關(guān)注5G通信官方公眾號(hào),免費(fèi)領(lǐng)取以下5G精品資料
1、回復(fù)“YD5GAI”免費(fèi)領(lǐng)取《中國(guó)移動(dòng):5G網(wǎng)絡(luò)AI應(yīng)用典型場(chǎng)景技術(shù)解決方案白皮書》
2、回復(fù)“5G6G”免費(fèi)領(lǐng)取《5G_6G毫米波測(cè)試技術(shù)白皮書-2022_03-21》
3、回復(fù)“YD6G”免費(fèi)領(lǐng)取《中國(guó)移動(dòng):6G至簡(jiǎn)無線接入網(wǎng)白皮書》
4、回復(fù)“LTBPS”免費(fèi)領(lǐng)取《《中國(guó)聯(lián)通5G終端白皮書》》
5、回復(fù)“ZGDX”免費(fèi)領(lǐng)取《中國(guó)電信5G NTN技術(shù)白皮書》
6、回復(fù)“TXSB”免費(fèi)領(lǐng)取《通信設(shè)備安裝工程施工工藝圖解》
7、回復(fù)“YDSL”免費(fèi)領(lǐng)取《中國(guó)移動(dòng)算力并網(wǎng)白皮書》
8、回復(fù)“5GX3”免費(fèi)領(lǐng)取《 R16 23501-g60 5G的系統(tǒng)架構(gòu)1》
作者的更多帖子
誰說天下烏鴉一般黑?其實(shí)一個(gè)更比一個(gè)黑!
|
|
|
|
|