OGG-00423错误
May172013
在部署OGG的时候目标端REPLICAT进程异常终止。
GGSCI (ycods1) 4> info all Program Status Group Lag Time Since Chkpt MANAGER RUNNING REPLICAT ABENDED TREPLVA 00:00:00 04:25:45
经过分析发现遇到OGG-00423错误。
MAP resolved (entry STDPM.T_SXM_WORKSC): MAP STDPM.T_SXM_WORKSC, TARGET ods_yyjc_buf.T_SXM_WORKSC, COLMAP (USEDEFAULTS,updatetime=@DATENOW()); 2013-04-27 11:40:59 ERROR OGG-00423 Could not find definition for STDPM.T_SXM_WORKSC. *********************************************************************** * ** Run Time Statistics ** * *********************************************************************** Reading ./dirdat/VA000000, current RBA 53382647, 1 records Report at 2013-04-27 11:40:59 (activity since 2013-04-27 11:40:59) From Table STDPM.T_SXM_SHIGRZ to ODS_YYJC_BUF.T_SXM_SHIGRZ: # inserts: 1 # updates: 0 # deletes: 0 # discards: 0 Last log location read: FILE: ./dirdat/VA000000 SEQNO: 0 RBA: 53382647 TIMESTAMP: 2013-04-27 07:14:54.446907 EOF: NO READERR: 0 2013-04-27 11:40:59 ERROR OGG-01668 PROCESS ABENDING.
这个问题是由于T_SXM_SHIGRZ表是新增加同步的表,源端生成的def文件中并不包含这张表的源数据,重新在源端生成def文件,拷贝到目标端,覆盖目标端的def文件。
[oracle@ycods1 dirdef]$ scp root@10.157.135.43:/data/source_sch.def . root@10.157.135.43's password: source_sch.def 100% 74KB 74.2KB/s 00:00
重新启动目标端REPLICAT进程,问题解决。
GGSCI (ycods1) 3> start treplva Sending START request to MANAGER ... REPLICAT TREPLVA starting GGSCI (ycods1) 4> info all Program Status Group Lag Time Since Chkpt MANAGER RUNNING REPLICAT RUNNING TREPLVA 00:00:00 00:00:04
本文固定链接: https://www.dbdream.com.cn/2013/05/ogg-00423%e9%94%99%e8%af%af/ | 信春哥,系统稳,闭眼上线不回滚!