tencent cloud

Data Transfer Service

Release Notes and Announcements
Release Notes
Announcements
Product Introduction
Overview
Data Migration
Data Sync
Data Subscription (Kafka Edition)
Strengths
Supported Regions
Specification Description
Purchase Guide
Billing Overview
Configuration Change Description
Payment Overdue
Refund
Getting Started
Data Migration Guide
Data Sync Guide
Data Subscription Guide (Kafka Edition)
Preparations
Business Evaluation
Network Preparation
Adding DTS IP Addresses to the Allowlist of the Corresponding Databases
DTS Service Permission Preparation
Database and Permission Preparation
Configuring Binlog in Self-Built MySQL
Data Migration
Databases Supported by Data Migration
Cross-Account TencentDB Instance Migration
Migration to MySQL Series
Migrating to PostgreSQL
Migrating to MongoDB
Migrating to SQL Server
Migrating to Tencent Cloud Distributed Cache
Task Management
Data Sync
Databases Supported by Data Sync
Cross-Account TencentDB Instance Sync
Sync to MySQL series
Synchronize to PostgreSQL
Synchronization to MongoDB
Synchronize to Kafka
Task Management
Data Subscription (Kafka Edition)
Databases Supported by Data Subscription
MySQL series Data Subscription
Data Subscription for TDSQL PostgreSQL
MongoDB Data Subscription
Task Management
Consumption Management
Fix for Verification Failure
Check Item Overview
Cutover Description
Monitoring and Alarms
Supported Monitoring Indicators
Supported Events
Configuring Metric Alarms and Event Alarms via the Console
Configuring Indicator Monitoring and Event Alarm by APIs
Ops Management
Configuring Maintenance Time
Task Status Change Description
Practical Tutorial
Synchronizing Local Database to the Cloud
Creating Two-Way Sync Data Structure
Creating Many-to-One Sync Data Structure
Creating Multi-Site Active-Active IDC Architecture
Selecting Data Sync Conflict Resolution Policy
Using CLB as Proxy for Cross-Account Database Migration
Migrating Self-Built Databases to Tencent Cloud Databases via CCN
Best Practices for DTS Performance Tuning
FAQs
Data Migration
Data Sync
FAQs for Data Subscription Kafka Edition
Regular Expressions for Subscription
Error Handling
Common Errors
Failed Connectivity Test
Failed or Alarmed Check Item
Inability to Select Subnet During CCN Access
Slow or Stuck Migration
Data Sync Delay
High Data Subscription Delay
Data Consumption Exception
API Documentation
History
Introduction
API Category
Making API Requests
(NewDTS) Data Migration APIs
Data Sync APIs
Data Consistency Check APIs
(NewDTS) Data Subscription APIs
Data Types
Error Codes
DTS API 2018-03-30
Service Agreement
Service Level Agreements

Data Sync

PDF
フォーカスモード
フォントサイズ
最終更新日: 2024-07-08 15:38:21

What's the impact of data sync on the target database? Does the target database need to be empty?

Syncing data with DTS won't impact the target database, and the target database doesn't need to be empty. DTS ‍will check whether there are objects with the same name in the source and target databases. If there is a duplicate name conflict, you can handle it ‍by using the configured conflict resolution policy. You will be prompted of an error, and you can ignore it.

Will the sync service be affected if high availability (HA) switch occurs between the source and target instances?

If the source instance supports and enables global transaction identifier (GTID), when HA switch occurs in the source instance during incremental sync, the service will be automatically reconnected, and the synced data flow will resume soon after HA switch is completed.
If HA switch occurs in the target instance during incremental sync, the service will also be automatically reconnected, and the synced data flow will resume soon after HA switch is completed.

Can data in an instance on a later version be synced to an instance on an earlier version?

No. For data sync between instances of the same type, the major version of the target instance must be later than that of the source instance. Taking MySQL as an example, data cannot be synced from MySQL 5.7 to MySQL 5.6.

Can the source/target instance be a local instance?

Yes. Data can be synced from TencentDB to a local database over the public network and CCN.

Can I perform two-way sync for DDL statements in a two-way sync topology?

No. During sync instance creation, DDL statements in only one instance can be synced; otherwise, the algorithm will detect a DDL loop and then prohibit the creation of one of the instances.

Are non-transactional engines supported?

The current technical solution adds routing information to transactions to mark transaction sources, which relies on the atomicity of transactions. However, databases/tables based on non-transactional engines will corrupt such atomicity, and data consistency cannot be guaranteed. Therefore, we recommend that you not use non-transactional engines.

Can I add or delete sync objects after a sync task is started?

Yes. You can modify the sync task configurations by selecting the target sync task and clicking Modify Sync Configuration in the Operation column.
On the configuration modification page, you can add/delete sync objects and modify the primary key conflict policy or SQL sync policy. When you modify the sync configuration, the running sync task won't be paused or affected. For more information, see Modifying Sync Configuration.

ヘルプとサポート

この記事はお役に立ちましたか?

フィードバック