How to add a DELAY in applying transactions in GoldenGate?
2015-03-05 08:53
1301 查看
有时候生产库可能出现错误操作,那么我们使用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.*;
Oracle GoldenGate - Version 10.4.0.0 and later |
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 “Maven Managed Dependencies” library in build path eclipse
- how to add a shared lib in C?
- How to modify non-customizable entity in MS Dynamics CRM 4.0 (Add Product price column to Price List Item view)
- How to add “Maven Managed Dependencies” library in build path eclipse?
- How to add Oracle JDBC driver in your Maven local repository
- How to automatically add hbm.xml in IDEA?
- how to add external library in qt under ubuntu
- How to write own add-in for SSMS 2012 (Final release version)
- How to Purge Apply Spilled Transactions in Streams Environment. (Doc ID 472440.1)
- How to add hyperlink in JLabel
- How to debug a Visual Studio .NET 2005 Add-In
- Qt, how to add radio button or checkbox in menu
- How to Add/Drop/Resize Redo Log with Physical Standby in place. [ID 473442.1]
- Howt to delay code execute when using dwr ajx in javascript
- How to add controls dynamically in asp.net
- How to add a option in right-key short-cut.
- R12: How to add Microsoft Excel as Type to the Create Template List of Values in BI Publisher (Doc ID 1343225.1)
- How to add swap space in Linux
- How To Add Day, Hour, Minute, Second to a Date Value in Oracle
- How to make our assemblies appeared in Add Reference dialog box