GoldenGate, Streams and Distributed Database (MOSC)

MOSC Banner

Replicate the Truncate command coming from MYSQL 5.5.62.

We are migrating from Mysql to oracle using Goldengate

I have configured a replication between MYSQL and ORACLE using Goldengate.

Environment

---MYSQL

OS: CentOS Linux 7

SGBD : MYSQL 5.5.62

---ORACLE

OS: Oracle Solaris 11.4 SPARC

SGBD: ORACLE 19C


I need a solution to replicate the Truncate command coming from mysql.

According to Oracle documentation found

• DDL replication is supported for MySQL 5.7.10.

LINK:

https://docs.oracle.com/en/middleware/goldengate/core/19.1/gghdb/using-ddl-replication.html#GUID-FDBF3ED9-BFC3-4FA4-883D-C350E6DF5443

Questions

Is there an already updated solution or plugin that I can replicate the truncate command?

It is possible to deal with this problem in the replication script (REPLICATE) by changing TRUNCATE to DELETE when found?

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center