ogg extract 参数配置

GGSCI>ADD EXTRACT cw_ext1, tranlog, begin now, threads 2

添加本地队列t1,cw_ext1进程捕捉到的有效数据将写入本地队列

GGSCI>ADD EXTTRAIL ./dirdat/t1, EXTRACT cw_ext1,megabytes 100

 为cw_ext1进程配置参数

GGSCI>editparam yx_ext1


EXTRACT cw_ext1

 

setenv(NLS_LANG="AMERICAN_AMERICA.ZHS16GBK")

userid goldengate,password hljorarz

GETTRUNCATES             /*抓取truncate table操作

REPORTCOUNT EVERY 1 MINUTES, RATE

numfiles 5000

DISCARDFILE./dirrpt/cw_ext1.dsc,APPEND,MEGABYTES 1000

DISCARDROLLOVER AT 3:00

 

DDL &

INCLUDE MAPPED &

--OPTYPE alter &

OBJTYPE 'TABLE '

DDLOPTIONS ADDTRANDATA

 

WARNLONGTRANS 2h,CHECKINTERVAL 3m

EXTTRAIL ./dirdat/t1,MEGABYTES 100

DYNAMICRESOLUTION

TRANLOGOPTIONS EXCLUDEUSER goldengate

TRANLOGOPTIONS  RAWDEVICEOFFSET  0

TRANLOGOPTIONS  CONVERTUCS2CLOBS

TRANLOGOPTIONS altarchivelogdestprimary instance vpdhlj1 /archive01, altarchivelogdest  instance vpdhlj2 /archive02

 

table BTMON.*          ;

table ER_DW.*          ;

table FMIS1100.*       ;

table FMIS1101.*       ;

table FMIS1102.*       ;








你可能感兴趣的:(oracle)