MSCBSC 移動(dòng)通信論壇
搜索
登錄注冊(cè)
網(wǎng)絡(luò)優(yōu)化工程師招聘專欄 4G/LTE通信工程師最新職位列表 通信實(shí)習(xí)生/應(yīng)屆生招聘職位

  • 閱讀:6729
  • 回復(fù):21
諾西MR數(shù)據(jù)提取腳本問(wèn)題
零下一度眼淚
初級(jí)會(huì)員
鎵嬫満鍙風(fēng)爜宸查獙璇? style=


 發(fā)短消息    關(guān)注Ta 

積分 110
帖子 27
威望 3335 個(gè)
禮品券 0 個(gè)
專家指數(shù) -25
注冊(cè) 2010-4-6
專業(yè)方向  無(wú)線通信
來(lái)自 河北
回答問(wèn)題數(shù) 0
回答被采納數(shù) 0
回答采納率 0%
 
發(fā)表于 2011-09-29 22:56:22  只看樓主  QQ
小弟采用附件中的MR數(shù)據(jù)的提取腳本去提取數(shù)據(jù),提取到的數(shù)據(jù)量相當(dāng)大。如圖是一個(gè)BSC的一個(gè)早忙時(shí)的數(shù)據(jù):
[localimg=360,69]1[/localimg]
求高手指點(diǎn)如何去修改腳本。

use strict;
print "Enter your sqlplus user_name:\n";
#my $DBUSER=<STDIN>;
my $DBUSER="替換成賬戶";
$DBUSER=~s/\s//g;
print "Enter your sqlplus password:\n";
#my $PWORD=<STDIN>;
my $PWORD="替換成密碼";
$PWORD=~s/\s//g;
&print_CF_Query();
system ("sqlplus -S $DBUSER/$PWORD \@cf.sql");
unlink ("cf.sql");

&print_DAC_Query();
system ("sqlplus -S $DBUSER/$PWORD \@dac.sql");
unlink ("dac.sql");
&print_rx_stats_Query();
system ("sqlplus -S $DBUSER/$PWORD \@rx_stats.sql");
unlink ("rx_stats.sql");


sub print_CF_Query
{
open (QUERY,">cf.sql");
print QUERY "set pagesize 32000\n";
print QUERY "set linesize 1000\n";
print QUERY "set trimspool on\n";
print QUERY "set verify off\n";
print QUERY "set termout off\n";
print QUERY "set feedback off\n\n";
print QUERY "COLUMN header HEADING 'DATE PERIOD_START_TIME DURATION BTS_INT_ID BSC_NAME BTS_NAME BTS_ID NCC BCC BCCH DB_VALUE_LOW DB_VALUE_HIGH AVE_DL_SIGNAL_STRENGTH STANDARD_DEVIATION NUM_OF_SAMPLES_IN_CLASS_1 NUM_OF_SAMPLES_IN_CLASS_2 NUM_OF_SAMPLES_IN_CLASS_3'\n\n";

print QUERY "spool cf.txt\n\n";
print QUERY "SELECT\n";
print QUERY "TO_CHAR(c.period_start_time,'MM/DD/RR')\n";
print QUERY "|| CHR(9) || TO_CHAR(c.period_start_time,'HH24:\"00:00\"')\n";
print QUERY "|| CHR(9) || c.period_duration\n";
print QUERY "|| CHR(9) || c.bts_int_id\n";
print QUERY "|| CHR(9) || o_bsc.name\n";
print QUERY "|| CHR(9) || o_bts.name\n";
print QUERY "|| CHR(9) || c.bts_id\n";
print QUERY "|| CHR(9) || c.ncc\n";
print QUERY "|| CHR(9) || c.bcc\n";
print QUERY "|| CHR(9) || c.bcch\n";
print QUERY "|| CHR(9) || c.db_value_low\n";
print QUERY "|| CHR(9) || c.db_value_high\n";
print QUERY "|| CHR(9) || c.ave_dl_signal_strength\n";
print QUERY "|| CHR(9) || c.standard_deviation\n";
print QUERY "|| CHR(9) || c.num_of_samples_in_class_1\n";
print QUERY "|| CHR(9) || c.num_of_samples_in_class_2\n";
print QUERY "|| CHR(9) || c.num_of_samples_in_class_3 header\n";
print QUERY "FROM \n";
print QUERY "p_nbsc_channel_finder c,\n";
print QUERY "objects o_bts,\n";
print QUERY "objects o_bsc\n";
print QUERY "WHERE\n";
print QUERY "to_char(c.period_start_time,'mmddyy')=TO_CHAR(sysdate-1, 'MMDDRR') \n";
print QUERY "AND o_bts.int_id=c.bts_int_id\n";
print QUERY "AND o_bts.object_class=4\n";
print QUERY "AND o_bsc.object_class=3\n";
print QUERY "AND o_bsc.name in ('BSC21') \n";
print QUERY "GROUP BY\n";
print QUERY "TO_CHAR(c.period_start_time,'MM/DD/RR'),\n";
print QUERY "TO_CHAR(c.period_start_time,'HH24:\"00:00\"'),\n";
print QUERY "c.period_duration,\n";
print QUERY "c.bts_int_id,\n";
print QUERY "o_bsc.name,\n";
print QUERY "o_bts.name,\n";
print QUERY "c.bts_id,\n";
print QUERY "c.ncc,\n";
print QUERY "c.bcc,\n";
print QUERY "c.bcch,\n";
print QUERY "c.db_value_low,\n";
print QUERY "c.db_value_high,\n";
print QUERY "c.ave_dl_signal_strength,\n";
print QUERY "c.standard_deviation,\n";
print QUERY "c.num_of_samples_in_class_1,\n";
print QUERY "c.num_of_samples_in_class_2,\n";
print QUERY "c.num_of_samples_in_class_3\n";
print QUERY ";\n";
print QUERY "spool off\n\n";
print QUERY "exit\n";
close (QUERY);
}
sub print_DAC_Query
{
open (QUERY,">dac.sql");
print QUERY "set pagesize 32000\n";
print QUERY "set linesize 1000\n";
print QUERY "set trimspool on\n";
print QUERY "set verify off\n";
print QUERY "set termout off\n";
print QUERY "set feedback off\n\n";
print QUERY "COLUMN header HEADING 'DATE PERIOD_START_TIME DURATION BTS_INT_ID BSC_NAME BTS_NAME BTS_ID NCC BCC BCCH DB_VALUE_LOW DB_VALUE_HIGH AVE_DL_SIG_STR_SERV_CELL_SUM AVE_DL_SIG_STR_SERV_CELL_DEN STD_DEV_OF_SERV_CELL AVE_DL_SIG_STR_ADJ_CELL STD_DEV_OF_ADJ_CELL NBR_OF_SAMPLES_IN_CLASS_1 NBR_OF_SAMPLES_IN_CLASS_2 NBR_OF_SAMPLES_IN_CLASS_3'\n\n";

print QUERY "spool dac.txt\n\n";
print QUERY "SELECT\n";
print QUERY "TO_CHAR(d.period_start_time,'MM/DD/RR')\n";
print QUERY "|| CHR(9) || TO_CHAR(d.period_start_time,'HH24:\"00:00\"')\n";
print QUERY "|| CHR(9) || d.period_duration\n";
print QUERY "|| CHR(9) || d.bts_int_id\n";
print QUERY "|| CHR(9) || o_bsc.name\n";
print QUERY "|| CHR(9) || o_bts.name\n";
print QUERY "|| CHR(9) || d.bts_id\n";
print QUERY "|| CHR(9) || d.ncc\n";
print QUERY "|| CHR(9) || d.bcc\n";
print QUERY "|| CHR(9) || d.bcch\n";
print QUERY "|| CHR(9) || d.db_value_low\n";
print QUERY "|| CHR(9) || d.db_value_high\n";
print QUERY "|| CHR(9) || d.ave_dl_sig_str_serv_cell_sum\n";
print QUERY "|| CHR(9) || d.ave_dl_sig_str_serv_cell_den\n";
print QUERY "|| CHR(9) || d.std_dev_of_serv_cell\n";
print QUERY "|| CHR(9) || d.ave_dl_sig_str_adj_cell\n";
print QUERY "|| CHR(9) || d.std_dev_of_adj_cell\n";
print QUERY "|| CHR(9) || d.nbr_of_samples_in_class_1\n";
print QUERY "|| CHR(9) || d.nbr_of_samples_in_class_2\n";
print QUERY "|| CHR(9) || d.nbr_of_samples_in_class_3header\n";
print QUERY "FROM \n";
print QUERY "p_nbsc_def_adj_cell d,\n";
print QUERY "objects o_bts,\n";
print QUERY "objects o_bsc\n";
print QUERY "WHERE\n";
print QUERY "to_char(d.period_start_time,'mmddyy')=TO_CHAR(sysdate-1, 'MMDDRR') \n";
print QUERY "AND o_bts.int_id=d.bts_int_id\n";
print QUERY "AND o_bts.object_class=4\n";
print QUERY "AND o_bsc.object_class=3\n";
print QUERY "AND o_bsc.name in ('BSC21') \n";
print QUERY "GROUP BY\n";
print QUERY "TO_CHAR(d.period_start_time,'MM/DD/RR'),\n";
print QUERY "TO_CHAR(d.period_start_time,'HH24:\"00:00\"'),\n";
print QUERY "d.period_duration,\n";
print QUERY "d.bts_int_id,\n";
print QUERY "o_bsc.name,\n";
print QUERY "o_bts.name,\n";
print QUERY "d.BTS_ID,\n";
print QUERY "d.ncc,\n";
print QUERY "d.bcc,\n";
print QUERY "d.bcch,\n";
print QUERY "d.db_value_low,\n";
print QUERY "d.db_value_high,\n";
print QUERY "d.ave_dl_sig_str_serv_cell_sum,\n";
print QUERY "d.ave_dl_sig_str_serv_cell_den,\n";
print QUERY "d.std_dev_of_serv_cell,\n";
print QUERY "d.ave_dl_sig_str_adj_cell,\n";
print QUERY "d.std_dev_of_adj_cell,\n";
print QUERY "d.nbr_of_samples_in_class_1,\n";
print QUERY "d.nbr_of_samples_in_class_2,\n";
print QUERY "d.nbr_of_samples_in_class_3\n";
print QUERY ";\n";
print QUERY "spool off\n\n";
print QUERY "exit\n";
close (QUERY);
}

sub print_rx_stats_Query
{
open (QUERY,">rx_stats.sql");
print QUERY "set pagesize 50000\n";
print QUERY "set linesize 10000\n";
print QUERY "set trimspool on\n";
print QUERY "set verify off\n";
print QUERY "set feedback off\n\n";
print QUERY "spool rx_stats.txt\n\n";
print QUERY "COLUMN header HEADING 'BSC_NAME BTS_NAME START STOP PERIOD_DURATION BTS_ID TRX_ID BSC_INT_ID BTS_INT_ID TRX_INT_ID CLASS_UPPER_RANGE FREQ_UL_QUAL0 FREQ_UL_QUAL1 FREQ_UL_QUAL2 FREQ_UL_QUAL3 FREQ_UL_QUAL4 FREQ_UL_QUAL5 FREQ_UL_QUAL6 FREQ_UL_QUAL7 FREQ_DL_QUAL0 FREQ_DL_QUAL1 FREQ_DL_QUAL2 FREQ_DL_QUAL3 FREQ_DL_QUAL4 FREQ_DL_QUAL5 FREQ_DL_QUAL6 FREQ_DL_QUAL7'\n\n";
print QUERY "SELECT\n";
print QUERY "o_bsc.name\n";
print QUERY "|| CHR(9) ||o_bts.name\n";
print QUERY "|| CHR(9) ||TO_CHAR(rx.period_start_time,'RRRRMMDDHH24')\n";
print QUERY "|| CHR(9) ||TO_CHAR(rx.period_stop_time,'RRRRMMDDHH24')\n";
print QUERY "|| CHR(9) ||rx.period_duration\n";
print QUERY "|| CHR(9) ||rx.bts_id\n";
print QUERY "|| CHR(9) ||rx.trx_id\n";
print QUERY "|| CHR(9) ||rx.int_id\n";
print QUERY "|| CHR(9) ||rx.bts_int_id\n";
print QUERY "|| CHR(9) ||rx.trx_int_id\n";
print QUERY "|| CHR(9) ||rx.class_upper_range\n";
print QUERY "|| CHR(9) ||sum(rx.freq_ul_qual0)\n";
print QUERY "|| CHR(9) ||sum(rx.freq_ul_qual1)\n";
print QUERY "|| CHR(9) ||sum(rx.freq_ul_qual2)\n";
print QUERY "|| CHR(9) ||sum(rx.freq_ul_qual3)\n";
print QUERY "|| CHR(9) ||sum(rx.freq_ul_qual4)\n";
print QUERY "|| CHR(9) ||sum(rx.freq_ul_qual5)\n";
print QUERY "|| CHR(9) ||sum(rx.freq_ul_qual6)\n";
print QUERY "|| CHR(9) ||sum(rx.freq_ul_qual7)\n";
print QUERY "|| CHR(9) ||sum(rx.freq_dl_qual0)\n";
print QUERY "|| CHR(9) ||sum(rx.freq_dl_qual1)\n";
print QUERY "|| CHR(9) ||sum(rx.freq_dl_qual2)\n";
print QUERY "|| CHR(9) ||sum(rx.freq_dl_qual3)\n";
print QUERY "|| CHR(9) ||sum(rx.freq_dl_qual4)\n";
print QUERY "|| CHR(9) ||sum(rx.freq_dl_qual5)\n";
print QUERY "|| CHR(9) ||sum(rx.freq_dl_qual6)\n";
print QUERY "|| CHR(9) ||sum(rx.freq_dl_qual7) header\n";
print QUERY "FROM \n";
print QUERY "p_nbsc_rx_statistics rx,\n";
print QUERY "objects o_bts, \n";
print QUERY "objects o_bsc \n";
print QUERY "WHERE\n";
print QUERY "TO_CHAR(rx.period_start_time,'MMDDRR') = to_char(sysdate-1, 'MMDDRR')\n";
print QUERY "AND TO_CHAR(rx.period_start_time,'HH24') between 08 and 11\n";
print QUERY "AND o_bts.int_id=rx.bts_int_id\n";
print QUERY "AND o_bts.object_class=4\n";
print QUERY "AND o_bsc.int_id=rx.int_id\n";
print QUERY "AND o_bsc.object_class=3 \n";
print QUERY "AND o_bsc.name in ('BSC21') \n";
print QUERY "GROUP BY\n";
print QUERY "TO_CHAR(rx.period_start_time,'RRRRMMDDHH24'),\n";
print QUERY "TO_CHAR(rx.period_stop_time,'RRRRMMDDHH24'),\n";
print QUERY "rx.period_duration,\n";
print QUERY "rx.int_id,\n";
print QUERY "o_bsc.name,\n";
print QUERY "rx.bts_int_id,\n";
print QUERY "o_bts.name,\n";
print QUERY "rx.bts_id,\n";
print QUERY "rx.trx_id,\n";
print QUERY "rx.trx_int_id,\n";
print QUERY "rx.class_upper_range\n";
print QUERY "ORDER BY\n";
print QUERY "TO_CHAR(rx.period_start_time,'RRRRMMDDHH24'),\n";
print QUERY "TO_CHAR(rx.period_stop_time,'RRRRMMDDHH24'),\n";
print QUERY "rx.period_duration,\n";
print QUERY "rx.int_id,\n";
print QUERY "o_bsc.name,\n";
print QUERY "rx.bts_int_id,\n";
print QUERY "o_bts.name,\n";
print QUERY "rx.bts_id,\n";
print QUERY "rx.trx_id\n";
print QUERY ";\n\n";
print QUERY "spool off\n";
print QUERY "exit\n";
close (QUERY);
}
掃碼關(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ù)解決方案白皮書(shū)
  • 2、回復(fù)“5G6G”免費(fèi)領(lǐng)取《5G_6G毫米波測(cè)試技術(shù)白皮書(shū)-2022_03-21
  • 3、回復(fù)“YD6G”免費(fèi)領(lǐng)取《中國(guó)移動(dòng):6G至簡(jiǎn)無(wú)線接入網(wǎng)白皮書(shū)
  • 4、回復(fù)“LTBPS”免費(fèi)領(lǐng)取《《中國(guó)聯(lián)通5G終端白皮書(shū)》
  • 5、回復(fù)“ZGDX”免費(fèi)領(lǐng)取《中國(guó)電信5G NTN技術(shù)白皮書(shū)
  • 6、回復(fù)“TXSB”免費(fèi)領(lǐng)取《通信設(shè)備安裝工程施工工藝圖解
  • 7、回復(fù)“YDSL”免費(fèi)領(lǐng)取《中國(guó)移動(dòng)算力并網(wǎng)白皮書(shū)
  • 8、回復(fù)“5GX3”免費(fèi)領(lǐng)取《 R16 23501-g60 5G的系統(tǒng)架構(gòu)1
  • 對(duì)本帖內(nèi)容的看法? 我要點(diǎn)評(píng)

     
    [充值威望,立即自動(dòng)到帳] [VIP貴賓權(quán)限+威望套餐] 另有大量?jī)?yōu)惠贈(zèng)送活動(dòng),請(qǐng)光臨充值中心
    充值擁有大量的威望和最高的下載權(quán)限,下載站內(nèi)資料無(wú)憂
    零下一度眼淚
    初級(jí)會(huì)員
    鎵嬫満鍙風(fēng)爜宸查獙璇? style=


     發(fā)短消息    關(guān)注Ta 

    積分 110
    帖子 27
    威望 3335 個(gè)
    禮品券 0 個(gè)
    專家指數(shù) -25
    注冊(cè) 2010-4-6
    專業(yè)方向  無(wú)線通信
    來(lái)自 河北
    回答問(wèn)題數(shù) 0
    回答被采納數(shù) 0
    回答采納率 0%
     
    發(fā)表于 2011-09-29 22:57:22  只看樓主  QQ
    數(shù)據(jù)量[attach]194706[/attach]好大啊

    對(duì)本帖內(nèi)容的看法? 我要點(diǎn)評(píng)

     
    [立即成為VIP會(huì)員,百萬(wàn)通信專業(yè)資料立即下載,支付寶、微信付款,簡(jiǎn)單、快速!]
    誰(shuí)伴我闖蕩
    高級(jí)會(huì)員
    鎵嬫満鍙風(fēng)爜宸查獙璇? style=


     發(fā)短消息    關(guān)注Ta 

    積分 2303
    帖子 416
    威望 8721 個(gè)
    禮品券 46 個(gè)
    專家指數(shù) 14
    注冊(cè) 2009-3-26
    專業(yè)方向  通信技術(shù)
    回答問(wèn)題數(shù) 0
    回答被采納數(shù) 0
    回答采納率 0%
     
    發(fā)表于 2011-09-30 06:46:58 
    怎么沒(méi)有人回復(fù)啊,等待高手啊···

    對(duì)本帖內(nèi)容的看法? 我要點(diǎn)評(píng)

     
    最新通信職位:廣東通信人才網(wǎng) | 北京通信人才網(wǎng) | 上海通信人才網(wǎng) | 南京通信人才網(wǎng) | 西安通信人才網(wǎng) | 重慶通信人才網(wǎng) | 中國(guó)通信人才網(wǎng)
    diego10
    中級(jí)會(huì)員
    鎵嬫満鍙風(fēng)爜宸查獙璇? style=


     發(fā)短消息    關(guān)注Ta 

    積分 815
    帖子 52
    威望 125749 個(gè)
    禮品券 25 個(gè)
    專家指數(shù) 11
    注冊(cè) 2008-1-24
    專業(yè)方向  網(wǎng)絡(luò)優(yōu)化
    回答問(wèn)題數(shù) 0
    回答被采納數(shù) 0
    回答采納率 0%
     
    發(fā)表于 2011-09-30 17:13:12 
    好東西,下了,頂

    對(duì)本帖內(nèi)容的看法? 我要點(diǎn)評(píng)





    我是流氓我怕誰(shuí)!
     
    熱點(diǎn): 通信招聘職位 | 網(wǎng)絡(luò)優(yōu)化全集 | WCDMA精品 | TD-SCDMA學(xué)習(xí)資料 | EVDO | MGW媒體網(wǎng)關(guān)資料
    seair
    VIP會(huì)員
    鎵嬫満鍙風(fēng)爜宸查獙璇? style=


     發(fā)短消息    關(guān)注Ta 

    專家·初級(jí)勛章   紀(jì)念勛章·七周年   財(cái)富勛章·財(cái)運(yùn)連連   財(cái)富勛章·小財(cái)主   C友·登錄達(dá)人   紀(jì)念勛章·六周年   紀(jì)念勛章·九周年  
    積分 20967
    帖子 4089
    威望 2896500 個(gè)
    禮品券 99 個(gè)
    專家指數(shù) 279
    注冊(cè) 2009-1-10
    專業(yè)方向  GSM
    回答問(wèn)題數(shù) 0
    回答被采納數(shù) 0
    回答采納率 0%
     
    發(fā)表于 2011-10-05 15:25:40 
    改測(cè)量周期,改成4個(gè)小時(shí)出一次

    對(duì)本帖內(nèi)容的看法? 我要點(diǎn)評(píng)





     
    最新通信職位:廣東通信人才網(wǎng) | 北京通信人才網(wǎng) | 上海通信人才網(wǎng) | 南京通信人才網(wǎng) | 西安通信人才網(wǎng) | 重慶通信人才網(wǎng) | 中國(guó)通信人才網(wǎng)
    零下一度眼淚
    初級(jí)會(huì)員
    鎵嬫満鍙風(fēng)爜宸查獙璇? style=


     發(fā)短消息    關(guān)注Ta 

    積分 110
    帖子 27
    威望 3335 個(gè)
    禮品券 0 個(gè)
    專家指數(shù) -25
    注冊(cè) 2010-4-6
    專業(yè)方向  無(wú)線通信
    來(lái)自 河北
    回答問(wèn)題數(shù) 0
    回答被采納數(shù) 0
    回答采納率 0%
     
    發(fā)表于 2011-10-08 23:09:01  只看樓主  QQ
    如果不修改測(cè)量周期能否得到全面的數(shù)據(jù)呢?
    對(duì)于目前來(lái)說(shuō)很難更改測(cè)量周期,局方不給力啊!

    對(duì)本帖內(nèi)容的看法? 我要點(diǎn)評(píng)

     
    [2分鐘擁有VIP權(quán)限和充足威望,可下載站內(nèi)任何資料] [快速找到一份高薪的通信行業(yè)職位]
    seair
    VIP會(huì)員
    鎵嬫満鍙風(fēng)爜宸查獙璇? style=


     發(fā)短消息    關(guān)注Ta 

    專家·初級(jí)勛章   紀(jì)念勛章·七周年   財(cái)富勛章·財(cái)運(yùn)連連   財(cái)富勛章·小財(cái)主   C友·登錄達(dá)人   紀(jì)念勛章·六周年   紀(jì)念勛章·九周年  
    積分 20967
    帖子 4089
    威望 2896500 個(gè)
    禮品券 99 個(gè)
    專家指數(shù) 279
    注冊(cè) 2009-1-10
    專業(yè)方向  GSM
    回答問(wèn)題數(shù) 0
    回答被采納數(shù) 0
    回答采納率 0%
     
    發(fā)表于 2011-10-09 01:30:22 
    你的RX很小,而DAC和CF很大。
    DAC和CF沒(méi)對(duì)時(shí)段做限制,似乎是提了一天的。
    另外那悲催的BTS級(jí)別可以換到小區(qū)級(jí)。(要看你用什么翻頻軟件了)

    btw:這個(gè)SQL寫(xiě)得很不帥,特別是DAC和CF的,明明沒(méi)匯總,還一大堆的group by

    又看了一下,DAC和CF真的悲劇了,BSC都沒(méi)限制,似乎是一天的,整個(gè)OMC下的所有數(shù)據(jù)。。。杯具了

    對(duì)本帖內(nèi)容的看法? 我要點(diǎn)評(píng)





     
    熱點(diǎn): 通信招聘職位 | 網(wǎng)絡(luò)優(yōu)化全集 | WCDMA精品 | TD-SCDMA學(xué)習(xí)資料 | EVDO | MGW媒體網(wǎng)關(guān)資料
    零下一度眼淚
    初級(jí)會(huì)員
    鎵嬫満鍙風(fēng)爜宸查獙璇? style=


     發(fā)短消息    關(guān)注Ta 

    積分 110
    帖子 27
    威望 3335 個(gè)
    禮品券 0 個(gè)
    專家指數(shù) -25
    注冊(cè) 2010-4-6
    專業(yè)方向  無(wú)線通信
    來(lái)自 河北
    回答問(wèn)題數(shù) 0
    回答被采納數(shù) 0
    回答采納率 0%
     
    發(fā)表于 2011-10-09 08:58:22  只看樓主  QQ
    之前在CF和DAC中加入了語(yǔ)句。
    print QUERY "TO_CHAR(rx.period_start_time,'MMDDRR') = to_char(sysdate-1, 'MMDDRR')\n";
    print QUERY "AND TO_CHAR(rx.period_start_time,'HH24') between 08 and 11\n";
    悲劇是但是加上這個(gè)語(yǔ)句之后這個(gè)腳本就不能執(zhí)行了。
    CF和DAC限制的BSC21。
    “另外那悲催的BTS級(jí)別可以換到小區(qū)級(jí)”請(qǐng)求指教。

    對(duì)本帖內(nèi)容的看法? 我要點(diǎn)評(píng)

     
    [2分鐘擁有VIP權(quán)限和充足威望,可下載站內(nèi)任何資料] [快速找到一份高薪的通信行業(yè)職位]
    seair
    VIP會(huì)員
    鎵嬫満鍙風(fēng)爜宸查獙璇? style=


     發(fā)短消息    關(guān)注Ta 

    專家·初級(jí)勛章   紀(jì)念勛章·七周年   財(cái)富勛章·財(cái)運(yùn)連連   財(cái)富勛章·小財(cái)主   C友·登錄達(dá)人   紀(jì)念勛章·六周年   紀(jì)念勛章·九周年  
    積分 20967
    帖子 4089
    威望 2896500 個(gè)
    禮品券 99 個(gè)
    專家指數(shù) 279
    注冊(cè) 2009-1-10
    專業(yè)方向  GSM
    回答問(wèn)題數(shù) 0
    回答被采納數(shù) 0
    回答采納率 0%
     
    發(fā)表于 2011-10-09 12:44:50 
    TO_CHAR(rx.period_start_time,'MMDDRR') = to_char(sysdate-1, 'MMDDRR')

    TO_CHAR(rx.period_start_time,'YYYYMMDD) = to_char(sysdate-1, 'YYYYMMDD')
    試試

    btw:
    DAC、CF與RX相比,缺少這句【print QUERY "AND o_bsc.int_id=rx.int_id\n";】
    即你的BSC實(shí)際上沒(méi)有進(jìn)行限制

    QUOTE:
    原帖由 <i>零下一度眼淚</i> 于 2011-10-9 08:58:22 發(fā)表 <a href="http://gg1fic3.cn/bbs/redirect.php?goto=findpost&pid=3794733&ptid=287925" target="_blank"><img src="http://gg1fic3.cn/bbs/images/common/back.gif" border="0" onload="if(this.width>screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.alt='Click here to open new window\nCTRL+Mouse wheel to zoom in/out';}" onmouseover="if(this.width>screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.style.cursor='hand'; this.alt='Click here to open new window\nCTRL+Mouse wheel to zoom in/out';}" onclick="if(!this.resized) {return true;} else {window.open(this.src);}" onmousewheel="return imgzoom(this);" alt="" /></a><br />
    之前在CF和DAC中加入了語(yǔ)句。<br />
    print QUERY "  TO_CHAR(rx.period_start_time,'MMDDRR') = to_char(sysdate-1, 'MMDDRR')\n";<br />
    print QUERY "  AND TO_CHAR(rx.period_start_time,'HH24') between 08 and 11\n" ...

    <br />

    對(duì)本帖內(nèi)容的看法? 我要點(diǎn)評(píng)





     
    熱點(diǎn): 通信招聘職位 | 網(wǎng)絡(luò)優(yōu)化全集 | WCDMA精品 | TD-SCDMA學(xué)習(xí)資料 | EVDO | MGW媒體網(wǎng)關(guān)資料
    迷茫中走來(lái)
    金牌會(huì)員
    鎵嬫満鍙風(fēng)爜宸查獙璇? style=


     發(fā)短消息    關(guān)注Ta 

    財(cái)富勛章·小財(cái)主  
    積分 7642
    帖子 1507
    威望 19461 個(gè)
    禮品券 10 個(gè)
    專家指數(shù) 107
    注冊(cè) 2011-6-14
    專業(yè)方向  一輩子只做一件事
    回答問(wèn)題數(shù) 0
    回答被采納數(shù) 0
    回答采納率 0%
     
    發(fā)表于 2011-10-09 15:20:26 
    高手無(wú)處不在...

    對(duì)本帖內(nèi)容的看法? 我要點(diǎn)評(píng)

     
    [2分鐘擁有VIP權(quán)限和充足威望,可下載站內(nèi)任何資料] [快速找到一份高薪的通信行業(yè)職位]
    零下一度眼淚
    初級(jí)會(huì)員
    鎵嬫満鍙風(fēng)爜宸查獙璇? style=


     發(fā)短消息    關(guān)注Ta 

    積分 110
    帖子 27
    威望 3335 個(gè)
    禮品券 0 個(gè)
    專家指數(shù) -25
    注冊(cè) 2010-4-6
    專業(yè)方向  無(wú)線通信
    來(lái)自 河北
    回答問(wèn)題數(shù) 0
    回答被采納數(shù) 0
    回答采納率 0%
     
    發(fā)表于 2011-10-10 15:00:00  只看樓主  QQ
    TO_CHAR(rx.period_start_time,'MMDDRR') = to_char(sysdate-1, 'MMDDRR')
    改成
    TO_CHAR(rx.period_start_time,'YYYYMMDD) = to_char(sysdate-1, 'YYYYMMDD')
    求教:這個(gè)修改是為了什么呢?

    另,DAC和CF是按照BSC名稱限制的,我查看了取得的數(shù)據(jù)確實(shí)只是一個(gè)BSC的數(shù)據(jù)。

    對(duì)本帖內(nèi)容的看法? 我要點(diǎn)評(píng)

     
    [2分鐘擁有VIP權(quán)限和充足威望,可下載站內(nèi)任何資料] [快速找到一份高薪的通信行業(yè)職位]
    seair
    VIP會(huì)員
    鎵嬫満鍙風(fēng)爜宸查獙璇? style=


     發(fā)短消息    關(guān)注Ta 

    專家·初級(jí)勛章   紀(jì)念勛章·七周年   財(cái)富勛章·財(cái)運(yùn)連連   財(cái)富勛章·小財(cái)主   C友·登錄達(dá)人   紀(jì)念勛章·六周年   紀(jì)念勛章·九周年  
    積分 20967
    帖子 4089
    威望 2896500 個(gè)
    禮品券 99 個(gè)
    專家指數(shù) 279
    注冊(cè) 2009-1-10
    專業(yè)方向  GSM
    回答問(wèn)題數(shù) 0
    回答被采納數(shù) 0
    回答采納率 0%
     
    發(fā)表于 2011-10-10 15:49:12 
    時(shí)間限制那里看錯(cuò)了,不好意思
    1、你在DAC和CF中加入時(shí)間限制,使用了“rx.p”而前兩個(gè)查詢中不存在RX。這個(gè)表,應(yīng)該相應(yīng)修改為c.和D.
    2、由于你的BSC級(jí)OBJECTS沒(méi)有與P表關(guān)聯(lián),所以你的BSC限制沒(méi)有起作用類(lèi)似取出以下結(jié)果:
    國(guó)家 首都
    美國(guó) 巴黎
    美國(guó) 柏林
    美國(guó) 華盛頓

    你可以把你DAC和CF中的o_bts.name拿出來(lái)和RX對(duì)比一下就知道了。

    對(duì)本帖內(nèi)容的看法? 我要點(diǎn)評(píng)





     
    熱點(diǎn): 通信招聘職位 | 網(wǎng)絡(luò)優(yōu)化全集 | WCDMA精品 | TD-SCDMA學(xué)習(xí)資料 | EVDO | MGW媒體網(wǎng)關(guān)資料
    Markzhu
    鉆石會(huì)員
    鎵嬫満鍙風(fēng)爜宸查獙璇? style=


     發(fā)短消息    關(guān)注Ta 

    積分 13703
    帖子 2152
    威望 21662 個(gè)
    禮品券 8 個(gè)
    專家指數(shù) 30
    注冊(cè) 2007-10-4
    專業(yè)方向  網(wǎng)規(guī)網(wǎng)優(yōu)
    回答問(wèn)題數(shù) 0
    回答被采納數(shù) 0
    回答采納率 0%
     
    發(fā)表于 2011-10-26 08:33:43 
    都是高手呀,

    對(duì)本帖內(nèi)容的看法? 我要點(diǎn)評(píng)





    網(wǎng)優(yōu)路上,痛并快樂(lè)著!
     
    熱點(diǎn): 通信招聘職位 | 網(wǎng)絡(luò)優(yōu)化全集 | WCDMA精品 | TD-SCDMA學(xué)習(xí)資料 | EVDO | MGW媒體網(wǎng)關(guān)資料
    jojowolf
    論壇元老
    鎵嬫満鍙風(fēng)爜宸查獙璇? style=


     發(fā)短消息    關(guān)注Ta 

    公益·慈善勛章   財(cái)富勛章·鉆石王老五   紀(jì)念勛章·十周年  
    積分 15658
    帖子 455
    威望 2995 個(gè)
    禮品券 5 個(gè)
    專家指數(shù) 36
    注冊(cè) 2007-3-7
    專業(yè)方向  無(wú)線優(yōu)化
    回答問(wèn)題數(shù) 0
    回答被采納數(shù) 0
    回答采納率 0%
     
    發(fā)表于 2011-11-05 16:19:40 
    你的腳步是諾西翻頻用的,應(yīng)該是SDC那個(gè)PERL腳步,換一個(gè)腳步吧,簡(jiǎn)單點(diǎn)的

    對(duì)本帖內(nèi)容的看法? 我要點(diǎn)評(píng)





    論壇注冊(cè)
     
    [2分鐘擁有VIP權(quán)限和充足威望,可下載站內(nèi)任何資料] [快速找到一份高薪的通信行業(yè)職位]
    jjdsm0517
    入門(mén)會(huì)員
    鎵嬫満鍙風(fēng)爜宸查獙璇? style=


     發(fā)短消息    關(guān)注Ta 

    積分 25
    帖子 5
    威望 754 個(gè)
    禮品券 8 個(gè)
    專家指數(shù) 0
    注冊(cè) 2011-11-7
    專業(yè)方向  網(wǎng)優(yōu)
    回答問(wèn)題數(shù) 0
    回答被采納數(shù) 0
    回答采納率 0%
     
    發(fā)表于 2011-11-11 15:47:29 
    好,越多越好

    對(duì)本帖內(nèi)容的看法? 我要點(diǎn)評(píng)

     
    熱點(diǎn): 通信招聘職位 | 網(wǎng)絡(luò)優(yōu)化全集 | WCDMA精品 | TD-SCDMA學(xué)習(xí)資料 | EVDO | MGW媒體網(wǎng)關(guān)資料

    快速回復(fù)主題    
    標(biāo)題
    內(nèi)容
     上傳資料請(qǐng)點(diǎn)左側(cè)【添加附件】

    當(dāng)前時(shí)區(qū) GMT+8, 現(xiàn)在時(shí)間是 2025-01-10 19:58:57
    渝ICP備11001752號(hào)  Copyright @ 2006-2016 mscbsc.com  本站統(tǒng)一服務(wù)郵箱:mscbsc@163.com

    Processed in 0.637338 second(s), 36 queries , Gzip enabled
    TOP
    清除 Cookies - 聯(lián)系我們 - 移動(dòng)通信網(wǎng) - 移動(dòng)通信論壇 - 通信招聘網(wǎng) - Archiver