- 最后登录
- 2013-5-13
- 在线时间
- 6 小时
- 威望
- 18
- 金钱
- 40
- 注册时间
- 2013-3-5
- 阅读权限
- 10
- 帖子
- 11
- 精华
- 0
- 积分
- 18
- UID
- 943
|
1#
发表于 2013-3-6 00:07:38
|
查看: 13511 |
回复: 12
本人在某省电力处理Goldengate问题
2013年03月4日晚21:43分,Extract进程abend,ggserr.log中发现相关信息如下
2013-03-04 21:43:07 INFO OGG-01738 Oracle GoldenGate Capture for Oracle, extsa.prm: BOUNDED RECOVERY: CHECKPOINT: for object pool 1: p15156_Redo Thread 1: start=SeqNo: 22960, RBA: 75026448, SCN: 2518.404229881 (10815131881209), Timestamp: 2013-03-04 17:54:06.000000, end=SeqNo: 22962, RBA: 276682752, SCN: 2518.405122896 (10815132774224), Timestamp: 2013-03-04 21:43:01.000000.
2013-03-04 21:43:07 INFO OGG-01738 Oracle GoldenGate Capture for Oracle, extsa.prm: BOUNDED RECOVERY: CHECKPOINT: for object pool 2: p15156_Redo Thread 2: start=SeqNo: 19996, RBA: 49753104, SCN: 2518.404227591 (10815131878919), Timestamp: 2013-03-04 17:53:46.000000, end=SeqNo: 19998, RBA: 261558272, SCN: 2518.405122859 (10815132774187), Timestamp: 2013-03-04 21:42:59.000000.
2013年03月05日早9点上班发现此问题,雾水,故start extract_name,大约半小时后,在ggserr.log发现Goldengate WARNING,如下
2013-03-05 09:02:25 INFO OGG-00987 Oracle GoldenGate Command Interpreter for Oracle: GGSCI command (oracle): start extsa.
2013-03-05 09:02:25 INFO OGG-00963 Oracle GoldenGate Manager for Oracle, mgr.prm: Command received from GGSCI on host 10.223.1.91 (START EXTRACT EXTSA ).
2013-03-05 09:02:25 INFO OGG-00975 Oracle GoldenGate Manager for Oracle, mgr.prm: EXTRACT EXTSA starting.
2013-03-05 09:02:26 INFO OGG-00992 Oracle GoldenGate Capture for Oracle, extsa.prm: EXTRACT EXTSA starting.
2013-03-05 09:11:06 INFO OGG-01021 Oracle GoldenGate Capture for Oracle, dpesa.prm: Command received from GGSCI: STATS daily totalsonly *.
2013-03-05 09:11:12 INFO OGG-01021 Oracle GoldenGate Capture for Oracle, dpesa.prm: Command received from GGSCI: GETLAG.
2013-03-05 09:16:06 INFO OGG-01021 Oracle GoldenGate Capture for Oracle, dpesa.prm: Command received from GGSCI: STATS daily totalsonly *.
2013-03-05 09:16:11 INFO OGG-01021 Oracle GoldenGate Capture for Oracle, dpesa.prm: Command received from GGSCI: GETLAG.
2013-03-05 09:21:07 INFO OGG-01021 Oracle GoldenGate Capture for Oracle, dpesa.prm: Command received from GGSCI: STATS daily totalsonly *.
2013-03-05 09:21:12 INFO OGG-01021 Oracle GoldenGate Capture for Oracle, dpesa.prm: Command received from GGSCI: GETLAG.
2013-03-05 09:26:06 INFO OGG-01021 Oracle GoldenGate Capture for Oracle, dpesa.prm: Command received from GGSCI: STATS daily totalsonly *.
2013-03-05 09:26:11 INFO OGG-01021 Oracle GoldenGate Capture for Oracle, dpesa.prm: Command received from GGSCI: GETLAG.
2013-03-05 09:31:06 INFO OGG-01021 Oracle GoldenGate Capture for Oracle, dpesa.prm: Command received from GGSCI: STATS daily totalsonly *.
2013-03-05 09:31:11 INFO OGG-01021 Oracle GoldenGate Capture for Oracle, dpesa.prm: Command received from GGSCI: GETLAG.
2013-03-05 09:31:28 WARNING OGG-01573 Oracle GoldenGate Capture for Oracle, extsa.prm: br_validate_bcp: failed in call to: ggcrc64valid.
2013-03-05 09:31:29 WARNING OGG-01573 Oracle GoldenGate Capture for Oracle, extsa.prm: br_validate_bcp: failed in call to: br_validate_bcp.
2013-03-05 09:32:33 INFO OGG-01639 Oracle GoldenGate Capture for Oracle, extsa.prm: BOUNDED RECOVERY: ACTIVE: for object pool 1: p15156_Redo Thread 1.
2013-03-05 09:32:33 INFO OGG-01640 Oracle GoldenGate Capture for Oracle, extsa.prm: BOUNDED RECOVERY: recovery start XID: 10.42.14909855.
2013-03-05 09:32:33 INFO OGG-01641 Oracle GoldenGate Capture for Oracle, extsa.prm: BOUNDED RECOVERY: recovery start position: SeqNo: 22954, RBA: 232610832, SCN: 2518.401588360 (10815129239688), Timestamp: 2013-03-04 13:53:58.000000.
2013-03-05 09:32:33 INFO OGG-01642 Oracle GoldenGate Capture for Oracle, extsa.prm: BOUNDED RECOVERY: recovery end position: SeqNo: 22960, RBA: 33750016, SCN: 2518.404155695 (10815131807023), Timestamp: 2013-03-04 17:42:57.000000.
2013-03-05 09:32:33 INFO OGG-01643 Oracle GoldenGate Capture for Oracle, extsa.prm: BOUNDED RECOVERY: CANCELED: for object pool 1: p15156_Redo Thread 1.
2013-03-05 09:32:33 INFO OGG-01639 Oracle GoldenGate Capture for Oracle, extsa.prm: BOUNDED RECOVERY: ACTIVE: for object pool 2: p15156_Redo Thread 2.
2013-03-05 09:32:33 INFO OGG-01640 Oracle GoldenGate Capture for Oracle, extsa.prm: BOUNDED RECOVERY: recovery start XID: 193.16.5141468.
2013-03-05 09:32:33 INFO OGG-01641 Oracle GoldenGate Capture for Oracle, extsa.prm: BOUNDED RECOVERY: recovery start position: SeqNo: 19989, RBA: 178910224, SCN: 2518.401593739 (10815129245067), Timestamp: 2013-03-04 13:54:34.000000.
2013-03-05 09:32:33 INFO OGG-01642 Oracle GoldenGate Capture for Oracle, extsa.prm: BOUNDED RECOVERY: recovery end position: SeqNo: 19996, RBA: 25753600, SCN: 2518.404155713 (10815131807041), Timestamp: 2013-03-04 17:42:57.000000.
2013-03-05 09:32:33 INFO OGG-01643 Oracle GoldenGate Capture for Oracle, extsa.prm: BOUNDED RECOVERY: CANCELED: for object pool 2: p15156_Redo Thread 2.
此时未做理睬,Extract进程依旧为RUNNING状态,3月5日中午11时,Extract进程abend,依旧雾水,依旧start extract_name,大约半小时后再次发现WARNING,如下
2013-03-05 11:31:34 WARNING OGG-01573 Oracle GoldenGate Capture for Oracle, extsa.prm: br_validate_bcp: failed in call to: ggcrc64valid.
2013-03-05 11:31:34 WARNING OGG-01573 Oracle GoldenGate Capture for Oracle, extsa.prm: br_validate_bcp: failed in call to: br_validate_bcp.
2013-03-05 11:32:28 INFO OGG-01639 Oracle GoldenGate Capture for Oracle, extsa.prm: BOUNDED RECOVERY: ACTIVE: for object pool 1: p15156_Redo Thread 1.
2013-03-05 11:32:28 INFO OGG-01640 Oracle GoldenGate Capture for Oracle, extsa.prm: BOUNDED RECOVERY: recovery start XID: 10.42.14909855.
2013-03-05 11:32:28 INFO OGG-01641 Oracle GoldenGate Capture for Oracle, extsa.prm: BOUNDED RECOVERY: recovery start position: SeqNo: 22954, RBA: 232610832, SCN: 2518.401588360 (10815129239688), Timestamp: 2013-03-04 13:53:58.000000.
2013-03-05 11:32:28 INFO OGG-01642 Oracle GoldenGate Capture for Oracle, extsa.prm: BOUNDED RECOVERY: recovery end position: SeqNo: 22960, RBA: 33750016, SCN: 2518.404155695 (10815131807023), Timestamp: 2013-03-04 17:42:57.000000.
2013-03-05 11:32:28 INFO OGG-01643 Oracle GoldenGate Capture for Oracle, extsa.prm: BOUNDED RECOVERY: CANCELED: for object pool 1: p15156_Redo Thread 1.
2013-03-05 11:32:28 INFO OGG-01639 Oracle GoldenGate Capture for Oracle, extsa.prm: BOUNDED RECOVERY: ACTIVE: for object pool 2: p15156_Redo Thread 2.
2013-03-05 11:32:28 INFO OGG-01640 Oracle GoldenGate Capture for Oracle, extsa.prm: BOUNDED RECOVERY: recovery start XID: 193.16.5141468.
2013-03-05 11:32:28 INFO OGG-01641 Oracle GoldenGate Capture for Oracle, extsa.prm: BOUNDED RECOVERY: recovery start position: SeqNo: 19989, RBA: 178910224, SCN: 2518.401593739 (10815129245067), Timestamp: 2013-03-04 13:54:34.000000.
2013-03-05 11:32:28 INFO OGG-01642 Oracle GoldenGate Capture for Oracle, extsa.prm: BOUNDED RECOVERY: recovery end position: SeqNo: 19996, RBA: 25753600, SCN: 2518.404155713 (10815131807041), Timestamp: 2013-03-04 17:42:57.000000.
2013-03-05 11:32:28 INFO OGG-01643 Oracle GoldenGate Capture for Oracle, extsa.prm: BOUNDED RECOVERY: CANCELED: for object pool 2: p15156_Redo Thread 2.
警觉后。通过metalink文档1293772.1和版主blog的文章OGG-01738 BOUNDED RECOVERY找到解决办法
但是,通过start extract_name brreset后,extract进程状态为RUNNING,并没有继续抽取,trail文件依旧停留在第一次Extract abend的时间点,2013年03月04日21时43分
相关信息收集如下
生产端
操作系统版本 HP-UX B.11.31 U ia64
数据库版本 10.2.0.4
系统架构 RAC
CPU数量 16
内存大小 130810MB
数据库容量 934606MB
归档模式 是
Goldengate版本 V11.1.1.0.30
Goldengate参数
view params dpesa
EXTRACT dpesa
PASSTHRU
RMTHOST xx.xx.xx.xx, MGRPORT 7839, compress
RMTTRAIL ./dirdat/sa
TABLE mw_sys.*;
TABLE mw_rtm.*;
TABLE mw_app.*;
view params extsa
EXTRACT extsa
SETENV (NLS_LANG="AMERICAN_AMERICA.ZHS16GBK")
USERID goldengate, PASSWORD AACAAAAAAAAAAAMACISIACJGEHDDTGUGRDFCQFQBVDUDACIA, ENCRYPTKEY default
TRANLOGOPTIONS ASMUSER sys@ASM, ASMPASSWORD AACAAAAAAAAAAALARBUGSJBIYFYEDGZDXCZIGIUBGBZFWDKJ, ENCRYPTKEY default
DDL &
INCLUDE MAPPED OBJTYPE 'table' &
INCLUDE MAPPED OBJTYPE 'index' &
EXCLUDE OPTYPE COMMENT
DDLOPTIONS NOCROSSRENAME REPORT
REPORTCOUNT EVERY 1 MINUTES, RATE
DISCARDFILE ./dirrpt/extsa.dsc,APPEND,MEGABYTES 1024
THREADOPTIONS MAXCOMMITPROPAGATIONDELAY 60000 IOLATENCY 60000
DBOPTIONS ALLOWUNUSEDCOLUMN
WARNLONGTRANS 2h,CHECKINTERVAL 3m
EXTTRAIL ./dirdat/sa
FETCHOPTIONS NOUSESNAPSHOT
TRANLOGOPTIONS CONVERTUCS2CLOBS
tableexclude MW_APP.MWT_UD_FD_FJSB_SPWYGCD;
tableexclude MW_SYS.MWT_OM_FSDATA;
TABLE MW_SYS.*;
TABLE MW_RTM.*;
TABLE MW_APP.*;
view params mgr
PORT 7839
DYNAMICPORTLIST 7840-7914
PURGEOLDEXTRACTS ./dirdat/*, usecheckpoints, minkeephours 4
AUTOSTART ER *
USERID goldengate, PASSWORD AACAAAAAAAAAAAMACISIACJGEHDDTGUGRDFCQFQBVDUDACIA, ENCRYPTKEY default
PURGEDDLHISTORY MINKEEPDAYS 7, MAXKEEPDAYS 10
PURGEMARKERHISTORY MINKEEPDAYS 7, MAXKEEPDAYS 10
LAGREPORTHOURS 1
LAGINFOMINUTES 30
LAGCRITICALMINUTES 45
另外,在mgr中添加了PURGEOLDEXTRACTS 参数,但是并未生效,trail文件无法自动清除
恳请高人指点迷津 |
|