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