ogg如何在ddl中配置忽略truncate?
extract ex7SETENV (ORACLE_HOME=/u01/app/oracle/product/11.2.0/db)
SETENV (ORACLE_SID=orcl)
SETENV (NLS_LANG=AMERICAN_AMERICA.ZHS16GBK)
dynamicresolution
userid ggs,password ggs
IGNORETRUNCATES
exttrail /u02/gg/dirdat/e7
TRANLOGOPTIONS ALTARCHIVEDLOGFORMAT THREADID 1 %t_%s_%r.dbf
TRANLOGOPTIONS ALTARCHIVELOGDEST INSTANCE orcl /archive
DISCARDFILE /u02/gg/dirrpt/e7.dsc, APPEND, MEGABYTES 1000
TRANLOGOPTIONS EXCLUDEUSER ggs
ddl include all &
exclude optype "truncate"
table user07.*;
datapump
extract dp7
userid ggs,password ggs
dynamicresolution
rmthost 192.168.220.22,mgrport 7809
rmttrail /u02/gg/dirdat/r7
table user07.*;
replicat rep7
SETENV (ORACLE_HOME=/u01/app/oracle/product/11.2.0/db)
SETENV (ORACLE_SID=test)
SETENV (NLS_LANG=AMERICAN_AMERICA.ZHS16GBK)
userid ggs,password ggs
ASSUMETARGETDEFS
discardfile /u02/gg/dirrpt/rep7.dsc,append,megabytes 50
IGNORETRUNCATES
dynamicresolution
ddl include mapped
MAP user07.*, TARGET user07.*;
我的ogg配置是这样的,我想配置ddl,然后在配置中忽略truncate ,可是怎么都忽略不了。不知道大家看看问题在哪里?
页:
[1]