1. Phần Mềm Cài Đặt: 2.1. Install Oracle Goldengate For Oracle
1. Phần Mềm Cài Đặt: 2.1. Install Oracle Goldengate For Oracle
1. Phần Mềm Cài Đặt: 2.1. Install Oracle Goldengate For Oracle
PORT 7809
LAGREPORTMINUTES 60
LAGCRITICALMINUTES 20
MANAGER RUNNING
SQL> alter database add SUPPLEMENTAL LOG DATA (primary key) columns;
SQL> alter database add SUPPLEMENTAL LOG DATA (Foreign key) columns;
SQL> alter database add SUPPLEMENTAL LOG DATA (unique index) columns;
SQL> select
NAME,SUPPLEMENTAL_LOG_DATA_MIN,SUPPLEMENTAL_LOG_DATA_PK,SUPPLEMENTAL
_LOG_DATA_UI,SUPPLEMENTAL_LOG_DATA_FK,SUPPLEMENTAL_LOG_DATA_ALL from
v$database;
TESTDB NOARCHIVELOG NO
db_recovery_file_dest string
EXTRACT ex1
DBOPTIONS ALLOWUNUSEDCOLUMN
EXTTRAIL ./dirdat/ea
TABLE TESTUSER.TEST_TABLE;
MANAGER RUNNING
3. Cấu hình GoldenGate for Kafka
3.1. Install Oracle GoldenGate for bigdata
[oracle@oracle-sonct2 ~]$ cd /u01/soft
export JAVA_HOME=/u01/app/ogg/jdk/jdk1.8.0_271
export PATH=$JAVA_HOME/bin:$PATH
export
LD_LIBRARY_PATH=$JAVA_HOME/jre/lib/amd64:$JAVA_HOME/jre/lib/amd64/server:
$LD_LIBRARY_PATH
export KAFKA_HOME=/u01/app/ogg/kafka_2.13-2.7.0
export PATH=$KAFKA_HOME/bin:$JAVA_HOME/bin:$PATH
3.5. Cấu hình manager
GGSCI (oracle-sonct2) 2> edit param mgr
PORT 7810
LAGREPORTMINUTES 60
LAGCRITICALMINUTES 20
Manager started.
MANAGER RUNNING
kafka.props.txt
28 Dec 2020, 05:59 PM
REPLICAT RX1
GROUPTRANSOPS 10000