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 |
Oracle->PostgreSQL |
|
RDS PostgreSQL DB instances |
|
To the cloud |
Oracle->MySQL |
|
RDS MySQL DB instances |
|
From the cloud |
MySQL->MySQL |
RDS MySQL DB instances |
|
- |
From the cloud |
MySQL->Kafka |
RDS MySQL DB instances |
Kafka |
|
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 |
Oracle->PostgreSQL |
Not supported |
Supported |
Supported |
One-way sync |
To the cloud |
Oracle->MySQL |
Not supported |
Supported |
Supported |
One-way sync |
From the cloud |
MySQL->MySQL |
Supported |
Not supported |
Supported |
One-way sync |
From the cloud |
MySQL->Kafka |
Supported |
Not supported |
Not 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 |
Oracle->PostgreSQL |
|
|
To the cloud |
Oracle-> MySQL |
|
|
From the cloud |
MySQL->MySQL |
|
|
From the cloud |
MySQL->Kafka |
|
Kafka 0.11 or later |
Self-built -> Self-built |
Oracle -> GaussDB primary/standby |
|
GaussDB 1.0.0 or later |
Self-built -> Self-built |
Oracle -> GaussDB distributed |
|
GaussDB 1.0.0 or later |
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 |
Oracle->MySQL |
Supported |
Supported |
Supported |
To the cloud |
Oracle->PostgreSQL |
Supported |
Supported |
Supported |
From the cloud |
MySQL->MySQL |
Supported |
Supported |
Supported |
From the cloud |
MySQL->Kafka |
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 |
Oracle->MySQL |
Supported |
Not supported |
Supported |
To the cloud |
Oracle->PostgreSQL |
Supported |
Not supported |
Supported |
From the cloud |
MySQL->MySQL |
Supported |
Supported |
Not supported |
From the cloud |
MySQL->Kafka |
Supported |
Supported |
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