Updated on 2024-03-28 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

The following table 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)

Full

Full+Incremental

From MySQL to GaussDB(for MySQL)

  • 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

GeminiDB Mongo

Full

Full+Incremental:

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

From MongoDB to GeminiDB Mongo

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

Full

Full+Incremental

From DDS to MongoDB

  • DDM

DDM

Full

Full+Incremental

From MySQL Schema and Logic Table to DDM

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

GeminiDB Redis

Full

Full+Incremental

From Redis to GeminiDB Redis

  • On-premises open-source cluster Redis
  • ECS-hosted open-source cluster Redis

GeminiDB Redis

Full+Incremental

From Cluster Redis to GeminiDB Redis

NOTE:

Only whitelisted users can use this function.

GeminiDB Redis

  • On-premises open-source Codis
  • ECS-hosted open-source Codis
  • On-premises single-node or master/standby Redis
  • ECS-hosted single-node or master/standby Redis

Full+Incremental

From GeminiDB Redis to Redis

  • On-premises cluster Redis
  • ECS-hosted cluster Redis

Full+Incremental

From GeminiDB Redis to Redis