码迷,mamicode.com
首页 > 其他好文 > 详细

IGNOREDELETES,IGNOREUPDATES

时间:2014-09-23 12:19:54      阅读:215      评论:0      收藏:0      [点我收藏+]

标签:ignoreupdates

有时候,我们在ogg目标端应用数据的时候不想应用更新或者删除操作,这时候我们就可以使用IGNOREDELETES, IGNOREUPDATES参数

GETDELETES | IGNOREDELETES
Valid for Extract and Replicat
Use the GETDELETES and IGNOREDELETES parameters to control whether or not Oracle
GoldenGate processes delete operations. These parameters are table-specific. One
parameter remains in effect for all subsequent TABLE or MAP statements, until the other
parameter is encountered.
Default GETDELETES
Syntax GETDELETES | IGNOREDELETES

 

GETUPDATES | IGNOREUPDATES
Valid for Extract and Replicat
Use the GETUPDATES and IGNOREUPDATES parameters to control whether or not Oracle
GoldenGate processes update operations. The parameters are table-specific. One
parameter remains in effect for all subsequent TABLE or MAP statements, until the other
parameter is encountered.
Default GETUPDATES
Syntax GETUPDATES | IGNOREUPDATES

 

例如:

 

REPLICAT zbdba
ASSUMETARGETDEFS
USERID ogg_zbdba,PASSWORD ogg_oracle
IGNOREDELETES
IGNOREUPDATES
MAP zbdba.test, TARGET zbdba.test;


IGNOREDELETES,IGNOREUPDATES

标签:ignoreupdates

原文地址:http://blog.csdn.net/zbdba/article/details/39493777

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!