标签:goldengate delay deferapplyinterval eofdelay
有时候生产库可能出现错误操作,那么我们使用Goldengate同步过来的数据也将是错误的,如果目标库不要求实时性,那么我们可以使用延迟参数使目标库延迟应用。这样我们就可以保护错误操作之前的数据
for Example:
GGSCI (zbdba2) 1> view param rep1 REPLICAT rep1 ASSUMETARGETDEFS USERID ogg, PASSWORD ogg discardfile ./dirdat/rep1_discard.txt,append,megabytes 5 DDL INCLUDE MAPPED DDLOPTIONS REPORT DBOPTIONS DEFERREFCONST DBOPTIONS LOBWRITESIZE 102400 DEFERAPPLYINTERVAL 2MIN HANDLECOLLISIONS DDLERROR DEFAULT DISCARD RETRYOP MAXRETRIES 5 RETRYDELAY 20 --grouptransops 1 --maxtransops 1 APPLYNOOPUPDATES MAP zbdba.*,TARGET zbdba.*;
How to add a DELAY in applying transactions in GoldenGate?
标签:goldengate delay deferapplyinterval eofdelay
原文地址:http://blog.csdn.net/zbdba/article/details/44077641