说明:
1、上游有trail文件FTP过来,只需要部署目标端即可
2、项目中数据不同步 update 和 delete 只要 insert
3、要是有trail 文件损坏,直接跳到下一个
项目中实际配置:
-
GGSCI (slave3.netposa) 32> edit params mgr
-
-
port 7809
-
autorestart ER *,RETRIES 3,WAITMINUTES 5,RESETMINUTES 30
-
purgeoldextracts ./dirdat/*, , USECHECKPOINTS, minkeepdays 5
-
GGSCI (slave3.netposa) 34> edit params rep1te
-
-
REPLICAT rep1te
-
ignoredeletes
-
ignoreupdates
-
--sourcedefs ./dirdef/ext1te.def
-
--APPLYNOOPUPDATES
-
--HANDLECOLLISIONS
-
ASSUMETARGETDEFS
-
maxtransops 500000
-
SOURCEDB city,userid root
-
discardfile ./dirrpt/rep1te_discard.log,megabytes 10
-
MAP FROM_DB.TABLE1, TARGET city.table_a;
阅读(1022) | 评论(0) | 转发(0) |