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.
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
本文档提供Oracle GoldenGate (OGG) 在Windows 7 64位系统的安装步骤,包括下载合适版本的OGG软件包、运行必要的SQL脚本以设置DDL触发器,以及解决常见错误如连接超时等问题。此外,还介绍了如何通过环境变量来管理不同环境下的数据库登录信息,并提供了检查复制延迟和统计信息的方法。
1296

被折叠的 条评论
为什么被折叠?



