暂无图片
请教下各位:从mysql到oracle之间的ogg同步配置,是否支持DDL?
我来答
分享
tinge
2021-09-01
请教下各位:从mysql到oracle之间的ogg同步配置,是否支持DDL?

请教下各位:从mysql到oracle之间的ogg同步配置,是否支持DDL?

我来答
添加附件
收藏
分享
问题补充
1条回答
默认
最新
Lucifer三思而后行
暂无图片

下面摘自OGG 18.1官方文档,MySQL支持的对象以及操作,可以看到支持DDL,并不是所有DDL都支持,具体版本的同样可以参考相应版本官方文档。

https://docs.oracle.com/en/middleware/goldengate/core/18.1/hetergeneous-db/understanding-whats-supported-mysql.html#GUID-DA5CE4D3-8336-4EC8-8894-A86880D2066B
复制

原文:

Oracle GoldenGate for MySQL supports the following objects and operations:

Basic extraction and replication of DDL (data definition language) operations for MySQL 5.7.10 and later. Only the CREATE TABLE, ALTER TABLE, and DROP TABLE operations are supported.

Oracle GoldenGate supports the extraction and replication of transactional tables.

Oracle GoldenGate supports transactional tables up to the full row size and maximum number of columns that are supported by MySQL and the database storage engine that is being used. InnoDB supports up to 1017 columns.

Oracle GoldenGate supports the AUTO_INCREMENT column attribute. The increment value is captured from the binary log by Extract and applied to the target table in a Replicat insert operation.

Oracle GoldenGate supports the following DML operations on source and target database transactional tables:

Insert operation

Update operation (compressed included)

Delete operation (compressed included); cascade delete queries result in the deletion of the child of the parent operation

Truncate operation

Oracle GoldenGate can operate concurrently with MySQL native replication.

Oracle GoldenGate supports the DYNSQL feature for MySQL.
复制

译文:

Oracle GoldenGate for MySQL 支持以下对象和操作:

MySQL 5.7.10 及更高版本的 DDL(数据定义语言)操作的基本提取和复制。仅支持 CREATE TABLE、ALTER TABLE 和 DROP TABLE 操作。

Oracle GoldenGate 支持事务表的提取和复制。

Oracle GoldenGate 最多支持 MySQL 和正在使用的数据库存储引擎支持的完整行大小和最大列数的事务表。 InnoDB 最多支持 1017 列。

Oracle GoldenGate 支持 AUTO_INCREMENT 列属性。增量值由 Extract 从二进制日志中捕获,并在 Replicat 插入操作中应用于目标表。

Oracle GoldenGate 支持对源和目标数据库事务表进行以下 DML 操作:

插入操作

更新操作(压缩包)

删除操作(包括压缩);级联删除查询导致删除父操作的子操作

截断操作

Oracle GoldenGate 可以与 MySQL 本机复制同时运行。

Oracle GoldenGate 支持 MySQL 的 DYNSQL 特性。
复制
暂无图片 评论
暂无图片 有用 1
打赏 0
暂无图片
tinge
题主
2021-09-01
学到了
回答交流
Markdown


请输入正文
提交
相关推荐
在shell中操作sqlplus,如何实现每查询一条就将查询的字段与结果返回给shell变量?
回答 1
注意sqlplus段使用老板键了,赋变量的等号两侧不能有空格.$vitest2.sh!/bin/bashVALUEsqlplusS/nolog<<EOFsetheadingofffeedb
polardb-x的引擎用mysql5.7还是mysql8.0更好呢?
回答 1
需要国产化ARM的话就用8.0
初学Oracle,目的为开发Java相关的应用程序,有哪些好的建议,比如建议重点学哪些内容,建议哪些书比较适合?
回答 1
重点可以放在事务处理,锁,SQL优化,数据结构。恩墨出品了很多DBA手记的书。还有剑破冰山XXX
mysql中一个表有140W条数据,单表查询根据时间字段过滤查询,全表查询花了5.3S,根据时间索引花了12s?
回答 4
因为你是读整个表的数据,走索引当然更慢了
Oracle 19C 集群资源为啥显示offline?
回答 3
srvctlmodifyasmcountALL
exp/imp怎样清除高水位?
回答 5
看下我的实验数据再下结论吧:https://www.modb.pro/db/397933其实我之前也觉得数据泵能降低高水位,但事实胜于雄辩,有些情况下此方法并不能清除高水位,具体原因不是很明朗。
dbms_repair可以完整修复坏块吗,还是只能修复到一定状态?
回答 2
已采纳
DBMSREPAIR包并不能完全修复坏块,而是标记坏块,使得损坏的这部分数据不可访问。这意味着被标记为坏块的数据实际上并未被修复,而是被系统标记为不可用,以防止进一步的访问和错误。所以,DBMSREP
ORACLE索引底层 是用的什么?
回答 1
已采纳
IndexesareoptionalstructuresassociatedwithtablesandclustersthatallowSQLqueriestoexecutemorequicklyag
mariadb 5.5怎么限制用户连接数呢?怎么锁定用户呢?
回答 1
已采纳
mariadb5.5已经EOL了,建议使用mariadb10.7。总用户连接数通过参数maxconnections进行限制。锁定用户可使用alteruser..accountlock;
MYBINLOG 工具可以挖掘出 纯文本的SQL吗?
回答 1
已采纳
mysqlbinlog可以的,如果是行模式,要mysqlbinlognodefaultsmysqlbin.000001base64outputDECODEROWSv