Two-way synchronization

更新时间:
复制 MD 格式

This topic describes the two-way synchronization tasks that Data Transmission Service (DTS) supports.

Note
  • When the Database Type is set to MongoDB or Tair/Redis, two-way synchronization is supported only for Alibaba Cloud database instances. The Access Method for both instances must be Alibaba Cloud Instance.

  • Currently, DTS supports two-way synchronization between two databases but does not support it among multiple databases.

  • Eligible one-way synchronization tasks can be upgraded to two-way synchronization tasks.

  • Default full data verification tasks:

    • From 00:00:00 on November 6, 2025 to 00:00:00 on December 5, 2025 (UTC+8), DTS automatically creates a full data verification task for two-way synchronization instances that include Full Data Synchronization and are located in the China (Hangzhou), China (Shenzhen), or China (Guangzhou) region. For this task, the Full Data Verification is set to Verify based on the number of table rows.

      • If you have already configured a full data verification task, your configuration takes precedence.

      • If you do not need the full data verification task, go to the DTS task details page. In the Full Data Verification section on the Basic Information tab, click Delete.

    • Starting from 00:00:00 on December 5, 2025 (UTC+8), DTS will no longer create full data verifications for full sync tasks.

Source Type

Destination Type

Configuration Document

MySQL

MySQL

Two-way synchronization between MySQL databases

PolarDB for MySQL

Two-way synchronization between a MySQL database and a PolarDB for MySQL cluster

PolarDB for MySQL

MySQL

Document in preparation

PolarDB for MySQL

Two-way synchronization between PolarDB for MySQL clusters

PostgreSQL

PostgreSQL

Two-way synchronization between PostgreSQL databases

PolarDB for PostgreSQL

Two-way synchronization between an RDS PostgreSQL instance and a PolarDB for PostgreSQL cluster

PolarDB for PostgreSQL

PostgreSQL

Two-way synchronization between a PolarDB for PostgreSQL cluster and an RDS PostgreSQL instance

PolarDB for PostgreSQL

Two-way synchronization between PolarDB for PostgreSQL clusters

PolarDB (Compatible with Oracle)

PolarDB (Compatible with Oracle)

Two-way synchronization between PolarDB for PostgreSQL (Compatible with Oracle) clusters

PolarDB-X 2.0

PolarDB-X 2.0

Two-way synchronization between PolarDB-X 2.0 instances

Tair/Redis (Tair instance)

Tair/Redis (Tair instance)

Two-way synchronization between Tair (Enterprise Edition) instances

MongoDB (ReplicaSet architecture)

MongoDB (ReplicaSet architecture)

Two-way synchronization between ApsaraDB for MongoDB instances (ReplicaSet architecture)

MongoDB (sharded cluster architecture)

MongoDB (sharded cluster architecture)

Two-way synchronization between ApsaraDB for MongoDB instances (sharded cluster architecture)