tencent cloud

数据传输服务

动态与公告
产品动态
公告
产品简介
产品概述
数据迁移功能描述
数据同步功能描述
数据订阅(Kafka 版)功能描述
产品优势
支持的地域
规格说明
购买指南
计费概述
变更配置说明
欠费说明
退费说明
快速入门
数据迁移操作指导
数据同步操作指导
数据订阅操作指导(Kafka 版)
准备工作
业务评估
网络准备
添加 DTS IP 地址至对接数据库白名单
DTS 服务权限准备
数据库及权限准备
配置自建 MySQL 系的 Binlog
数据迁移
数据迁移支持的数据库
云数据库跨账号实例间迁移
迁移至 MySQL 系列
迁移至 PostgreSQL
迁移至 MongoDB
迁移至 SQL Server
迁移至腾讯云分布式缓存数据库
任务管理
数据同步
数据同步支持的数据库
云数据库跨账号实例间同步
同步至 MySQL 系列
同步至 PostgreSQL
同步至 MongoDB
同步至 Kafka
任务管理
数据订阅(Kafka 版)
数据订阅支持的数据库
MySQL 系列数据订阅
TDSQL PostgreSQL 数据订阅
MongoDB 数据订阅
任务管理
消费管理
前置校验不通过处理方法
检查项汇总
割接说明
监控与告警
支持的监控指标
告警通知功能
通过控制台配置指标告警和事件告警
通过 API 配置指标告警和事件告警
运维管理
配置系统维护时间
任务状态扭转说明
实践教程
本地数据库同步上云
构建双向同步数据结构
构建多对一同步数据结构
构建多活数据中心
数据同步冲突策略如何选择
使用 CLB 代理将其他账号下的数据库迁移至本账号下
通过云联网方式迁移自建数据库至腾讯云数据库
DTS 性能调优最佳实践
常见问题
数据迁移
数据同步
数据订阅 Kafka 版常见问题
数据订阅正则表达式
错误处理
常见错误处理
连通性测试不通过
校验项结果不通过或者出现警告
云联网接入配置源数据时无法选择子网
迁移慢或者进度卡住
数据同步有延时
数据订阅延迟过高
数据消费异常
API 文档
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
相关协议
服务等级协议

Introduction

PDF
聚焦模式
字号
最后更新时间: 2025-10-24 14:48:58

Data Transfer Service (DTS) provides data migration, sync, and subscription services. With DTS, you can migrate your databases without interrupting your business and build a high-availability database architecture for remote disaster recovery through real-time sync channels.

Procedures for Calling Data Migration APIs

The supported operations and related APIs under each migration task status are listed below:

Task Status Supported Operation Key API Description
- - CreateMigrationService Purchase migration task resources. After making the purchase, you will return to the list of randomly generated migration task IDs.
Created (created) Configure
  • ModifyMigrationJob
  • CreateMigrateCheckJob
  • DescribeMigrationJobs
  • Configure the migration task.
  • Check the configured task. You need to check all the parameters of the source and target databases and make sure the check is passed before the migration task can be started.
  • You can call the DescribeMigrationJobs API to query the list of all migration tasks and obtain the task IDs.
  • Checking (checking) - DescribeMigrationCheckJob The migration task is being checked.
    Check passed (checkPass) Immediate start, configure, verify StartMigrateJob The check is passed, and you can start the data migration task.
    Check failed (checkNotPass) Configure, verify ModifyMigrationJob The verification failed, and you need to configure the migration task and start verification again.
    Preparing (readyRun) Stop - The data migration task is being prepared after you click Start.
    Running (running) Stop, create data consistency check task (only supported for eligible links) StopMigrateJob The task is running.
    If you need to cancel the migration task, click Stop. The stopped task cannot be resumed.
    Stopping (stopping) - - The task is being stopped after you click Stop.
    Stopped (canceled) - IsolateMigrateJob The stopped task needs to be isolated in order to promptly unfreeze the frozen amount of one hour's pay-as-you-go fees.
    Prepared (readyComplete) Complete, stop, create data consistency check task (only supported for eligible links)
  • CompleteMigrateJob
  • CreateCompareTask
  • If you select the "Full + incremental migration" scenario, when the task status becomes "Prepared", full and incremental data migration is completed. You should click Complete at an appropriate time to end the task.
  • We recommend that you perform a data consistency check before clicking Complete. u200c
  • The data consistency check compares the data to be migrated from the source database and the data migrated to the target database to check data consistency. You can view the inconsistency details. After the data consistency check task is created successfully, its task ID will be returned.
  • Completing (completing) - - The task is being completed after you click Complete.
    Task successful (success) - IsolateMigrateJob The migration task is successfully completed. The completed task needs to be isolated in order to promptly unfreeze the frozen amount of one hour's pay-as-you-go fees.
    Task error (error) Stop, retry ResumeMigrateJob The migration task is interrupted as an exception occurred during the migration. You can retry the task.
    Retrying (resuming) - - The task is being retried after you click Retry. If the retry succeeds, the task will be executed normally; otherwise, it will enter the "Task failed" status.
    Task failed (failed) Retry (only supported for Redis migration tasks) IsolateMigrateJob The migration task failed. u200c
    The failed task needs to be isolated in order to promptly unfreeze the frozen amount of one hour's pay-as-you-go fees.
    All above status View, adjust specification, isolate
  • DescribeMigrationDetail
  • ModifyMigrateJobSpec
  • IsolateMigrateJob
  • You can click View to view the details of the specified migration task. u200c
  • You can click Adjust Specification to adjust the specification of the migration link. Different specifications have different transfer rates. u200c
  • You can click Isolate to isolate a stopped, failed, or unwanted task.
  • Isolated (isolated, which is the billing status) Deisolate/resume, delete
  • RecoverMigrateJob
  • DestroyMigrateJob
  • After you initiate an isolation operation or one day after your account has overdue payments, the task will enter the "Isolated" status. Resources in isolation will be retained for seven days and then deleted, and the service will be suspended.
  • You can actively delete the isolated task or wait for seven days before the system automatically deletes it.
  • You can click Deisolate/Resume to resume the isolated task.
  • Procedures for Calling Data Sync APIs

    The supported operations and related APIs under each sync task status are listed below:

    Task Status Supported Operation Key API Description
    - - CreateSyncJob Purchase sync task resources. After making the purchase, you will return to the list of randomly generated sync task IDs.
    Uninitialized (UnInitialized) Configure
  • ConfigureSyncJob
  • CreateCheckSyncJob
  • DescribeSyncJobs
  • Configure the sync task.
  • Check the configured task. You need to check all the parameters of the source and target databases and make sure the check is passed before the sync task can be started.
  • You can call the DescribeSyncJobs API to query the list of all sync tasks and obtain the task IDs.
  • Checking (Checking) - DescribeCheckSyncJobResult The sync task is being checked.
    Verification passed (CheckPass) Start, configure, verify StartSyncJob The verification is passed, and you can start the data sync task.
    Verification failed (CheckNotPass) Configure, verify ConfigureSyncJob The verification failed, and you need to configure the sync task and start verification again.
    Preparing (ReadyRunning) Stop - The sync task is being prepared after you click Start.
    Running (Running) Stop StopSyncJob The task is running.
    If you need to cancel the sync task, click Stop.
    Stopping (Stopping) - - The task is being stopped after you click Stop.
    Stopped (Stopped) - IsolateSyncJob The sync task is successfully completed. The completed task needs to be isolated in order to promptly unfreeze the frozen amount of one hour's pay-as-you-go fees.
    Task error (ResumableErr) Stop, retry ResumeSyncJob The sync task is interrupted as an exception occurred during the sync. You can retry the task.
    Retrying (Resuming) - - The task is being retried after you click Retry. If the retry succeeds, the task will be executed normally; otherwise, it will enter the "Task failed" status.
    Task failed (Failed) - IsolateSyncJob The sync task failed u200c
    The failed task needs to be isolated in order to promptly unfreeze the frozen amount of one hour's pay-as-you-go fees.
    All above status View, adjust specification, isolate
  • DescribeSyncJobs
  • ResizeSyncJob
  • IsolateSyncJob
  • You can click View to view the details of the specified sync task. u200c
  • You can click Adjust Specification to adjust the specification of the sync link. Different specifications have different transfer rates. u200c
  • You can click Isolate to isolate a stopped, failed, or unwanted task.
  • Isolated (Isolated, which is the billing status) Deisolate/resume, delete
  • RecoverSyncJob
  • DestroySyncJob
  • After you initiate an isolation operation or one day after your account has overdue payments, the task will enter the "Isolated" status. Resources in isolation will be retained for seven days and then deleted, and the service will be suspended.
  • You can actively delete the isolated task or wait for seven days before the system automatically deletes it.
  • You can click Deisolate/Resume to resume the isolated task.
  • 帮助和支持

    本页内容是否解决了您的问题?

    填写满意度调查问卷,共创更好文档体验。

    文档反馈