
资源由 www.eimhe.com 美河学习在线收集提供
oracle goldengate 双向同步配置
参考:https://www.cnblogs.com/lanston/p/ogg_configAndUse.html#_label1
http://blog.csdn.net/linucle/article/details/13505939
http://blog.csdn.net/lively1982/article/details/48493065
一. 数据库配合
在源端数据库中打开归档模式
SQL> archive log list
Database log mode Archive Mode
Automatic archival Enabled
Archive destination /u01/archive1
Oldest online log sequence 180
Next log sequence to archive 181
Current log sequence 181
若处于非归档模式,则改为归档模式:
SQL> shutdown immediate
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> startup mount;
ORACLE instance started.
SQL> alter database archivelog;
Database altered.
SQL> alter database open;
Database altered.
在源端数据库中打开 force logging
SQL> select force_logging from v$database;
FOR
---
NO
SQL> alter database force logging;
Database altered.
评论