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.
Supported Database Types
DRS supports real-time synchronization between databases of various types, and many-to-one synchronization.
Synchronization Direction |
Data Flow |
Source DB |
Destination DB |
Destination DB Type |
---|---|---|---|---|
To the cloud |
MySQL->MySQL |
|
RDS MySQL DB instances |
|
To the cloud |
PostgreSQL->PostgreSQL |
|
RDS PostgreSQL DB instances |
|
To the cloud |
DDM->MySQL |
DDM |
RDS MySQL DB instances |
|
From the cloud |
MySQL->MySQL |
RDS MySQL DB instances |
|
- |
From the cloud |
DDM->MySQL |
DDM |
|
|
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.
Synchronization Direction |
Data Flow |
Incremental |
Full |
Full+Incremental |
One-way/Two-way Sync |
---|---|---|---|---|---|
To the cloud |
MySQL->MySQL |
Supported |
Not supported |
Supported |
One-way sync |
To the cloud |
PostgreSQL->PostgreSQL |
Supported |
Supported |
Supported |
One-way sync |
To the cloud |
DDM->MySQL |
Not supported |
Not supported |
Supported |
One-way sync |
From the cloud |
MySQL->MySQL |
Supported |
Not supported |
Supported |
One-way sync |
From the cloud |
DDM->MySQL |
Not supported |
Not supported |
Supported |
One-way sync |
Database Versions
Data cannot be synchronized from a newer version database to an older version database.
Synchronization Direction |
Data Flow |
Source Database Version |
Destination DB Version |
---|---|---|---|
To the cloud |
MySQL->MySQL |
|
|
To the cloud |
PostgreSQL->PostgreSQL |
|
|
To the cloud |
DDM->MySQL |
Based on the live network |
|
From the cloud |
MySQL->MySQL |
|
|
From the cloud |
DDM->MySQL |
Based on the live network |
|
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.
Synchronization Direction |
Data Flow |
VPC |
Public Network |
VPN or Direct Connect |
---|---|---|---|---|
To the cloud |
MySQL->MySQL |
Supported |
Supported |
Supported |
To the cloud |
PostgreSQL->PostgreSQL |
Supported |
Supported |
Supported |
To the cloud |
DDM->MySQL |
Supported |
Supported |
Supported |
From the cloud |
MySQL->MySQL |
Supported |
Supported |
Supported |
From the cloud |
DDM->MySQL |
Supported |
Supported |
Supported |
Supported Synchronization Objects
DRS allows you to synchronize different objects. The following table lists the supported objects.
Synchronization Direction |
Data Flow |
Table-level |
Database-level |
Importing an Object File |
---|---|---|---|---|
To the cloud |
MySQL->MySQL |
Supported |
Supported |
Supported |
To the cloud |
PostgreSQL->PostgreSQL |
Supported |
Supported |
Supported |
To the cloud |
DDM->MySQL |
Supported |
Not supported |
Not supported |
From the cloud |
MySQL->MySQL |
Supported |
Supported |
Not supported |
From the cloud |
DDM->MySQL |
Supported |
Not supported |
Not supported |
Advanced Features
DRS supports multiple features to ensure successful data synchronization.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot