- 最后登录
- 2015-3-25
- 在线时间
- 38 小时
- 威望
- 0
- 金钱
- 292
- 注册时间
- 2013-4-3
- 阅读权限
- 10
- 帖子
- 29
- 精华
- 0
- 积分
- 0
- UID
- 1006
|
10#
发表于 2013-5-9 09:23:08
Francis鹏鹏 发表于 2013-5-8 11:05
我需要你的参数文件信息,不仅仅是MGR里面的一条参数
源端
--view param mgr
PORT 7839
DYNAMICPORTLIST 7840-7914
--AUTOSTART ER *
--AUTORESTART EXTRACT *,RETRIES 5,WAITMINUTES 3
PURGEOLDEXTRACTS /ogg/localque/*,usecheckpoints, minkeepdays 7
PURGEOLDEXTRACTS /ogg/remoteque/*,usecheckpoints, minkeepdays 7
LAGREPORTHOURS 1
LAGINFOMINUTES 30
--view param EXT1
EXTRACT ext1
setenv (NLS_LANG=AMERICAN_AMERICA.ZHS16GBK)
USERID goldengate, PASSWORD ***, ENCRYPTKEY default
DISCARDFILE ./dirrpt/ext1.dsc , APPEND,MEGABYTES 1024
DBOPTIONS ALLOWUNUSEDCOLUMN
WARNLONGTRANS 2h,CHECKINTERVAL 3m
EXTTRAIL /ogg/localque/lt
TRANLOGOPTIONS CONVERTUCS2CLOBS
FETCHOPTIONS NOUSESNAPSHOT
GETTRUNCATES
--view param DPE1
EXTRACT dpe1
PASSTHRU
RMTHOST xx.xx.xx.xx, MGRPORT 7839, compress
RMTTRAIL /ogg/remoteque/rt
GETTRUNCATES
目标端
--view param mgr
PORT 7839
DYNAMICPORTLIST 7840-7914
--AUTOSTART ER *
--AUTORESTART EXTRACT *,RETRIES 5,WAITMINUTES 3
PURGEOLDEXTRACTS /ogg/localque/*,usecheckpoints, minkeepdays 7
PURGEOLDEXTRACTS /ogg/remoteque/*,usecheckpoints, minkeepdays 7
LAGREPORTHOURS 1
LAGINFOMINUTES 30
--view param REP1
REPLICAT rep1
setenv (NLS_LANG=AMERICAN_AMERICA.ZHS16GBK)
USERID goldengate, PASSWORD ***, ENCRYPTKEY default
SQLEXEC "ALTER SESSION SET CONSTRAINTS=DEFERRED"
REPORT AT 01:59
REPORTCOUNT EVERY 720 MINUTES, RATE
REPERROR DEFAULT, ABEND
assumetargetdefs
DISCARDFILE ./dirrpt/rep1.dsc, APPEND, MEGABYTES 1024
DISCARDROLLOVER AT 02:30
GETTRUNCATES
ALLOWNOOPUPDATES
|
|