This topic describes the precautions and limits to take note of when you synchronize data from MySQL databases, such as self-managed MySQL databases and ApsaraDB RDS for MySQL instances. To ensure that your data synchronization task runs as expected, you must read the precautions and limits before you configure the task.
Scenarios of synchronizing data from a MySQL database
The following list provides the scenarios of synchronizing data from a MySQL database. The precautions and limits in the scenarios may vary. You can go to the related section to view the precautions and limits in a specific scenario.
By default, Data Transmission Service (DTS) disables FOREIGN KEY constraints for the destination database in a data synchronization task. Therefore, specific operations such as the cascade and delete operations of the source database are not synchronized to the following types of destination databases:
MySQL databases, such as ApsaraDB RDS for MySQL instances and self-managed MySQL databases
PolarDB for MySQL cluster
AnalyticDB for MySQL cluster
AnalyticDB for PostgreSQL instance
Elasticsearch
Tablestore
PolarDB-X 2.0
Oracle
PostgreSQL
Synchronize data from a MySQL database to a PolarDB for MySQL cluster
Synchronize data from a MySQL database to an AnalyticDB for MySQL cluster
Synchronize data from a MySQL database to an AnalyticDB for PostgreSQL instance
Synchronize data from a MySQL database to an Elasticsearch cluster
Synchronize data from a MySQL database to a MaxCompute project
Synchronize data from a MySQL database to a Tablestore instance
Synchronize data from a MySQL database to a PolarDB-X instance
Synchronize data from a MySQL database to an Oracle database
Synchronize data from a MySQL database to a PostgreSQL database
Synchronize data between MySQL databases
The following table describes the precautions and limits to take note of when you synchronize data between MySQL databases, such as self-managed MySQL databases and ApsaraDB RDS for MySQL instances.
One-way synchronization between MySQL databases
Category | Description |
Limits on the source database |
|
Other limits |
|
Special cases |
|
Two-way synchronization between MySQL databases
Category | Description |
Limits on the source and destination databases |
|
Other limits |
|
Special cases |
|
Synchronize data from a MySQL database to a PolarDB for MySQL cluster
One-way synchronization from a MySQL database to a PolarDB for MySQL cluster
Category | Description |
Limits on the source database |
|
Other limits |
|
Special cases |
|
Two-way synchronization from a MySQL database to a PolarDB for MySQL cluster
Category | Description |
Limits on the source and destination databases |
|
Other limits |
|
Special cases |
|
Synchronize data from a MySQL database to an AnalyticDB for MySQL cluster
Category | Description |
Limits on the source database |
|
Other limits |
|
Special cases |
|
Synchronize data from a MySQL database to an AnalyticDB for PostgreSQL instance
Category | Description |
Limits on the source database |
|
Other limits |
|
Special cases |
|
Synchronize data from a MySQL database to a DataHub project
Category | Description |
Limits on the source database |
|
Other limits |
|
Special cases |
|
Synchronize data from a MySQL database to an Elasticsearch cluster
Category | Description |
Limits on the source database |
|
Other limits |
|
Special cases |
|
Synchronize data from a MySQL database to a MaxCompute project
Category | Description |
Limits on the source database |
|
Other limits |
|
Special cases |
|
Synchronize data from a MySQL database to an ApsaraDB for ClickHouse cluster
Category | Description |
Limits on the source database |
|
Other limits |
|
Special cases |
|
Synchronize data from a MySQL database to a Tablestore instance
Category | Description |
Limits on the source database |
|
Other limits |
|
Special cases |
|
Synchronize data from a MySQL database to an ApsaraMQ for Kafka instance or a self-managed Kafka cluster
Category | Description |
Limits on the source database |
|
Other limits |
|
Special cases |
|
Synchronize data from a MySQL database to a PolarDB-X 2.0 instance
Category | Description |
Limits on the source database |
|
Other limits |
|
Special cases |
|
Synchronize data from a MySQL database to an Oracle database
Category | Description |
Limits on the source database |
|
Other limits |
|
Special cases |
|
Synchronize data from a MySQL database to a PostgreSQL database
Category | Description |
Limits on the source database |
|
Other limits |
|
Special cases |
|