- 最后登录
- 2013-7-18
- 在线时间
- 2 小时
- 威望
- 0
- 金钱
- 11
- 注册时间
- 2013-6-20
- 阅读权限
- 10
- 帖子
- 2
- 精华
- 0
- 积分
- 0
- UID
- 1135
|
1#
发表于 2013-7-17 11:10:58
|
查看: 5464 |
回复: 4
goldengate EXCLUDEUSER 不能过滤
goldengate增加以下参数后,update可以过滤,delete不能过滤,请问怎么回事啊?
TRANLOGOPTIONS EXCLUDEUSER ogg
TRANLOGOPTIONS EXCLUDEUSER GHMES_CLEAN
具体参数如下
GGSCI (zhgdbp2) 272> view param extrzst
EXTRACT extrzst
SETENV (ORACLE_HOME = "/app/oracle/product/10.2.0/db")
SETENV (ORACLE_SID = "sgjtzgp")
SETENV (NLS_LANG = "SIMPLIFIED CHINESE_CHINA.AL32UTF8")
USERID gg PASSWORD gg
EXTTRAIL ./dirdat/ea
reportcount every 30 minutes rate
TRANLOGOPTIONS EXCLUDEUSER gg
TRANLOGOPTIONS EXCLUDEUSER ghmes_clean
--TABLE ghmes.mes_mat_material,FILTER (ON DELETE, @IF (@STREQ (@GETENV ("TRANSACTION", "USERNAME"), "GHMES_CLEAN"), 0, 1));
INCLUDE ./dirprm/EXTRZST.inc;
GGSCI (zhgdbp2) 273> view param dprzst
EXTRACT dprzst
SETENV (ORACLE_HOME = "/app/oracle/product/10.2.0/db")
SETENV (ORACLE_SID = "sgjtzgp")
SETENV (NLS_LANG = "SIMPLIFIED CHINESE_CHINA.AL32UTF8")
USERID gg PASSWORD gg
RMTHOST 10.88.249.35 MGRPORT 7839
RMTTRAIL ./dirdat/ra
PASSTHRU
INCLUDE ./dirprm/DPRZST.inc;
GGSCI (rzstandby) 177> view param reprzst
replicat reprzst
SETENV (ORACLE_HOME = "/app/oracle/product/10.2.0/db_1")
SETENV (ORACLE_SID = "sgjtzgp")
SETENV (NLS_LANG = "AMERICAN_AMERICA.AL32UTF8")
USERID ogg PASSWORD ogg
reportcount every 3 minutes rate
reperror (-1, discard)
reperror (-1403,discard)
reperror default abend
transactiontimeout 5 s
assumetargetdefs
discardfile ./dirrpt/reprzst.dsc append megabytes 5000
BATCHSQL
INCLUDE ./dirprm/REPRZST.inc;
|
|