這篇文章主要講解了“SharePlex刪除為什么不需要隊(duì)列”,文中的講解內(nèi)容簡單清晰,易于學(xué)習(xí)與理解,下面請大家跟著小編的思路慢慢深入,一起來研究和學(xué)習(xí)“SharePlex刪除為什么不需要隊(duì)列”吧!
SharePlex刪除不需要隊(duì)列
/* 9.x版本之后,可以在sp_ctrl控制臺(tái)使用delete命令刪除隊(duì)列。 /* 以下刪除適用于8.x與9.x版本 /* 一下以刪除post隊(duì)列為例,export與import隊(duì)列與此方法一致
1.export SP_SYS_VARDIR=正確的vardir路徑
2.sp_ctrl > shutdown //要?jiǎng)h除隊(duì)列必須停止鏈路先
3.確認(rèn)隊(duì)列文件
cd $SP_SYS_VARDIR/rim [root@splextar rim]# ls -ltr //確認(rèn)rim下面所有隊(duì)列文件,以便稍后刪除隊(duì)列之后確認(rèn)是否刪除文件。 total 188 -rw-rw-r-- 1 oracle oinstall 24 Sep 7 10:48 shstinfo.ipc -rw-rw-r-- 1 oracle oinstall 24 Sep 7 10:48 shmaddr.loc -rw-r--r-- 1 oracle oinstall 623 Sep 7 10:51 RS.c0a8cc6f.4 -rw-r--r-- 1 oracle oinstall 8388609 Sep 7 10:51 cdc01+P+o.source-c.target+0.0000000 -rw-r--r-- 1 oracle oinstall 8388609 Sep 7 10:51 te01+P+o.source-o.target+0.0000000 -rw-r--r-- 1 oracle oinstall 8388609 Sep 7 10:54 cdc01+P+o.source-c.target+8.0000000 -rw-r--r-- 1 oracle oinstall 8192 Sep 7 10:54 te01+P+o.source-o.target.sq -rw-r--r-- 1 oracle oinstall 8388609 Sep 7 10:54 te01+P+o.source-o.target+7.0000000 -rw-r--r-- 1 oracle oinstall 5128 Sep 7 10:54 te01+P+o.source-o.target.q -rw-r--r-- 1 oracle oinstall 8192 Sep 7 10:59 cdc01+P+o.source-c.target.sq -rw-r--r-- 1 oracle oinstall 5128 Sep 7 10:59 cdc01+P+o.source-c.target.q
4.刪除不需要的post隊(duì)列
[oracle@splextar 866splex]$ export SP_SYS_VARDIR=/SPLEX/VARDIR [oracle@splextar 866splex]$ sp_ctrl sp_ctrl > shutdown #刪除隊(duì)列需要先關(guān)閉鏈路 [oracle@splextar 866splex]$ qview -i qview> qsetup qview> list /* 可以看到我這里有兩個(gè)post隊(duì)列,隊(duì)列名稱分別為cdc01與te01,我要?jiǎng)h除cdc01隊(duì)列 The following queues exist: cdc01+P+o.source-c.target subqueues range from 0 to 8 WRITER +PI+11rac1+sp_mport+0xc0a8cc6f (192.168.204.111) READER +PP+cdc01+sp_opst_mt+o.source-c.target te01+P+o.source-o.target subqueues range from 0 to 7 WRITER +PI+11rac1+sp_mport+0xc0a8cc6f (192.168.204.111) READER +PP+te01+sp_opst_mt+o.source-o.target qview> deleteq cdc01+P+o.source-c.target qview> list /* 可以看到cdc隊(duì)列已經(jīng)刪除 The following queues exist: te01+P+o.source-o.target subqueues range from 0 to 7 WRITER +PI+11rac1+sp_mport+0xc0a8cc6f (192.168.204.111) READER +PP+te01+sp_opst_mt+o.source-o.target 重啟鏈路:restart cop
5.確認(rèn)操作系統(tǒng)相應(yīng)文件已經(jīng)刪除
cd $SP_SYS_VARDIR/rim [root@splextar rim]# ls -ltr total 100 -rw-r--r-- 1 oracle oinstall 623 Sep 7 10:51 RS.c0a8cc6f.4 -rw-r--r-- 1 oracle oinstall 8388609 Sep 7 10:51 te01+P+o.source-o.target+0.0000000 -rw-r--r-- 1 oracle oinstall 8192 Sep 7 10:54 te01+P+o.source-o.target.sq -rw-r--r-- 1 oracle oinstall 8388609 Sep 7 10:54 te01+P+o.source-o.target+7.0000000 -rw-r--r-- 1 oracle oinstall 5128 Sep 7 10:54 te01+P+o.source-o.target.q -rw-rw-r-- 1 oracle oinstall 24 Sep 7 11:06 shstinfo.ipc -rw-rw-r-- 1 oracle oinstall 24 Sep 7 11:06 shmaddr.loc
6.啟動(dòng)鏈路
sp_cop -uport &
7.確認(rèn)鏈路其他隊(duì)列復(fù)制正常
感謝各位的閱讀,以上就是“SharePlex刪除為什么不需要隊(duì)列”的內(nèi)容了,經(jīng)過本文的學(xué)習(xí)后,相信大家對SharePlex刪除為什么不需要隊(duì)列這一問題有了更深刻的體會(huì),具體使用情況還需要大家實(shí)踐驗(yàn)證。這里是創(chuàng)新互聯(lián),小編將為大家推送更多相關(guān)知識(shí)點(diǎn)的文章,歡迎關(guān)注!
當(dāng)前文章:SharePlex刪除為什么不需要隊(duì)列-創(chuàng)新互聯(lián)
文章路徑:http://chinadenli.net/article26/dgjojg.html
成都網(wǎng)站建設(shè)公司_創(chuàng)新互聯(lián),為您提供網(wǎng)站改版、品牌網(wǎng)站制作、App開發(fā)、用戶體驗(yàn)、商城網(wǎng)站、自適應(yīng)網(wǎng)站
聲明:本網(wǎng)站發(fā)布的內(nèi)容(圖片、視頻和文字)以用戶投稿、用戶轉(zhuǎn)載內(nèi)容為主,如果涉及侵權(quán)請盡快告知,我們將會(huì)在第一時(shí)間刪除。文章觀點(diǎn)不代表本網(wǎng)站立場,如需處理請聯(lián)系客服。電話:028-86922220;郵箱:631063699@qq.com。內(nèi)容未經(jīng)允許不得轉(zhuǎn)載,或轉(zhuǎn)載時(shí)需注明來源: 創(chuàng)新互聯(lián)
猜你還喜歡下面的內(nèi)容