标签:oracle goldengate
续接:《veridata实验举例(2)验证表BONUS与表SALGRADE两节点同步情况》,地址:点击打开链接
环境:
Item |
Source System |
Target System |
Platform |
Red Hat Enterprise Linux Server release 5.4 |
Red Hat Enterprise Linux Server release 5.4 |
Hostname |
gc1 |
gc2 |
Database |
Oracle 10.2.0.1 |
Oracle 11.2.0.1 |
Character Set |
ZHS16GBK |
ZHS16GBK |
ORACLE_SID |
PROD |
EMREP |
Listener Name/Port |
LISTENER/1521 |
LISTENER/1521 |
Goldengate User |
ogg |
ogg |
GGSCI(gc2) 2> stop RORA_1
Sending STOP request to REPLICAT RORA_1 ...
Request processed.
GGSCI(gc2) 3> info all
Program Status Group Lag Time Since Chkpt
MANAGER RUNNING
EXTRACT RUNNING EORA_1 00:00:00 00:00:06
EXTRACT RUNNING PORA_1 00:00:00 00:00:05
REPLICAT STOPPED RORA_1 00:00:00 00:00:06
SQL>insert into tcustmerVALUES(‘ZX‘,‘XING‘,‘SHIJIAZ‘,‘CN‘);
1 row created.
SQL>COMMIT;
Commit complete.
通过View By Compare Pair看出总体的变化图:
针对实验的job进行查看,如下图:
点击“View”可以查看到详细内容:
GGSCI(gc2) 6> start RORA_1
Sending START request to MANAGER ...
REPLICAT RORA_1 starting
GGSCI(gc2) 7> info all
Program Status Group Lag Time Since Chkpt
MANAGER RUNNING
EXTRACT RUNNING EORA_1 00:00:00 00:00:05
EXTRACT RUNNING PORA_1 00:00:00 00:00:03
REPLICAT RUNNING RORA_1 00:00:00 00:00:01
验证gc1、gc2已经同步,如下:
gc1:
SQL>select * from TCUSTMER;
CUST NAME CITY ST
---- -------------------------------------------------- --
HYL HUANGDBA BEIJING CN
ZX XING SHIJIAZ CN
WILL BG SOFTWARE CO. SEATTLE WA
JANE ROCKY FLYER INC. DENVER CO
ZC ZHANCHI DBA BEIJING CN
gc2:
CUST NAME CITY ST
---- ------------------------------ ----------------------
HYL HUANGDBA BEIJING CN
ZC ZHANCHI DBA BEIJING CN
ZX XING SHIJIAZ CN
WILL BG SOFTWARE CO. SEATTLE WA
JANE ROCKY FLYER INC. DENVER CO
再次使用veridata验证,已经同步。
********************未完待续**************************
声明:
原创作品,出自 “深蓝的blog” 博客,允许转载,转载时请务必注明出处(http://blog.csdn.net/huangyanlong)。
关于涉及版权事宜,作者有权追究法律责任。
veridata实验举例(3)验证veridata查找出insert操作导致的不同步现象,布布扣,bubuko.com
veridata实验举例(3)验证veridata查找出insert操作导致的不同步现象
标签:oracle goldengate
原文地址:http://blog.csdn.net/huangyanlong/article/details/34789421