Updated on 2022-09-21 GMT+08:00

Migration Overview

With DRS, you can migrate data from sources to destinations in real time. You create a replication instance to connect to both the source and destination and configure objects to be migrated. DRS will help you compare metrics and data between source and destination, so you can determine the best time to switch to the destination database while minimizing service downtime.

DRS supports incremental migration, so you can replicate ongoing changes to keep sources and destinations in sync while minimizing the impact of service downtime and migration.

Figure 1 Real-time migration process

Supported Database Types

Table 1 lists the source database and destination database types supported by DRS in real-time migration.

Table 1 Migration schemes

Source DB

Destination DB

Migration Type

Documentation

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

RDS for MySQL

Full

Full+Incremental

From MySQL to MySQL (To the cloud)

DDM

Full

Full+Incremental

From MySQL to DDM

GaussDB(for MySQL) primary/standby

Full

Full+Incremental

From MySQL to GaussDB(for MySQL) Primary/Standby

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

Full

Full+Incremental

From MySQL to MySQL (Out of the cloud)

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

DDS

Full

Full+Incremental

From MongoDB to DDS

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

GaussDB(for Mongo)

Full

Full+Incremental:

  • Replica set -> Replica set
  • Replica set -> Cluster
  • Cluster -> Cluster

From MongoDB to GaussDB(for Mongo)

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

Full

Full+Incremental

From DDS to MongoDB

  • On-premises MyCAT middleware
  • MyCAT middleware on an ECS
  • DDM

DDM

Full

Full+Incremental

From MySQL Schema and Logic Table to DDM