How to handle ddl in GoldenGate environment without ddl replication?

本文介绍了当GoldenGate源端发生DDL变化时的处理方法。首先需停止抽取和复制进程,进行DDL结构调整后再重启,确保抽取能捕捉到DDL变化。此外,文章还详细说明了在源端执行DDL变更后,如何在目标端同步这些变更,包括删除并重新添加受DDL变更影响表的交易数据。
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.

转载于:https://www.cnblogs.com/macleanoracle/archive/2010/12/23/2967622.html

评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符  | 博主筛选后可见
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值