GoldenGate Extract程式hang問題解決一例
一直執行正常的extract程式突然hang住了,起初懷疑是不是找不到歸檔所致,但是細細的檢查了下,extract所需的歸檔都還在,而且日誌中也沒報任何錯。而且將extract程式停掉後,也能正常起來,沒有任何錯誤或者告警:
從日誌中看,extract程式沒有問題,但是extract程式實際上是執行不正常的:
extract程式的lag越來越大,而且trail檔案也不再增長。這情況真是讓人一頭霧水。我們先來看看當前系統的執行環境:
然後搜尋Oracle Support,找到一篇文章1432994.1,和碰到的情形有點相像。在我們的環境中也是使用了DBLOGREADER,但是不同的是DBLOGREADERBUFSIZE已經配置成1M:
這也是AIX下能配置的最大值。難道該值還是太大的緣故?所以就嘗試將該值改成了512K:
然後重啟extract程式,結果就正常了。估計使用DBLOGREADER還是有不少的bug。
- // ggserr.log
- 2015-05-25 11:03:27 INFO OGG-01513 Oracle GoldenGate Capture for Oracle, elis.prm: Positioning to (Thread 1) Sequence 5824, RBA 290544656, SCN 1415.2504802626.
- 2015-05-25 11:03:27 INFO OGG-01516 Oracle GoldenGate Capture for Oracle, elis.prm: Positioned to (Thread 1) Sequence 5824, RBA 290544656, SCN 1415.2504802626, May 20, 2015 4:50:25 PM.
- 2015-05-25 11:03:27 INFO OGG-01513 Oracle GoldenGate Capture for Oracle, elis.prm: Positioning to (Thread 2) Sequence 4798, RBA 18781712, SCN 1415.2504799356.
- 2015-05-25 11:03:27 INFO OGG-01516 Oracle GoldenGate Capture for Oracle, elis.prm: Positioned to (Thread 2) Sequence 4798, RBA 18781712, SCN 1415.2504799356, May 20, 2015 4:50:19 PM.
- 2015-05-25 11:03:27 INFO OGG-00993 Oracle GoldenGate Capture for Oracle, elis.prm: EXTRACT ELIS started.
- //extract程式的rpt檔案
- 2015-05-25 11:03:27 INFO OGG-00546 Default thread stack size: 196608.
- 2015-05-25 11:03:27 INFO OGG-00547 Increasing thread stack size from 196608 to 1048576.
- 2015-05-25 11:03:27 INFO OGG-01513 Positioning to (Thread 1) Sequence 5824, RBA 290544656, SCN 1415.2504802626.
- 2015-05-25 11:03:27 INFO OGG-01516 Positioned to (Thread 1) Sequence 5824, RBA 290544656, SCN 1415.2504802626, May 20, 2015 4:50:25 PM.
- 2015-05-25 11:03:27 INFO OGG-01513 Positioning to (Thread 2) Sequence 4798, RBA 18781712, SCN 1415.2504799356.
- 2015-05-25 11:03:27 INFO OGG-01516 Positioned to (Thread 2) Sequence 4798, RBA 18781712, SCN 1415.2504799356, May 20, 2015 4:50:19 PM.
- 2015-05-25 11:03:27 INFO OGG-01517 Position of first record processed for Thread 1, Sequence 5824, RBA 290544656, SCN 1415.2504802623, May 20, 2015 4:50:25 PM.
- 2015-05-25 11:03:27 INFO OGG-01644 BOUNDED RECOVERY: COMPLETE: for object pool 1: p33619994_Redo Thread 1 at SeqNo: 5824, RBA: 290545168, SCN: 1415.2504802626 (6079883526466), Thread: 1.
- 2015-05-25 11:03:27 INFO OGG-01055 Recovery initialization completed for target file /ogg/ggate/data/dirext/lis/ea002534, at RBA 1109.
- 2015-05-25 11:03:27 INFO OGG-01478 Output file /ogg/ggate/data/dirext/lis/ea is using format RELEASE 11.2.
- 2015-05-25 11:03:27 INFO OGG-01517 Position of first record processed for Thread 2, Sequence 4798, RBA 18781712, SCN 1415.2504799356, May 20, 2015 4:50:19 PM.
- 2015-05-25 11:03:27 INFO OGG-01026 Rolling over remote file /ogg/ggate/data/dirext/lis/ea002534.
- 2015-05-25 11:03:27 INFO OGG-01053 Recovery completed for target file /ogg/ggate/data/dirext/lis/ea002535, at RBA 1109.
- 2015-05-25 11:03:27 INFO OGG-01057 Recovery completed for all targets.
- GGSCI (hxddlis01) 8> info all
- Program Status Group Lag at Chkpt Time Since Chkpt
- MANAGER RUNNING
- JAGENT RUNNING
- EXTRACT RUNNING ELIS 96:14:58 00:00:04
- EXTRACT RUNNING PL2IS 00:00:00 00:00:00
- EXTRACT RUNNING PLIS 00:00:00 00:00:09
- GoldenGate:11.2.1.0.27
- Database: 11.2.0.3 兩節點的RAC,使用ASM
- OS: AIX 6.1
- ...
- TRANLOGOPTIONS BUFSIZE 1048576
- TRANLOGOPTIONS DBLOGREADER, DBLOGREADERBUFSIZE 1048576
- --TRANLOGOPTIONS _NOREADAHEAD ANY
- EXTTRAIL /ogg/ggate/data/dirext/lis/ea
- ...
- ...
- TRANLOGOPTIONS BUFSIZE 1048576
- TRANLOGOPTIONS DBLOGREADER, DBLOGREADERBUFSIZE 524288
- --TRANLOGOPTIONS _NOREADAHEAD ANY
- EXTTRAIL /ogg/ggate/data/dirext/lis/ea
- ...
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/13885898/viewspace-1670715/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- WAS startnode hang問題解決
- sqlplus hang 解決方法一例SQL
- goldengate的extract程式調優Go
- EXP Or EXPDP時hang住問題,MOS解決方案
- DRM引起的問題解決一例
- 解決Restarting死程式QMN0問題一例REST
- Oracle DRM引起的問題解決一例Oracle
- MySQL主從複製問題解決一例MySql
- 表格不能垂直居中問題解決一例 (轉)
- oracle dbca報Exception in thread main 問題解決一例OracleExceptionthreadAI
- 解決HIS叢集系統的效能問題一例
- goldengate 複製程式 Database error 100 (retrieving bind info query)問題解決GoDatabaseError
- 利用sys schema解決一次詭異的語句hang問題
- MongoDB報錯"not authorized on root to execute command"問題解決一例MongoDBZed
- oracle system 表空間32G問題解決一例Oracle
- 解決「問題」,不要解決問題
- strace解決sqlplus登陸緩慢的問題一例SQL
- ASM無法自動載入磁碟組問題解決一例ASM
- 排查 “Detected Tx Unit Hang”問題
- 併發執行hang問題
- 解決了一例Shutdown時碰到Ora-600錯誤的問題
- 關於Oracle GoldenGate中Extract的checkpoint的理解OracleGo
- 微信小程式支付全問題解決微信小程式
- nginx 直播程式數問題(待解決)Nginx
- SQLserver 程式被死鎖問題解決SQLServer
- 有關ocssd程式的問題解決:CSS
- 徹底解決程式亂碼問題
- ts程式碼提示很慢問題解決
- 解決問題
- TNS-01189: 監聽程式無法驗證使用者 問題解決一例
- 如何解決Oracle GoldenGate 沒有主鍵的問題?OracleGo
- MongDB 啟動警告 ”WARNING: soft rlimits too low.“問題解決一例MIT
- oracle監聽啟動時報TNS-00507問題解決一例Oracle
- goldengate故障處理一例Go
- 發現問題,解決問題
- JAVA程式設計題-用java解決兔子問題Java程式設計
- yum問題解決
- sqlitedabaseislocked問題解決SQLite