Updated on 2024-03-28 GMT+08:00

Synchronization Overview

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.

You can use real-time synchronization in many scenarios such as real-time analysis, report system, and data warehouse environment.

Real-time synchronization is mainly used for synchronizing tables and data. It can meet various requirements, such as many-to-one, one-to-many synchronization, dynamic addition and deletion of tables, and synchronization between tables with different names.

Figure 1 Many-to-one real-time synchronization process

Supported Database Types

The following table lists the source database and destination database types supported by DRS in real-time synchronization.

Table 1 Synchronization scheme

Source DB

Destination DB Type

Synchronization Mode

Related Documents

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

RDS for MySQL

Incremental

Full

Full+Incremental

From MySQL to MySQL (To the cloud)

GaussDB(for MySQL)

Incremental

Full+Incremental

From MySQL to GaussDB(for MySQL)

RDS for PostgreSQL

Full

Full+Incremental

From MySQL to PostgreSQL

GaussDB distributed

Incremental

Full

Full+Incremental

From MySQL to GaussDB Distributed (To the cloud)

From MySQL to GaussDB Distributed (self-built - self-built)

GaussDB primary/standby

Incremental

Full

Full+Incremental

From MySQL to GaussDB Primary/Standby (To the cloud)

From MySQL to GaussDB Primary/Standby (self-built - self-built)

GaussDB(DWS)

Incremental

Full

Full+Incremental

From MySQL to GaussDB(DWS)

RDS for MariaDB

NOTE:

Only whitelisted users can use this function.

Incremental

Full

Full+Incremental

From MySQL to MariaDB (To the cloud)

RDS for MySQL

  • On-premises MySQL databases
  • MySQL databases on an ECS
  • MySQL databases on other clouds

Incremental

Full+Incremental

From MySQL to MySQL (Out of the cloud)

Kafka

Incremental

Full+Incremental

From MySQL to Kafka (Out of the cloud)

CSS/ES

Full+Incremental

From MySQL to CSS/ES (Out of the cloud)

  • On-premises Oracle databases
  • Oracle databases on an ECS

Full+Incremental

From MySQL to Oracle

  • On-premises MariaDB databases
  • MariaDB databases on an ECS
  • MariaDB databases on other clouds
    NOTE:

    Only whitelisted users can use this function.

Incremental

Full

Full+Incremental

From MySQL to MariaDB (Out of the cloud)

  • On-premises MySQL databases
  • MySQL databases on an ECS

Kafka

Incremental

Full+Incremental

From MySQL to Kafka (self-built - self-built)

CSS/ES

Full+Incremental

From MySQL to CSS/ES (self-built - self-built)

  • On-premises PostgreSQL databases
  • PostgreSQL databases on an ECS
  • PostgreSQL databases on other clouds
  • RDS for PostgreSQL

RDS for PostgreSQL

Incremental

Full

Full+Incremental

From PostgreSQL to PostgreSQL

GaussDB(DWS)

Full+Incremental

From PostgreSQL to GaussDB(DWS)

GaussDB primary/standby

Incremental

Full

Full+Incremental

NOTE:

Only whitelisted users can perform the incremental data synchronization.

From PostgreSQL to GaussDB Primary/Standby

GaussDB distributed

Incremental

Full

Full+Incremental

NOTE:

Only whitelisted users can perform the incremental data synchronization.

From PostgreSQL to GaussDB Distributed

  • On-premises PostgreSQL databases
  • PostgreSQL databases on an ECS

Kafka

Incremental

From PostgreSQL to Kafka (self-built - self-built)

RDS for PostgreSQL

  • On-premises PostgreSQL databases
  • PostgreSQL databases on ECSs
    NOTE:

    Only whitelisted users can use this function.

Incremental

Full

Full+Incremental

From PostgreSQL to PostgreSQL (Out of the cloud)

Kafka

Incremental

From PostgreSQL to Kafka (Out of the cloud)

DDM

RDS for MySQL

Incremental

Full

Full+Incremental

From DDM to MySQL (To the cloud)

  • On-premises MySQL databases
  • MySQL databases on an ECS
  • MySQL databases on other clouds

Incremental

Full

Full+Incremental

From DDM to MySQL (Out of the cloud)

DDM

Full+Incremental

From DDM to DDM

GaussDB(DWS)

Full+Incremental

From DDM to GaussDB(DWS)

  • On-premises Oracle databases
  • Oracle databases on an ECS

Incremental

Full

Full+Incremental

From DDM to Oracle

Kafka

Incremental

From DDM to Kafka

  • On-premises Oracle databases
  • Oracle databases on an ECS

RDS for MySQL

Incremental

Full

Full+Incremental

From Oracle to MySQL

GaussDB(for MySQL)

Full

Full+Incremental

From Oracle to GaussDB(for MySQL)

RDS for PostgreSQL

Full

Full+Incremental

From Oracle to PostgreSQL

GaussDB primary/standby

Incremental

Full

Full+Incremental

From Oracle to GaussDB Primary/Standby (To the cloud)

From Oracle to GaussDB Primary/Standby (self-built - self-built)

GaussDB distributed

Incremental

Full

Full+Incremental

From Oracle to GaussDB Distributed (To the cloud)

From Oracle to GaussDB Distributed (self-built - self-built)

DDM

Full

Full+Incremental

From Oracle to DDM

GaussDB(DWS)

Incremental

Full

Full+Incremental

From Oracle to GaussDB(DWS)

Kafka

Incremental

From Oracle to Kafka

GaussDB distributed

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

Full

Incremental

Full+Incremental

From GaussDB Distributed to MySQL (Out of the cloud)

From GaussDB Distributed to MySQL (self-built - self-built)

  • On-premises Oracle databases
  • Oracle databases on an ECS

Full

Incremental

Full+Incremental

From GaussDB Distributed to Oracle (Out of the cloud)

From GaussDB Distributed to Oracle (self-built - self-built)

GaussDB(DWS)

Full

Incremental

Full+Incremental

From GaussDB Distributed to GaussDB(DWS)

Kafka

Incremental

From GaussDB Distributed to Kafka (Out of the cloud)

From GaussDB Distributed to Kafka (self-built - self-built)

GaussDB distributed

Full

Incremental

Full+Incremental

From GaussDB Distributed to GaussDB Distributed

From GaussDB Distributed to GaussDB Distributed (self-built - self-built)

GaussDB primary/standby

Full

Incremental

Full+Incremental

From GaussDB Distributed to GaussDB Primary/Standby (Out of the cloud)

From GaussDB Distributed to GaussDB Primary/Standby (self-built - self-built)

GaussDB primary/standby

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

Full

Incremental

Full+Incremental

From GaussDB Primary/Standby to MySQL (Out of the cloud)

From GaussDB Primary/Standby to MySQL (self-built - self-built)

  • On-premises Oracle databases
  • Oracle databases on an ECS

Full

Incremental

Full+Incremental

From GaussDB Primary/Standby to Oracle (Out of the cloud)

From GaussDB Primary/Standby to Oracle (self-built - self-built)

Kafka

Incremental

From GaussDB Primary/Standby to Kafka (Out of the cloud)

From GaussDB Primary/Standby to Kafka (self-built - self-built)

GaussDB(DWS)

Full

Incremental

Full+Incremental

From GaussDB Primary/Standby to GaussDB(DWS)

GaussDB distributed

Full

Incremental

Full+Incremental

From GaussDB Primary/Standby to GaussDB Distributed (Out of the cloud)

From GaussDB Primary/Standby to GaussDB Distributed (self-built - self-built)

GaussDB primary/standby

Full

Incremental

Full+Incremental

From GaussDB Primary/Standby to GaussDB Primary/Standby

From GaussDB Primary/Standby to GaussDB Primary/Standby (self-built - self-built)

GaussDB(for MySQL)

GaussDB(for MySQL)

Incremental

Full+Incremental

From GaussDB(for MySQL) to GaussDB(for MySQL)

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

Incremental

Full+Incremental

From GaussDB(for MySQL) to MySQL

GaussDB(DWS)

Full+Incremental

From GaussDB(for MySQL) to GaussDB(DWS)

Kafka

Incremental

Full+Incremental

From GaussDB(for MySQL) to Kafka

CSS/ES

Full+Incremental

From GaussDB(for MySQL) to CSS/ES

  • On-premises Oracle databases
  • Oracle databases on an ECS

Full+Incremental

From GaussDB(for MySQL) to Oracle

DDS

  • Self-built MongoDB
  • MongoDB on other clouds

Incremental synchronization supports the following modes:

Replica set -> Replica set

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

From DDS to MongoDB

Kafka

Incremental

From DDS to Kafka

DB2 for LUW

GaussDB distributed

Full

Full+Incremental

From DB2 for LUW to GaussDB Primary/Standby (To the cloud)

From DB2 for LUW to GaussDB Primary/Standby (self-built - self-built)

GaussDB primary/standby

Full

Full+Incremental

From DB2 for LUW to GaussDB Distributed (To the cloud)

From DB2 for LUW to GaussDB Distributed

(self-built - self-built)

GaussDB(DWS)

Full

Full+Incremental

From DB2 for LUW to GaussDB(DWS)

TiDB

GaussDB(for MySQL)

Full+Incremental

From TiDB to GaussDB(for MySQL)

  • On-premises Microsoft SQL Server database
  • Microsoft SQL Server databases on an ECS
  • Microsoft SQL Server databases on other clouds
  • RDS for SQL Server

GaussDB(DWS)

Full+Incremental

From Microsoft SQL Server to GaussDB(DWS)

GaussDB primary/standby

Full+Incremental

From Microsoft SQL Server to GaussDB Primary/Standby

GaussDB distributed

Full+Incremental

From Microsoft SQL Server to GaussDB Distributed

Microsoft SQL Server

NOTE:

Only whitelisted users can use this function.

Full+Incremental

From Microsoft SQL Server to Microsoft SQL Server

RDS for SQL Server

Kafka

NOTE:

Only whitelisted users can use this function.

Incremental

From Microsoft SQL Server to Kafka (Out of the cloud)

  • On-premises Microsoft SQL Server databases
  • Microsoft SQL Server databases on an ECS
  • Microsoft SQL Server databases on other clouds

Kafka

NOTE:

Only whitelisted users can use this function.

Incremental

From Microsoft SQL Server to Kafka (self-built - self-built)

  • On-premises MongoDB databases
  • MongoDB databases on an ECS
  • MongoDB database on other clouds
  • DDS

DDS

Full+Incremental synchronization supports the following scenarios:

Replica set -> Replica set

From MongoDB to DDS

  • On-premises MariaDB databases
  • MariaDB databases on an ECS
  • MariaDB databases on other clouds

RDS for MariaDB

Full+Incremental

From MariaDB to MariaDB

  • On-premises MariaDB databases
  • MariaDB databases on an ECS
  • MariaDB databases on other clouds

RDS for MySQL

NOTE:

Only whitelisted users can use this function.

Incremental

Full+Incremental

From MariaDB to MySQL

GaussDB(for MySQL)

NOTE:

Only whitelisted users can use this function.

Incremental

Full+Incremental

From MariaDB to GaussDB(for MySQL)

RDS for MariaDB

  • On-premises MariaDB databases
  • MariaDB databases on an ECS
  • MariaDB databases on other clouds

Full+Incremental

From MariaDB to MariaDB