Updated on 2025-07-22 GMT+08:00

Real-Time Synchronization

Real-time synchronization refers to the real-time flow of key service data from sources to destinations while consistency of data can be ensured. It is different from migration. Migration means moving your overall database from one platform to another. Synchronization refers to the continuous flow of data between different services.

Only whitelisted users can use this function. To use this function, submit a service ticket. In the upper right corner of the management console, choose Service Tickets > Create Service Ticket.

Supported Database Types

DRS supports real-time synchronization between databases of various types, and many-to-one synchronization.

Table 1 Database types

Synchronization Direction

Data Flow

Source DB

Destination DB

Destination DB Type

To the cloud

MySQL->MySQL

  • On-premises databases
  • ECS databases
  • Databases on other clouds
  • RDS for MySQL DB instances

RDS for MySQL DB instances

  • Single
  • Primary/Standby

To the cloud

MySQL->PostgreSQL

  • On-premises databases
  • ECS databases
  • Databases on other clouds
  • RDS for MySQL DB instances

RDS PostgreSQL DB instances

  • Single
  • Primary/Standby

To the cloud

MySQL -> GaussDB Distributed

  • On-premises databases
  • ECS databases
  • Databases on other clouds
  • RDS for MySQL DB instances

GaussDB Distributed instances

  • Cluster

To the cloud

MySQL -> GaussDB Centralized

  • On-premises databases
  • ECS databases
  • Databases on other clouds
  • RDS for MySQL DB instances

GaussDB Centralized

  • Centralized

To the cloud

MySQL->GaussDB(DWS)

  • On-premises databases
  • ECS databases
  • Databases on other clouds
  • RDS for MySQL DB instances

GaussDB(DWS) clusters

  • Cluster

To the cloud

MySQL->TaurusDB

  • On-premises databases
  • ECS databases
  • Databases on other clouds
  • RDS for MySQL DB instances

TaurusDB

  • Primary/Standby

To the cloud

PostgreSQL->PostgreSQL

  • On-premises databases
  • ECS databases
  • Databases on other clouds
  • RDS PostgreSQL DB instances

RDS PostgreSQL DB instances

  • Single
  • Primary/Standby

To the cloud

PostgreSQL->GaussDB(DWS)

  • On-premises databases
  • ECS databases
  • Databases on other clouds
  • RDS PostgreSQL DB instances

GaussDB(DWS) clusters

  • Cluster

To the cloud

PostgreSQL -> GaussDB Centralized

  • On-premises databases
  • ECS databases
  • Databases on other clouds
  • RDS PostgreSQL DB instances

GaussDB Centralized instances

  • Centralized

To the cloud

PostgreSQL -> GaussDB Distributed

  • On-premises databases
  • ECS databases
  • Databases on other clouds
  • RDS PostgreSQL DB instances

GaussDB Distributed

  • Cluster

To the cloud

Oracle->GaussDB(DWS)

  • On-premises databases
  • ECS databases

GaussDB(DWS) clusters

  • Cluster

To the cloud

Oracle->PostgreSQL

  • On-premises databases
  • ECS databases

RDS PostgreSQL DB instances

  • Single
  • Primary/Standby

To the cloud

Oracle->MySQL

  • On-premises databases
  • ECS databases

RDS for MySQL DB instances

  • Single
  • Primary/Standby

To the cloud

Oracle->TaurusDB

  • On-premises databases
  • ECS databases

TaurusDB

  • Primary/Standby

To the cloud

Oracle -> GaussDB Centralized

  • On-premises databases
  • ECS databases

GaussDB Centralized

Centralized

To the cloud

Oracle -> GaussDB Distributed

  • On-premises databases
  • ECS databases

GaussDB Distributed instances

Cluster

To the cloud

Oracle->DDM

  • On-premises databases
  • ECS databases

DDM

-

To the cloud

DDM->MySQL

DDM

RDS for MySQL DB instances

  • Single
  • Primary/Standby

To the cloud

DDM->GaussDB(DWS)

DDM

GaussDB(DWS) clusters

Cluster

To the cloud

DDM->DDM

DDM

DDM

Cluster

To the cloud

DB2 for LUW -> GaussDB Centralized

DB2 for LUW

GaussDB Centralized

Centralized

To the cloud

DB2 for LUW -> GaussDB Distributed

DB2 for LUW

GaussDB Distributed instances

Cluster

To the cloud

DB2 for LUW->GaussDB(DWS)

DB2 for LUW

GaussDB(DWS) cluster

Cluster

To the cloud

TiDB->TaurusDB

TiDB

TaurusDB

Primary/Standby

To the cloud

Microsoft SQL Server->GaussDB(DWS)

Microsoft SQL Server

GaussDB(DWS) cluster

Cluster

To the cloud

Microsoft SQL Server -> GaussDB Centralized

Microsoft SQL Server

GaussDB Centralized

Centralized

To the cloud

MongoDB->DDS

  • On-premises databases
  • ECS databases
  • Databases on other clouds
  • DDS instances

DDS instances

Replica set

To the cloud

MariaDB->MariaDB

  • On-premises databases
  • ECS databases
  • Databases on other clouds

RDS for MariaDB

  • Single
  • Primary/Standby

To the cloud

TaurusDB->TaurusDB

TaurusDB

TaurusDB

  • Primary/Standby

From the cloud

MySQL->MySQL

RDS for MySQL DB instances

  • On-premises databases
  • ECS databases
  • Databases on other clouds
  • RDS for MySQL DB instances

-

From the cloud

MySQL->Kafka

RDS for MySQL DB instances

  • Kafka
  • Cluster
  • Single node

From the cloud

MySQL->CSS/ES

RDS for MySQL DB instances

ElasticSearch

  • Cluster

From the cloud

MySQL->Oracle

RDS for MySQL DB instances

  • On-premises databases
  • ECS databases

-

From the cloud

DDM->MySQL

DDM

  • On-premises databases
  • ECS databases
  • Single
  • Primary/Standby

From the cloud

DDM->Oracle

DDM

  • On-premises databases
  • ECS databases

-

From the cloud

DDM->Kafka

DDM

Kafka

  • Cluster
  • Single node

From the cloud

DDS->MongoDB

DDS instances

  • On-premises databases
  • ECS databases
  • Databases on other clouds
  • Cluster
  • Replica set
  • Single node

From the cloud

DDS->Kafka

DDS instances

Kafka

  • Cluster
  • Single node

From the cloud

PostgreSQL->Kafka

RDS for PostgreSQL

Kafka

  • Cluster
  • Single node

From the cloud

GaussDB Centralized -> MySQL

GaussDB Centralized

  • On-premises databases
  • ECS databases
  • Databases on other clouds
  • RDS for MySQL instances

-

From the cloud

GaussDB Centralized -> Oracle

GaussDB Centralized

  • On-premises databases
  • ECS databases

-

From the cloud

GaussDB Centralized -> Kafka

GaussDB Centralized

Kafka

  • Cluster
  • Single node

From the cloud

GaussDB Centralized -> GaussDB(DWS)

GaussDB Centralized

GaussDB(DWS) cluster

Cluster

From the cloud

GaussDB Centralized -> GaussDB Distributed

GaussDB Centralized

GaussDB Distributed

Cluster

From the cloud

GaussDB Centralized -> GaussDB Centralized

GaussDB Centralized

GaussDB Centralized

Cluster

From the cloud

GaussDB Distributed -> MySQL

GaussDB Distributed instances

  • On-premises databases
  • ECS databases
  • Databases on other clouds
  • RDS for MySQL instances

-

From the cloud

GaussDB Distributed -> Oracle

GaussDB Distributed instances

  • On-premises databases
  • ECS databases

-

From the cloud

GaussDB Distributed -> GaussDB(DWS)

GaussDB Distributed instances

GaussDB(DWS) clusters

Cluster

From the cloud

GaussDB Distributed -> Kafka

GaussDB Distributed instances

Kafka

  • Cluster
  • Single node

From the cloud

GaussDB Distributed -> GaussDB Distributed

GaussDB Distributed instances

GaussDB Distributed instances

Cluster

From the cloud

GaussDB Distributed -> GaussDB Centralized

GaussDB Distributed instances

GaussDB Centralized

Cluster

From the cloud

TaurusDB->MySQL

TaurusDB

  • On-premises databases
  • ECS databases
  • Databases on other clouds
  • RDS for MySQL DB instances

-

From the cloud

TaurusDB->GaussDB(DWS)

TaurusDB

GaussDB(DWS) cluster

  • Cluster

From the cloud

TaurusDB->Kafka

TaurusDB

Kafka

  • Cluster
  • Single node

From the cloud

TaurusDB->CSS/ES

TaurusDB

ElasticSearch

  • Cluster

From the cloud

TaurusDB->Oracle

TaurusDB

  • On-premises databases
  • ECS databases

-

From the cloud

MariaDB->MariaDB

RDS for MariaDB

  • On-premises databases
  • ECS databases
  • Databases on other clouds

-

Self-built -> Self-built

Oracle->Kafka

  • On-premises databases
  • ECS databases

Kafka

  • Cluster
  • Single node

Self-built -> Self-built

Oracle -> GaussDB Centralized

  • On-premises databases
  • ECS databases

GaussDB Centralized

  • Centralized

Self-built -> Self-built

Oracle -> GaussDB Distributed

  • On-premises databases
  • ECS databases

GaussDB Distributed instances

  • Cluster

Self-built -> Self-built

MySQL->Kafka

  • On-premises databases
  • ECS databases
  • Kafka
  • Cluster
  • Single node

Self-built -> Self-built

MySQL->CSS/ES

  • On-premises databases
  • ECS databases

ElasticSearch

  • Cluster

Self-built -> Self-built

MySQL -> GaussDB Centralized

  • On-premises databases
  • ECS databases

GaussDB Centralized

  • Centralized

Self-built -> Self-built

MySQL -> GaussDB Distributed

  • On-premises databases
  • ECS databases

GaussDB Distributed instances

  • Cluster

Self-built -> Self-built

PostgreSQL->Kafka

  • On-premises databases
  • ECS databases

Kafka

  • Cluster
  • Single node

Self-built -> Self-built

GaussDB Centralized -> MySQL

GaussDB Centralized

  • On-premises databases
  • ECS databases
  • Databases on other clouds

-

Self-built -> Self-built

GaussDB Centralized -> Oracle

GaussDB Centralized

  • On-premises databases
  • ECS databases

-

Self-built -> Self-built

GaussDB Centralized -> Kafka

GaussDB Centralized

Kafka

  • Cluster
  • Single node

Self-built -> Self-built

GaussDB Centralized -> GaussDB Distributed

GaussDB Centralized

GaussDB Distributed

Cluster

Self-built -> Self-built

GaussDB Centralized -> GaussDB Centralized

GaussDB Centralized

GaussDB Centralized

Cluster

Self-built -> Self-built

GaussDB Distributed -> MySQL

GaussDB Distributed instances

  • On-premises databases
  • ECS databases
  • Databases on other clouds

-

Self-built -> Self-built

GaussDB Distributed -> Oracle

GaussDB Distributed instances

  • On-premises databases
  • ECS databases

-

Self-built -> Self-built

GaussDB Distributed -> Kafka

GaussDB Distributed instances

Kafka

  • Cluster
  • Single node

Self-built -> Self-built

GaussDB Distributed -> GaussDB Distributed

GaussDB Distributed instances

GaussDB Distributed instances

Cluster

Self-built -> Self-built

GaussDB Distributed -> GaussDB Centralized

GaussDB Distributed

GaussDB Centralized

Cluster

Self-built -> Self-built

DB2 for LUW -> GaussDB Centralized

DB2 for LUW

GaussDB Centralized

Centralized

Self-built -> Self-built

DB2 for LUW -> GaussDB Distributed

DB2 for LUW

GaussDB Distributed instances

Cluster

Synchronization Methods

DRS supports three synchronization modes: full synchronization, incremental synchronization, and full+incremental synchronization.

Full synchronization: All objects and data in non-system databases are synchronized to the destination database at a time. This mode is applicable to scenarios where service interruption is acceptable.

Incremental synchronization: Through log parsing, DRS replicates incremental data to keep sources and destinations in sync.

Full+Incremental synchronization: DRS allows you to synchronize data in real time. After a full synchronization initializes the destination database, an incremental synchronization parses logs to ensure data consistency between the source and destination databases.

Table 2 Synchronization methods

Synchronization Direction

Data Flow

Incremental

Full

Full+Incremental

One-way/Two-way Sync

To the cloud

MySQL->MySQL

Supported

Supported

Supported

One-way sync

To the cloud

MySQL->PostgreSQL

Not supported

Supported

Supported

One-way sync

To the cloud

MySQL -> GaussDB Distributed

Supported

Supported

Supported

One-way sync

To the cloud

MySQL -> GaussDB Centralized

Supported

Supported

Supported

One-way sync

To the cloud

MySQL->TaurusDB

Supported

Not supported

Supported

One-way sync

To the cloud

MySQL->GaussDB(DWS)

Supported

Supported

Supported

One-way sync

To the cloud

PostgreSQL->PostgreSQL

Supported

Supported

Supported

One-way sync

To the cloud

PostgreSQL->GaussDB(DWS)

Not supported

Not supported

Supported

One-way sync

To the cloud

PostgreSQL -> GaussDB Centralized

Not supported

Supported

Supported

One-way sync

To the cloud

PostgreSQL -> GaussDB Distributed

Not supported

Supported

Supported

One-way sync

To the cloud

DDM->MySQL

Supported

Supported

Supported

One-way sync

To the cloud

DDM->GaussDB(DWS)

Not supported

Not supported

Supported

One-way sync

To the cloud

DDM->DDM

Not supported

Not supported

Supported

One-way sync

To the cloud

Oracle->GaussDB(DWS)

Supported

Supported

Supported

One-way sync

To the cloud

Oracle->PostgreSQL

Not supported

Supported

Supported

One-way sync

To the cloud

Oracle->MySQL

Supported

Supported

Supported

One-way sync

To the cloud

Oracle->TaurusDB

Not supported

Supported

Supported

One-way sync

To the cloud

Oracle -> GaussDB Centralized

Supported

Supported

Supported

One-way sync

To the cloud

Oracle -> GaussDB Distributed

Supported

Supported

Supported

One-way sync

To the cloud

Oracle->DDM

Not supported

Supported

Supported

One-way sync

To the cloud

DB2 for LUW -> GaussDB Centralized

Not supported

Supported

Supported

One-way sync

To the cloud

DB2 for LUW -> GaussDB Distributed

Not supported

Supported

Supported

One-way sync

To the cloud

DB2 for LUW->GaussDB(DWS)

Not supported

Supported

Supported

One-way sync

To the cloud

TiDB->TaurusDB

Not supported

Not supported

Supported

One-way sync

To the cloud

Microsoft SQL Server->GaussDB(DWS)

Not supported

Not supported

Supported

One-way sync

To the cloud

Microsoft SQL Server -> GaussDB Centralized

Supported

Supported

Supported

One-way sync

To the cloud

MongoDB->DDS

Not supported

Not supported

Supported

  • Replica set -> Replica set

One-way sync

To the cloud

MariaDB->MariaDB

Not supported

Not supported

Supported

One-way sync

To the cloud

TaurusDB->TaurusDB

Supported

Not supported

Supported

One-way sync

From the cloud

MySQL->MySQL

Supported

Not supported

Supported

One-way sync

From the cloud

MySQL->Kafka

Supported

Not supported

Supported

One-way sync

From the cloud

MySQL->CSS/ES

Not supported

Not supported

Supported

One-way sync

From the cloud

MySQL->Oracle

Not supported

Not supported

Supported

One-way sync

From the cloud

DDM->MySQL

Supported

Supported

Supported

One-way sync

From the cloud

DDM->Oracle

Supported

Supported

Supported

One-way sync

From the cloud

DDM->Kafka

Supported

Not supported

Not supported

One-way sync

From the cloud

DDS->MongoDB

The following modes are supported:

Replica set -> Replica set

Cluster -> Cluster (the source cluster version must be 4.0 or later)

Not supported

Not supported

One-way sync

From the cloud

DDS->Kafka

Supported

Not supported

Not supported

One-way sync

From the cloud

PostgreSQL->Kafka

Supported

Not supported

Not supported

One-way sync

From the cloud

GaussDB Centralized -> MySQL

Supported

Supported

Supported

One-way sync

From the cloud

GaussDB Centralized -> Oracle

Supported

Supported

Not supported

One-way sync

From the cloud

GaussDB Centralized -> Kafka

Supported

Not supported

Not supported

One-way sync

From the cloud

GaussDB Centralized -> GaussDB(DWS)

Supported

Supported

Supported

One-way sync

From the cloud

GaussDB Centralized -> GaussDB Distributed

Supported

Supported

Supported

One-way sync

From the cloud

GaussDB Centralized -> GaussDB Centralized

Supported

Supported

Supported

One-way sync

From the cloud

GaussDB Distributed -> MySQL

Supported

Supported

Supported

One-way sync

From the cloud

GaussDB Distributed -> Oracle

Supported

Supported

Not supported

One-way sync

From the cloud

GaussDB Distributed -> GaussDB(DWS)

Supported

Supported

Supported

One-way sync

From the cloud

GaussDB Distributed -> Kafka

Supported

Not supported

Not supported

One-way sync

From the cloud

GaussDB Distributed -> GaussDB Distributed

Supported

Supported

Supported

One-way sync

From the cloud

GaussDB Distributed -> GaussDB Centralized

Supported

Supported

Supported

One-way sync

From the cloud

TaurusDB->MySQL

Supported

Not supported

Supported

One-way sync

From the cloud

TaurusDB->GaussDB(DWS)

Not supported

Not supported

Supported

One-way sync

From the cloud

TaurusDB->Kafka

Supported

Not supported

Supported

One-way sync

From the cloud

TaurusDB->CSS/ES

Not supported

Not supported

Supported

One-way sync

From the cloud

TaurusDB->Oracle

Not supported

Not supported

Supported

One-way sync

From the cloud

MariaDB->MariaDB

Not supported

Not supported

Supported

One-way sync

Self-built -> Self-built

Oracle->Kafka

Supported

Not supported

Not supported

One-way sync

Self-built -> Self-built

Oracle -> GaussDB Centralized

Supported

Supported

Supported

One-way sync

Self-built -> Self-built

Oracle -> GaussDB Distributed

Supported

Supported

Supported

One-way sync

Self-built -> Self-built

MySQL->Kafka

Supported

Not supported

Supported

One-way sync

Self-built -> Self-built

MySQL->CSS/ES

Not supported

Not supported

Supported

One-way sync

Self-built -> Self-built

MySQL -> GaussDB Centralized

Supported

Supported

Supported

One-way sync

Self-built -> Self-built

MySQL -> GaussDB Distributed

Supported

Supported

Supported

One-way sync

Self-built -> Self-built

PostgreSQL->Kafka

Supported

Not supported

Not supported

One-way sync

Self-built -> Self-built

GaussDB Centralized -> MySQL

Supported

Supported

Supported

One-way sync

Self-built -> Self-built

GaussDB Centralized -> Oracle

Supported

Supported

Supported

One-way sync

Self-built -> Self-built

GaussDB Centralized -> Kafka

Supported

Not supported

Not supported

One-way sync

Self-built -> Self-built

GaussDB Centralized -> GaussDB Distributed

Supported

Supported

Supported

One-way sync

Self-built -> Self-built

GaussDB Centralized -> GaussDB Centralized

Supported

Supported

Supported

One-way sync

Self-built -> Self-built

GaussDB Distributed -> MySQL

Supported

Supported

Supported

One-way sync

Self-built -> Self-built

GaussDB Distributed -> Oracle

Supported

Supported

Not supported

One-way sync

Self-built -> Self-built

GaussDB Distributed -> Kafka

Supported

Not supported

Not supported

One-way sync

Self-built -> Self-built

GaussDB Distributed -> GaussDB Distributed

Supported

Supported

Supported

One-way sync

Self-built -> Self-built

GaussDB Distributed -> GaussDB Centralized

Supported

Supported

Supported

One-way sync

Self-built -> Self-built

DB2 for LUW -> GaussDB Centralized

Not supported

Supported

Supported

One-way sync

Self-built -> Self-built

DB2 for LUW -> GaussDB Distributed

Not supported

Supported

Supported

One-way sync

Database Versions

Data cannot be synchronized from a newer version database to an older version database.

Table 3 Database versions

Synchronization Direction

Data Flow

Source Database Version

Destination DB Version

To the cloud

MySQL->MySQL

  • MySQL 5.5.x
  • MySQL 5.6.x
  • MySQL 5.7.x
  • MySQL 8.0.x
  • MySQL 5.6.x
  • MySQL 5.7.x
  • MySQL 8.0.x

To the cloud

MySQL->PostgreSQL

  • MySQL 5.6.x
  • MySQL 5.7.x
  • MySQL 8.0.x
  • PostgreSQL 9.5.x
  • PostgreSQL 9.6.x
  • PostgreSQL 10.x
  • PostgreSQL 11.x
  • PostgreSQL 12.x
  • PostgreSQL 13.x
  • PostgreSQL 14.x
  • PostgreSQL 15.x
  • PostgreSQL 16.x

To the cloud

MySQL -> GaussDB Distributed

  • MySQL 5.5.x
  • MySQL 5.6.x
  • MySQL 5.7.x
  • MySQL 8.0.x

GaussDB 1.0.0 or later

To the cloud

MySQL -> GaussDB Centralized

  • MySQL 5.5.x
  • MySQL 5.6.x
  • MySQL 5.7.x
  • MySQL 8.0.x

GaussDB 1.0.0 or later

To the cloud

MySQL->GaussDB(DWS)

  • MySQL 5.6.x
  • MySQL 5.7.x
  • MySQL 8.0.x

  • GaussDB(DWS) 8.1.3
  • GaussDB(DWS) 8.2.0

To the cloud

MySQL->TaurusDB

  • MySQL 5.5.x
  • MySQL 5.6.x
  • MySQL 5.7.x
  • MySQL 8.0.x

TaurusDB-MySQL 8.0

To the cloud

PostgreSQL->PostgreSQL

  • PostgreSQL 9.4.x
  • PostgreSQL 9.5.x
  • PostgreSQL 9.6.x
  • PostgreSQL 10.x
  • PostgreSQL 11.x
  • PostgreSQL 12.x
  • PostgreSQL 13.x
  • PostgreSQL 14.x
  • PostgreSQL 15.x
  • PostgreSQL 16.x
  • PostgreSQL 9.5.x
  • PostgreSQL 9.6.x
  • PostgreSQL 10.x
  • PostgreSQL 11.x
  • PostgreSQL 12.x
  • PostgreSQL 13.x
  • PostgreSQL 14.x
  • PostgreSQL 15.x
  • PostgreSQL 16.x

To the cloud

PostgreSQL->GaussDB(DWS)

  • PostgreSQL 9.4.x
  • PostgreSQL 9.5.x
  • PostgreSQL 9.6.x
  • PostgreSQL 10.x
  • PostgreSQL 11.x
  • PostgreSQL 12.x
  • PostgreSQL 13.x
  • PostgreSQL 14.x
  • PostgreSQL 15.x
  • PostgreSQL 16.x
  • GaussDB(DWS) 8.1.3
  • GaussDB(DWS) 8.2.0

To the cloud

PostgreSQL -> GaussDB Centralized

  • PostgreSQL 9.4.x
  • PostgreSQL 9.5.x
  • PostgreSQL 9.6.x
  • PostgreSQL 10.x
  • PostgreSQL 11.x
  • PostgreSQL 12.x
  • PostgreSQL 13.x
  • PostgreSQL 14.x
  • PostgreSQL 15.x
  • PostgreSQL 16.x

GaussDB 1.0.0 or later

To the cloud

PostgreSQL -> GaussDB Distributed

  • PostgreSQL 9.4.x
  • PostgreSQL 9.5.x
  • PostgreSQL 9.6.x
  • PostgreSQL 10.x
  • PostgreSQL 11.x
  • PostgreSQL 12.x
  • PostgreSQL 13.x
  • PostgreSQL 14.x
  • PostgreSQL 15.x
  • PostgreSQL 16.x

GaussDB 1.0.0 or later

To the cloud

DDM->MySQL

Based on the live network

  • MySQL 5.6.x
  • MySQL 5.7.x
  • MySQL 8.0.x

To the cloud

DDM->GaussDB(DWS)

Based on the live network

  • GaussDB(DWS) 8.1.3
  • GaussDB(DWS) 8.2.0

To the cloud

DDM->DDM

Based on the live network

Based on the live network

To the cloud

Oracle->GaussDB(DWS)

  • Oracle 10g
  • Oracle 11g
  • Oracle 12c
  • Oracle 18c
  • Oracle 19c
  • Oracle 21c
  • GaussDB(DWS) 8.1.3
  • GaussDB(DWS) 8.2.0

To the cloud

Oracle->PostgreSQL

  • Oracle 10g
  • Oracle 11g
  • Oracle 12c
  • Oracle 18c
  • Oracle 19c
  • Oracle 21c
  • PostgreSQL 9.5.x
  • PostgreSQL 9.6.x
  • PostgreSQL 10.x
  • PostgreSQL 11.x
  • PostgreSQL 12.x
  • PostgreSQL 13.x
  • PostgreSQL 14.x
  • PostgreSQL 15.x
  • PostgreSQL 16.x

To the cloud

Oracle-> MySQL

  • Oracle 10g
  • Oracle 11g
  • Oracle 12c
  • Oracle 18c
  • Oracle 19c
  • Oracle 21c
  • MySQL 5.6.x
  • MySQL 5.7.x
  • MySQL 8.0.x

To the cloud

Oracle->TaurusDB

  • Oracle 10g
  • Oracle 11g
  • Oracle 12c
  • Oracle 18c
  • Oracle 19c
  • Oracle 21c

TaurusDB-MySQL 8.0

To the cloud

Oracle -> GaussDB Centralized

  • Oracle 10g
  • Oracle 11g
  • Oracle 12c
  • Oracle 18c
  • Oracle 19c
  • Oracle 21c

GaussDB 1.0.0 or later

To the cloud

Oracle -> GaussDB Distributed

  • Oracle 10g
  • Oracle 11g
  • Oracle 12c
  • Oracle 18c
  • Oracle 19c

GaussDB 1.0.0 or later

To the cloud

Oracle->DDM

  • Oracle 10g
  • Oracle 11g
  • Oracle 12c
  • Oracle 18c
  • Oracle 19c
  • Oracle 21c

Based on the live network

To the cloud

DB2 for LUW -> GaussDB Centralized

  • DB2 for LUW 9.7
  • DB2 for LUW 10.1
  • DB2 for LUW 10.5
  • DB2 for LUW 11.1
  • DB2 for LUW 11.5

GaussDB 1.0.0 or later

To the cloud

DB2 for LUW -> GaussDB Distributed

  • DB2 for LUW 9.7
  • DB2 for LUW 10.1
  • DB2 for LUW 10.5
  • DB2 for LUW 11.1
  • DB2 for LUW 11.5

GaussDB 1.0.0 or later

To the cloud

DB2 for LUW->GaussDB(DWS)

  • DB2 for LUW 9.7
  • DB2 for LUW 10.1
  • DB2 for LUW 10.5
  • DB2 for LUW 11.1
  • DB2 for LUW 11.5
  • GaussDB(DWS) 8.1.3
  • GaussDB(DWS) 8.2.0

To the cloud

TiDB->TaurusDB

TiDB 4.0.0 and later (excluding the development version)

TaurusDB-MySQL 8.0

To the cloud

Microsoft SQL Server->GaussDB(DWS)

  • Microsoft SQL Server Enterprise Edition 2012, 2014, 2016, 2017 and 2019
  • Microsoft SQL Server Standard Edition 2016 SP2 or later, 2017, and 2019
  • GaussDB(DWS) 8.1.3
  • GaussDB(DWS) 8.2.0

To the cloud

Microsoft SQL Server -> GaussDB Centralized

  • Microsoft SQL Server Enterprise Edition 2012, 2014, 2016, 2017 and 2019
  • Microsoft SQL Server Standard Edition 2016 SP2 or later, 2017, and 2019

GaussDB 1.0.0 or later

To the cloud

MongoDB->DDS

  • MongoDB 3.2.x
  • MongoDB 3.4.x
  • MongoDB 3.6.x
  • MongoDB 4.0.x
  • MongoDB 4.2.x
  • MongoDB 4.4.x
  • DDS 3.2.x
  • DDS 3.4.x
  • DDS 4.0.x
  • DDS 4.2.x
  • DDS 4.4.x

To the cloud

MariaDB->MariaDB

  • MariaDB 10.3
  • MariaDB 10.4
  • MariaDB 10.5
  • MariaDB 10.3
  • MariaDB 10.4
  • MariaDB 10.5

To the cloud

TaurusDB->TaurusDB

TaurusDB-MySQL 8.0

TaurusDB-MySQL 8.0

From the cloud

MySQL->MySQL

  • MySQL 5.6.x
  • MySQL 5.7.x
  • MySQL 8.0.x
  • MySQL 5.6.x
  • MySQL 5.7.x
  • MySQL 8.0.x

From the cloud

MySQL->Kafka

  • MySQL 5.6.x
  • MySQL 5.7.x

Kafka 0.11 or later

From the cloud

MySQL->CSS/ES

  • MySQL 5.6.x
  • MySQL 5.7.x
  • MySQL 8.0.x
  • ElasticSearch 5.5
  • ElasticSearch 6.2
  • ElasticSearch 6.5
  • ElasticSearch 7.1
  • ElasticSearch 7.6
  • ElasticSearch 7.9
  • ElasticSearch 7.10

From the cloud

MySQL->Oracle

  • MySQL 5.6.x
  • MySQL 5.7.x
  • MySQL 8.0.x
  • Oracle 10g
  • Oracle 11g
  • Oracle 12c
  • Oracle 18c
  • Oracle 19c

From the cloud

DDM->MySQL

Based on the live network

  • MySQL 5.6.x
  • MySQL 5.7.x

From the cloud

DDM->Oracle

Based on the live network

  • Oracle 10g
  • Oracle 11g
  • Oracle 12c
  • Oracle 18c
  • Oracle 19c

From the cloud

DDM->Kafka

Based on the live network

Kafka 0.11 or later

From the cloud

DDS->MongoDB

  • DDS 3.2.x
  • DDS 3.4.x
  • DDS 4.0.x
  • DDS 4.2.x
  • DDS 4.3.x
  • MongoDB 3.2.x
  • MongoDB 3.4.x
  • MongoDB 3.6.x
  • MongoDB 4.0.x
  • MongoDB 4.2.x
  • MongoDB 4.4.x

From the cloud

DDS->Kafka

  • DDS 4.0.x
  • DDS 4.2.x
  • DDS 4.3.x

Kafka 0.11 or later

From the cloud

PostgreSQL->Kafka

  • PostgreSQL 9.4.x
  • PostgreSQL 9.5.x
  • PostgreSQL 9.6.x
  • PostgreSQL 10.x
  • PostgreSQL 11.x
  • PostgreSQL 12.x
  • PostgreSQL 13.x
  • PostgreSQL 14.x
  • PostgreSQL 15.x
  • PostgreSQL 16.x

Kafka 0.11 or later

From the cloud

GaussDB Centralized -> MySQL

GaussDB 1.3

  • MySQL 5.5.x
  • MySQL 5.6.x
  • MySQL 5.7.x

From the cloud

GaussDB Centralized -> Oracle

GaussDB 1.3

  • Oracle 10g
  • Oracle 11g
  • Oracle 12c
  • Oracle 18c
  • Oracle 19c

From the cloud

GaussDB Centralized -> Kafka

GaussDB 1.3

Kafka 0.11 or later

From the cloud

GaussDB Centralized -> GaussDB(DWS)

GaussDB 1.3

  • GaussDB(DWS) 8.1.3
  • GaussDB(DWS) 8.2.0

From the cloud

GaussDB Centralized -> GaussDB Distributed

GaussDB 1.3

GaussDB 1.3

From the cloud

GaussDB Centralized -> GaussDB Centralized

GaussDB 1.3

GaussDB 1.3

From the cloud

GaussDB Distributed -> MySQL

GaussDB 1.3

  • MySQL 5.5.x
  • MySQL 5.6.x
  • MySQL 5.7.x

From the cloud

GaussDB Distributed -> Oracle

GaussDB 1.3

  • Oracle 10g
  • Oracle 11g
  • Oracle 12c
  • Oracle 18c
  • Oracle 19c

From the cloud

GaussDB Distributed -> GaussDB(DWS)

GaussDB 1.3

  • GaussDB(DWS) 8.1.3
  • GaussDB(DWS) 8.2.0

From the cloud

GaussDB Distributed -> Kafka

GaussDB 1.3

Kafka 0.11 or later

From the cloud

GaussDB Distributed -> GaussDB Distributed

GaussDB 1.3

GaussDB 1.3

From the cloud

GaussDB Distributed -> GaussDB Centralized

GaussDB 1.3

GaussDB 1.3

From the cloud

TaurusDB->MySQL

TaurusDB-MySQL 8.0

MySQL 8.0

From the cloud

TaurusDB->GaussDB(DWS)

TaurusDB-MySQL 8.0

  • GaussDB(DWS) 8.1.3
  • GaussDB(DWS) 8.2.0

From the cloud

TaurusDB->Kafka

TaurusDB-MySQL 8.0

Kafka 0.11 or later

From the cloud

TaurusDB->CSS/ES

TaurusDB-MySQL 8.0

  • ElasticSearch 5.5
  • ElasticSearch 6.2.
  • ElasticSearch 6.5
  • ElasticSearch 7.1
  • ElasticSearch 7.6
  • ElasticSearch 7.9
  • ElasticSearch 7.10

From the cloud

TaurusDB->Oracle

TaurusDB-MySQL 8.0

  • Oracle 10g
  • Oracle 11g
  • Oracle 12c
  • Oracle 18c
  • Oracle 19c

From the cloud

MariaDB->MariaDB

  • MariaDB 10.3
  • MariaDB 10.4
  • MariaDB 10.5
  • MariaDB 10.3
  • MariaDB 10.4
  • MariaDB 10.5

Self-built -> Self-built

Oracle->Kafka

  • Oracle 10g
  • Oracle 11g
  • Oracle 12c
  • Oracle 18c
  • Oracle 19c
  • Oracle 21c

Kafka 0.11 or later

Self-built -> Self-built

Oracle -> GaussDB Centralized

  • Oracle 10g
  • Oracle 11g
  • Oracle 12c
  • Oracle 18c
  • Oracle 19c
  • Oracle 21c

GaussDB 1.0.0 or later

Self-built -> Self-built

Oracle -> GaussDB Distributed

  • Oracle 10g
  • Oracle 11g
  • Oracle 12c
  • Oracle 18c
  • Oracle 19c
  • Oracle 21c

GaussDB 1.0.0 or later

Self-built -> Self-built

MySQL->Kafka

  • MySQL 5.5.x
  • MySQL 5.6.x
  • MySQL 5.7.x
  • MySQL 8.0.x

Kafka 0.11 or later

Self-built -> Self-built

MySQL->CSS/ES

  • MySQL 5.5.x
  • MySQL 5.6.x
  • MySQL 5.7.x
  • MySQL 8.0.x
  • ElasticSearch 5.5
  • ElasticSearch 6.2.
  • ElasticSearch 6.5
  • ElasticSearch 7.1
  • ElasticSearch 7.6
  • ElasticSearch 7.9
  • ElasticSearch 7.10

Self-built -> Self-built

MySQL -> GaussDB Centralized

  • MySQL 5.5.x
  • MySQL 5.6.x
  • MySQL 5.7.x
  • MySQL 8.0.x

GaussDB 1.0.0 or later

Self-built -> Self-built

MySQL -> GaussDB Distributed

  • MySQL 5.5.x
  • MySQL 5.6.x
  • MySQL 5.7.x
  • MySQL 8.0.x

GaussDB 1.0.0 or later

Self-built -> Self-built

PostgreSQL->Kafka

  • PostgreSQL 9.4.x
  • PostgreSQL 9.5.x
  • PostgreSQL 9.6.x
  • PostgreSQL 10.x
  • PostgreSQL 11.x
  • PostgreSQL 12.x
  • PostgreSQL 13.x
  • PostgreSQL 14.x
  • PostgreSQL 15.x
  • PostgreSQL 16.x

Kafka 0.11 or later

Self-built -> Self-built

GaussDB Centralized -> MySQL

GaussDB 1.3

  • MySQL 5.5.x
  • MySQL 5.6.x
  • MySQL 5.7.x

Self-built -> Self-built

GaussDB Centralized -> Oracle

GaussDB 1.3

  • Oracle 10g
  • Oracle 11g
  • Oracle 12c
  • Oracle 18C
  • Oracle 19C

Self-built -> Self-built

GaussDB Centralized -> Kafka

GaussDB 1.3

Kafka 0.11 or later

Self-built -> Self-built

GaussDB Centralized -> GaussDB Distributed

GaussDB 1.3

GaussDB 1.3

Self-built -> Self-built

GaussDB Centralized -> GaussDB Centralized

GaussDB 1.3

GaussDB 1.3

Self-built -> Self-built

GaussDB Distributed -> MySQL

GaussDB 1.3

  • MySQL 5.5.x
  • MySQL 5.6.x
  • MySQL 5.7.x

Self-built -> Self-built

GaussDB Distributed -> Oracle

GaussDB 1.3

  • Oracle 10g
  • Oracle 11g
  • Oracle 12c
  • Oracle 18c
  • Oracle 19c

Self-built -> Self-built

GaussDB Distributed -> Kafka

GaussDB 1.3

Kafka 0.11 or later

Self-built -> Self-built

GaussDB Distributed -> GaussDB Distributed

GaussDB 1.3

GaussDB 1.3

Self-built -> Self-built

GaussDB Distributed -> GaussDB Centralized

GaussDB 1.3

GaussDB 1.3

Self-built -> Self-built

DB2 for LUW -> GaussDB Centralized

  • DB2 for LUW 9.7
  • DB2 for LUW 10.1
  • DB2 for LUW 10.5
  • DB2 for LUW 11.1
  • DB2 for LUW 11.5

GaussDB 1.0.0 or later

Self-built -> Self-built

DB2 for LUW -> GaussDB Distributed

  • DB2 for LUW 9.7
  • DB2 for LUW 10.1
  • DB2 for LUW 10.5
  • DB2 for LUW 11.1
  • DB2 for LUW 11.5

GaussDB 1.0.0 or later

Network Types

DRS supports real-time synchronization through a Virtual Private Cloud (VPC), Virtual Private Network (VPN), Direct Connect, or public network. Table 4 lists the application scenarios of each network type and required preparations.

Table 4 Network types

Network Type

Application Scenario

Preparations

VPC

Synchronization between cloud databases in the same region

  • The source and destination databases must be in the same region.
  • The source and destination databases can be in either the same VPC or in different VPCs.
  • If source and destination databases are in the same VPC, they can communicate with each other by default. Therefore, you do not need to configure a security group.
  • If the source and destination databases are not in the same VPC, the CIDR blocks of the source and destination databases cannot be duplicated or overlapped, and the source and destination databases are connected through a VPC peering connection.
  • DRS does not support communication between the source database and destination database over a VPC across tenants. If necessary, you can create a VPC peering connection and select VPN for Network Type to enable communication between the source and destination databases.

    For details about how to create a VPC peering connection, see Virtual Private Cloud User Guide.

VPN

Synchronization from on-premises databases to cloud databases or between cloud databases across regions

Establish a VPN connection between your local data center and the VPC that hosts the destination database. Before synchronization, ensure that the VPN network is accessible.

For more information about VPN, see Getting Started with Virtual Private Network.

Direct Connect

Synchronization from on-premises databases to cloud databases or between cloud databases across regions

Use a dedicated network connection to connect your data center to VPCs.

For more information about Direct Connect, see Getting Started with Direct Connect.

Public network

Synchronization from on-premises or external cloud databases to the destination databases.

To ensure network connectivity between the source and destination databases, perform the following operations:

  1. Enable public accessibility.

    Enable public accessibility for the source database based on your service requirements.

  2. Configure security group rules.
    • Add the EIPs of the synchronization instance to the whitelist of the source database for inbound traffic.
    • If destination databases and the synchronization instance are in the same VPC, they can communicate with each other by default. Therefore, you do not need to configure a security group.
    NOTE:
    • The IP address on the Configure Source and Destination Databases page is the EIP of the synchronization instance.
    • If SSL is not enabled, synchronizing confidential data is not recommended.
Table 5 Supported network types

Synchronization Direction

Data Flow

VPC

Public Network

VPN or Direct Connect

To the cloud

MySQL->MySQL

Supported

Supported

Supported

To the cloud

MySQL->PostgreSQL

Supported

Supported

Supported

To the cloud

MySQL -> GaussDB Distributed

Supported

Supported

Supported

To the cloud

MySQL -> GaussDB Centralized

Supported

Supported

Supported

To the cloud

MySQL->TaurusDB

Supported

Supported

Supported

To the cloud

MySQL->GaussDB(DWS)

Supported

Supported

Supported

To the cloud

PostgreSQL->PostgreSQL

Supported

Supported

Supported

To the cloud

PostgreSQL->GaussDB(DWS)

Supported

Supported

Supported

To the cloud

PostgreSQL -> GaussDB Centralized

Supported

Supported

Supported

To the cloud

PostgreSQL -> GaussDB Distributed

Supported

Supported

Supported

To the cloud

DDM->MySQL

Supported

Supported

Supported

To the cloud

DDM->GaussDB(DWS)

Supported

Supported

Supported

To the cloud

DDM->DDM

Supported

Supported

Supported

To the cloud

Oracle->MySQL

Supported

Supported

Supported

To the cloud

Oracle->TaurusDB

Supported

Supported

Supported

To the cloud

Oracle -> GaussDB Centralized

Supported

Supported

Supported

To the cloud

Oracle -> GaussDB Distributed

Supported

Supported

Supported

To the cloud

Oracle->DDM

Supported

Supported

Supported

To the cloud

Oracle->GaussDB(DWS)

Supported

Supported

Supported

To the cloud

Oracle->PostgreSQL

Supported

Supported

Supported

To the cloud

DB2 for LUW -> GaussDB Centralized

Supported

Supported

Supported

To the cloud

DB2 for LUW -> GaussDB Distributed

Supported

Supported

Supported

To the cloud

DB2 for LUW->GaussDB(DWS)

Supported

Supported

Supported

To the cloud

TiDB->TaurusDB

Not supported

Supported

Supported

To the cloud

Microsoft SQL Server->GaussDB(DWS)

Supported

Supported

Supported

To the cloud

Microsoft SQL Server -> GaussDB Centralized

Supported

Supported

Supported

To the cloud

MongoDB->DDS

Supported

Supported

Supported

To the cloud

MariaDB->MariaDB

Supported

Supported

Supported

To the cloud

TaurusDB->TaurusDB

Supported

Supported

Supported

From the cloud

MySQL->MySQL

Supported

Supported

Supported

From the cloud

MySQL->Kafka

Supported

Supported

Supported

From the cloud

MySQL->CSS/ES

Supported

Supported

Supported

From the cloud

MySQL->Oracle

Supported

Supported

Supported

From the cloud

DDM->MySQL

Supported

Supported

Supported

From the cloud

DDM->Oracle

Supported

Supported

Supported

From the cloud

DDM->Kafka

Supported

Supported

Supported

From the cloud

DDS->MongoDB

Supported

Supported

Supported

From the cloud

DDS->Kafka

Supported

Supported

Supported

From the cloud

PostgreSQL->Kafka

Not supported

Supported

Supported

From the cloud

GaussDB Centralized -> MySQL

Not supported

Supported

Supported

From the cloud

GaussDB Centralized -> Oracle

Not supported

Supported

Supported

From the cloud

GaussDB Centralized -> Kafka

Supported

Supported

Supported

From the cloud

GaussDB Centralized -> GaussDB(DWS)

Not supported

Supported

Supported

From the cloud

GaussDB Centralized -> GaussDB Distributed

Supported

Supported

Supported

From the cloud

GaussDB Centralized -> GaussDB Centralized

Supported

Supported

Supported

From the cloud

GaussDB Distributed -> MySQL

Not supported

Supported

Supported

From the cloud

GaussDB Distributed -> Oracle

Not supported

Supported

Supported

From the cloud

GaussDB Distributed -> GaussDB(DWS)

Not supported

Supported

Supported

From the cloud

GaussDB Distributed -> Kafka

Supported

Supported

Supported

From the cloud

GaussDB Distributed -> GaussDB Distributed

Supported

Supported

Supported

From the cloud

GaussDB Distributed -> GaussDB Centralized

Supported

Supported

Supported

From the cloud

TaurusDB->MySQL

Supported

Supported

Supported

From the cloud

TaurusDB->GaussDB(DWS)

Supported

Supported

Supported

From the cloud

TaurusDB->Kafka

Supported

Supported

Supported

From the cloud

TaurusDB->CSS/ES

Supported

Supported

Supported

From the cloud

TaurusDB->Oracle

Supported

Supported

Supported

From the cloud

MariaDB->MariaDB

Supported

Supported

Supported

Self-built -> Self-built

Oracle->Kafka

Supported

Supported

Supported

Self-built -> Self-built

Oracle -> GaussDB Centralized

Not supported

Supported

Supported

Self-built -> Self-built

Oracle -> GaussDB Distributed

Supported

Supported

Supported

Self-built -> Self-built

MySQL->Kafka

Supported

Supported

Supported

Self-built -> Self-built

MySQL->CSS/ES

Supported

Supported

Supported

Self-built -> Self-built

MySQL -> GaussDB Centralized

Not supported

Supported

Supported

Self-built -> Self-built

MySQL -> GaussDB Distributed

Not supported

Supported

Supported

Self-built -> Self-built

PostgreSQL->Kafka

Not supported

Supported

Supported

Self-built -> Self-built

GaussDB Centralized -> MySQL

Not supported

Supported

Supported

Self-built -> Self-built

GaussDB Centralized -> Oracle

Not supported

Supported

Supported

Self-built -> Self-built

GaussDB Centralized -> Kafka

Supported

Supported

Supported

Self-built -> Self-built

GaussDB Centralized -> GaussDB Distributed

Supported

Supported

Supported

Self-built -> Self-built

GaussDB Centralized -> GaussDB Centralized

Supported

Supported

Supported

Self-built -> Self-built

GaussDB Distributed -> MySQL

Not supported

Supported

Supported

Self-built -> Self-built

GaussDB Distributed -> Oracle

Not supported

Supported

Supported

Self-built -> Self-built

GaussDB Distributed -> Kafka

Supported

Supported

Supported

Self-built -> Self-built

GaussDB Distributed -> GaussDB Distributed

Supported

Supported

Supported

Self-built -> Self-built

GaussDB Distributed -> GaussDB Centralized

Supported

Supported

Supported

Self-built -> Self-built

DB2 for LUW -> GaussDB Centralized

Not supported

Supported

Supported

Self-built -> Self-built

DB2 for LUW -> GaussDB Distributed

Not supported

Supported

Supported

Supported Synchronization Objects

DRS allows you to synchronize different objects. The following table lists the supported objects.

Advanced Features

DRS supports multiple features to ensure successful data synchronization.

Table 6 Advanced features

Feature

Description

Synchronization level

DRS supports database- and table-level synchronization.

  • Database-level synchronization refers to a type of synchronization method using database as a unit. You do not need to select tables to be synchronized. New tables in the database are automatically added to the synchronization task.
  • Table-level synchronization uses table as a unit, indicating that you need to add new tables to the synchronization task manually.

Mapping object names

Allows the names of synchronization objects (including databases, schemas, tables, and columns) in the source database to be different from those in the destination database. If the synchronization objects in source and destination databases have different names, you can map the source object name to the destination one.

The following objects can be mapped: databases, schemas and tables.

Dynamically adding or deleting synchronization objects

During data synchronization, you can add or delete synchronization objects as required.

Conflict policy

DRS uses primary key or unique key conflict policies to ensure that tables with primary key or unique constraints in the source database can be synchronized to the destination database as expected.

The following conflict policies are supported:

  • Ignore

    The system will skip the conflicting data and continue the subsequent synchronization process.

  • Overwrite

    Conflicting data will be overwritten.

  • Report error

    The synchronization task will be stopped and fail.

Ignore and overwrite: Synchronization stability is prioritized, so tasks will not be interrupted as data conflicts occur.

Report error: Data quality is prioritized. Any data conflicts are not allowed, so once a conflict occurs, the synchronization task fails and an error is reported. You need to manually find the cause of the fault. If the task is in the failed state for a long time, the storage space may be used up and the task cannot be restored.

Structure synchronization

DRS does not provide data structure synchronization as an independent function during real-time synchronization. Instead, it directly synchronizes data and structures to the destination database.