Goldengate rep进程abended
本帖最后由 linfeng_oracle 于 2013-1-14 16:21 编辑Oracle版本:10205rac
Goldengate版本:11.1
部分表没有pk或唯一索引。
因为客户需求,需要停节点一实例,停止步骤:先停ogg再停节点一,过了一小时,启动节点一,启动ogg,发现复制端数据不一致。
源端:
GGSCI (p570a) 4> view param mgr
port 7809
DYNAMICPORTLIST 7840-7850
purgeoldextracts ./dirdat/*, usecheckpoints, minkeepdays 3
--userid goldengate, password goldengate
GGSCI (p570a) 3> view param EXTGZ
Extract extgz
USERID goldengate, PASSWORD AACAAAAAAAAAAALAPEOEEEHGSJSDOIQFABLGIGPDZDVJBJJB, ENCRYPTKEY default
tranlogoptions asmuser sys@asm1, asmpassword asm10g
warnlongtrans 12h, checkinterval 10m
BR BROFF
TRANLOGOPTIONS CONVERTUCS2CLOBS
THREADOPTIONS MAXCOMMITPROPAGATIONDELAY 3000 IOLATENCY 3000
exttrail ./dirdat/gz
table GZGJJ3.*;
table GZGJJ.*;
table APP.*;
table DEV01.*;
table DEV02.*;
table goldengate.*;
GGSCI (p570a) 5> view param DPEGZ
extract dpegz
passthru
REPORT AT 01:59
reportrollover at 02:00
discardfile ./dirrpt/dpedm.dsc,append, megabytes 100
rmthost 172.16.155.4, mgrport 7809, compress
rmttrail ./dirdat/gz
dynamicresolution
table GZGJJ3.*;
table GZGJJ.*;
table APP.*;
table DEV01.*;
table DEV02.*;
table goldengate.*;
目标端:
GGSCI (rx8640a) 4> view param REPGZ
replicat repgz
setenv (ORACLE_SID = "gzgjj1")
USERID goldengate, PASSWORD AACAAAAAAAAAAALAPEOEEEHGSJSDOIQFABLGIGPDZDVJBJJB, ENCRYPTKEY default
REPORT AT 01:59
reportrollover at 02:00
sqlexec "Alter session set constraints=deferred"
assumetargetdefs
allownoopupdates
reperror default,abend
discardfile ./dirrpt/repgz.dsc, append, megabytes 100M
SHOWSYNTAX
batchsql
grouptransops 2000
dynamicresolution
allownoopupdates
map GZGJJ.GD_WF_SQSPYJ, target GZGJJ.GD_WF_SQSPYJ, keycols (SQBH);
obey ./dirsql/map_target.txt
BR BROFF有关系吗? rep端的dirrpt 打包上传 2013-01-14 10:19:36 WARNING OGG-00869 Aborting BATCHSQL transaction. Detected inconsistent result: executed 1 operations in batch, resulting in 0 affected rows.
2013-01-14 10:19:36 WARNING OGG-01137 BATCHSQL suspended, continuing in normal mode.
2013-01-14 10:19:36 WARNING OGG-01003 Repositioning to rba 89158 in seqno 716.
2013-01-14 10:19:36 WARNING OGG-01004 Aborted grouped transaction on 'GZGJJ.GJJ_DWMX', Database error 1403 ().
2013-01-14 10:19:36 WARNING OGG-01003 Repositioning to rba 89158 in seqno 716.
2013-01-14 10:19:36 WARNING OGG-01154 SQL error 1403 mapping GZGJJ.GJJ_DWMX to GZGJJ.GJJ_DWMX.
2013-01-14 10:19:36 WARNING OGG-01003 Repositioning to rba 95607 in seqno 716.
Source Context :
SourceModule :
SourceID :
SourceFunction :
SourceLine :
2013-01-14 10:19:36 ERROR OGG-01296 Error mapping from GZGJJ.GJJ_DWMX to GZGJJ.GJJ_DWMX.1403 常见错误, 90%是存在数据不一致
http://t.askmaclean.com/forum.php?mod=viewthread&tid=712&highlight=ogg%2B1403
Maclean Liu(刘相兵 发表于 2013-1-14 16:32 static/image/common/back.gif
1403 常见错误, 90%是存在数据不一致
http://t.askmaclean.com/forum.php?mod=viewthread&tid=712&highli ...
BR BROFF
这参数设置有问题吗? 呵呵,这种数据不一致比较难查,建议你再初始化一次,确定目标机器不要有其他进程更新。
你可以参考ML网站上有个用rman作初始化的
跟BR BROFF没关系的 lory 发表于 2013-1-15 08:31 static/image/common/back.gif
呵呵,这种数据不一致比较难查,建议你再初始化一次,确定目标机器不要有其他进程更新。
你可以参考ML网站 ...
可以详细说下BR的作用吗?
看了官方文档不是很懂。 要重新初始化就有点麻烦了 重新初始化。gg不好用。 看什么情况,什么场合吧
页:
[1]