adg上配置OGG

环境介绍:
$ ./ggsci
Oracle GoldenGate Command Interpreter for Oracle
Version 12.2.0.1.1 OGGCORE_12.2.0.1.0_PLATFORMS_151211.1401_FBO
Linux, x64, 64bit (optimized), Oracle 11g on Dec 12 2015 00:54:38
Operating system character set identified as UTF-8.
Copyright (C) 1995, 2015, Oracle and/or its affiliates. All rights reserved.


oracle 11.2.0.4


配置如下:
GGSCI (test1 as userbh@testbh) 121> view params exta
EXTRACT exta
setenv (NLS_LANG=AMERICAN_AMERICA.ZHS16GBK)
setenv (ORACLE_SID=testbh)
--USERID userbh@testbh2, PASSWORD xxx
USERID userbh@testbh, PASSWORD xxx
DISCARDFILE ./dirrpt/exta.dsc,APPEND,MEGABYTES 1024
DBOPTIONS ALLOWUNUSEDCOLUMN
TRANLOGOPTIONS MINEFROMACTIVEDG
TRANLOGOPTIONS DBLOGREADER
WARNLONGTRANS 5h,CHECKINTERVAL 30m
EXTTRAIL ./dirdat/ea
FETCHOPTIONS NOUSESNAPSHOT
table test.test;
GGSCI (test1 as userbh@testbh) 122> 


dblogin USERID userbh@testbh, PASSWORD xxx
info trandata  test.test


ADD EXTRACT exta, TRANLOG,BEGIN now,threads 2
ADD EXTTRAIL ./dirdat/ea, EXTRACT exta, MEGABYTES 200
alter extract, exta begin now
   

你可能感兴趣的:(ogg)