How to handle ddl in GoldenGate environment without ddl replication?

简介:

Question:gg only config to replicate dml, when source has some ddl changes, how to handle in source and target? Answer: GoldenGate capture the dml changes only by default,if you have made any changes in DDL structure,then stop the extract and replicat process and make changes in DDL structure and restart the extract and replicat process,then only extract can be able to capture the changes done at DDL structure. It is advisible that stop extract,pump and replicat process make changes in the DDL and restart the extract,pump and replicat. The above suggested procedure will not make any impact in DDL replication. Also you can follow the below procedure 1. stop extract 2. stop data pump 3. there are lag in replicat, so replicat still running to reduce lag 4. do ddl in source, when replicat is running 5. stop replicat untill lag=0 6.do ddl in target 7.start extract and pump and replicat Question:After do ddl in source, whether need to do delete and re-add the trandata on the table which is been changed? Answer: yes,you are correct,After doing DDL changes,you need to do delete and re-add the trandata on the table which is being changed.



本文转自maclean_007 51CTO博客,原文链接:http://blog.51cto.com/maclean/1277660

相关文章
|
SQL HIVE
DataGrip连接Hive执行DDL操作报错:「FAILED: ParseException line 1:5 cannot recognize input near 'show' 'indexes' 'on' in ddl statement」
DataGrip连接Hive执行DDL操作报错:「FAILED: ParseException line 1:5 cannot recognize input near 'show' 'indexes' 'on' in ddl statement」
618 0
DataGrip连接Hive执行DDL操作报错:「FAILED: ParseException line 1:5 cannot recognize input near 'show' 'indexes' 'on' in ddl statement」
|
SQL Oracle 关系型数据库
xDB Replication Server - PostgreSQL, Oracle, SQL Server, PPAS 全量、增量(redo log based, or trigger based)同步(支持single-master, mult-master同步, 支持DDL)
xDB Replication Server - PostgreSQL, Oracle, SQL Server, PPAS 全量、增量(redo log based, or trigger based)同步(支持single-master, mult-master同步, 支持DDL)
981 0