GoldenGate Tips

本文档提供Oracle GoldenGate (OGG) 在Windows 7 64位系统的安装步骤,包括下载合适版本的OGG软件包、运行必要的SQL脚本以设置DDL触发器,以及解决常见错误如连接超时等问题。此外,还介绍了如何通过环境变量来管理不同环境下的数据库登录信息,并提供了检查复制延迟和统计信息的方法。
1. Download OGG for Windows 7 64 bit
Login Oracle E-Delivery,
Select "Oracle Fusion Middleware" for proudct pack, "Microsoft Windows x64 (64bit)" for platform.
Select and download "Oracle GoldenGate Vxx.x.x.x.x for Oracle 11g 64bit on Windows XP, 2003, 2008(64bit)"
Zip file exaple: ggs_Windows_x64_ora11g_64bit.zip

2. Running marker_setup.sql.
First go to the directory where marker_setup.sql resides and run this SQL from there. Otherwise, you'll receive an error.

3. GGS_DDL_TRIGGER_BEFORE deos not exist error.

Make sure you run ddl_setup.sql before you run ddl_enable.sql.


4. GG使用环境变量

环境变量前加?。 Dev-->Test-->Prod时,数据库密码一般不一样,可以作为环境变量传入。

echo $DBLOGIN
UserId gg_admin@orcl, Password gg_admin

cat generic.mac
MACRO #dbconnect
BEGIN
?DBLOGIN
END;

cat dirprm/reptp.prm
...
#dbconnect ()
...

5. ERROR: opening port for MGR MGR (Connection timed out).

If you receive this error when starting an extract, check /etc/hosts in Linux, it probably contains erroneous entries.


6. info checkpointtable


7. stats xxx

Show statistics


8. Lag xxx

Show replication lag


评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值