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

相关文章
|
5月前
|
SQL 关系型数据库 MySQL
MySQL Online DDL(Data Definition Language)
MySQL Online DDL(Data Definition Language)
57 1
|
6月前
|
SQL
Auditing SQL Statements, Privileges, and Other General Activities
Auditing SQL Statements, Privileges, and Other General Activities
35 0
|
SQL 存储 自然语言处理
Database Inside 系列 ——SQL 是如何执行的
Database Inside 系列 ——SQL 是如何执行的
128 0
Database Inside 系列 ——SQL 是如何执行的
|
SQL 存储 算法
CockroachDB: The Resilient Geo-Distributed SQL Database
一直以来对CockroachDB(CRDB for short)的设计和实现很感兴趣,最近抽时间研究了下,发现其在技术上还是领先了同类NewSQL产品不少的,个人感觉应该是目前最为先进的类Spanner分布式数据库系统,因此这篇文章会尽可能详细的讨论下其系统的多个方面,重点是事务和一致性相关。 paper中针对的是v.19.2.2版本,不过官方文档中是基于最新的v.21.1.7,两者在描述上有一些冲突的地方,而官方文档中会更为详尽些,因此本文的很多介绍将尽量将paper与官方reference结合,并以reference为准。
531 0
CockroachDB: The Resilient Geo-Distributed SQL Database
下一篇
无影云桌面