What Is DRS?

DRS is a stable, efficient, and easy-to-use cloud service for database online migration and synchronization in real time.

It simplifies data migration processes and reduces migration costs.

You can use DRS to quickly transmit data between databases in various scenarios.

DRS provides multiple functions, including real-time migration, backup migration, data subscription, real-time disaster recovery, and real-time synchronization.

Real-Time Migration

DRS allows you to migrate data from the source database to the destination database when the DRS instance can connect to both the source and destination databases. In addition, the source DB instances, destination DB instances, and migration objects must be configured.

Real-time migration supports multiple types of networks, such as public networks, VPCs, VPNs, and direct connections. With these network connections, migration can be performed between different cloud platforms, from on-premises databases to cloud databases, or on cloud databases across regions.

DRS supports incremental migration, which ensures service continuity while minimizing the impact of service downtime and migration. Databases can thereby be smoothly migrated to the cloud, and all database objects can be migrated.

Figure 1 Real-time migration

Backup Migration

It often becomes necessary to hide the real IP address of your database for the sake of security. Migrating data through direct connections is an option, but costly. DRS supports backup migration, which allows you to export data from your source database for backup and upload the backup files to OBS. Then, you can restore the backup files to the destination database to complete the migration. Using this method, data migration can be realized without exposing your source databases.

Backup migration suits the on-premises to cloud migration scenario.

Without connecting to your sources databases, DRS can help you complete data migration.

Figure 2 Backup migration

Real-Time Synchronization

Data synchronization refers to the real-time flow of key service data from the source end to the destination end through the DRS instance while consistency of data can be ensured.

It is different from data migration. Migration means moving your overall database from one platform to another. Synchronization refers to the continuous flow of data between different services.

It can be used in many scenarios such as real-time analysis, report system, and data warehouse environment.

Data synchronization focuses on 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 3 Many-to-one real-time synchronization

Data Subscription

Data subscription helps you obtain incremental information of key services in a database. This type of information is often required by downstream services. With data subscription, incremental information is cached. Therefore, downstream services can use a unified SDK API provided by DRS to subscribe to, obtain, and consume this information. In this way, the database and downstream systems are decoupled.

Data subscription can be used by Kafka to subscribe to MySQL incremental data.

Figure 4 Data subscription

Real-Time Disaster Recovery

To prevent service unavailability caused by regional faults, DRS provides disaster recovery to ensure service continuity. You can easily implement disaster recovery between on-premises and cloud, without the need to invest a lot in infrastructure in advance.

The disaster recovery architectures, such as two-site three-data-center and two-site four-data center, are supported. A primary/standby switchover can be implemented by promoting a standby node or demoting a primary node in the disaster recovery scenario.