edit params EXTSF
extract extsf
SETENV (NLS_LANG=AMERICAN_AMERICA.ZHS16GBK)
userid ogg, password ogg
discardfile ./dirrpt/extf.dsc, append, megabytes 5
fetchoptions nousesnapshot
--tranlogoptions convertucs2clobs
TRANLOGOPTIONS ASMUSER sys@ASM,ASMPASSWORD welcome1
gettruncates
exttrail ./dirdat/sf, megabytes 5
numfiles 4000
dynamicresolution
table hbetc.T_EXWASTE_OLD;
table hbetc.T_SELLDTL;
edit params DPSF
extract dpsf
SETENV (NLS_LANG=AMERICAN_AMERICA.ZHS16GBK)
rmthost 10.13.5.5, mgrport 7809
rmttrail ./dirdat/sf
passthru
dynamicresolution
table hbetc.T_EXWASTE_OLD;
table hbetc.T_SELLDTL;
GGSCI > ADD EXTRACT EXTSF, TRANLOG,BEGIN NOW THREADS 2
GGSCI > ADD EXTTRAIL ./dirdat/sf,EXTRACT EXTSF
GGSCI > start EXTRACT EXTSF --AIOBS6
GGSCI > ADD EXTRACT DPSF,EXTTRAILSOURCE ./dirdat/sf
GGSCI > ADD RMTTRAIL ./dirdat/sf,EXTRACT DPSF, megabytes 200
GGSCI > start DPSF
ADD EXTRACT EORASR, TRANLOG, BEGIN NOW, THREADS 1
delete EXTRACT EXTSC ,TRANLOG,BEGIN NOW THREADS 2
delete EXTRACT DPSC ,EXTTRAILSOURCE ./dirdat/sc THREADS 2
add replicat rolap01,exttrail ./dirdat/ta,CHECKPOINTTABLE system.chkpt
添加复制进程
add replicat REP_ETC3, exttrail ./dirdat/sf CHECKPOINTTABLE system.chkpt
GGSCI (hbdb1) 2> edit params REP_ETC3
replicat rep_etc3
SETENV (NLS_LANG=AMERICAN_AMERICA.ZHS16GBK)
userid ogg, password goldengate
discardfile ./dirrpt/rep_etc3.dsc,append, megabytes 1000
numfiles 4000
ALLOWNOOPUPDATES
assumetargetdefs
dynamicresolution
map hbetc.T_EXWASTE_OLD, target hbetc.T_EXWASTE_OLD;
map hbetc.T_SELLDTL, target hbetc.T_SELLDTL;
阅读(2810) | 评论(0) | 转发(0) |