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.*       ;








发布了8 篇原创文章 · 获赞 1 · 访问量 2万+
展开阅读全文

没有更多推荐了,返回首页

©️2019 CSDN 皮肤主题: 大白 设计师: CSDN官方博客

分享到微信朋友圈

×

扫一扫,手机浏览