Data migration is a one-time task of replicating data from the source database to the target database at the database level. After the migration is completed, the business will be cut over to the new database.
DTS supports data migration from self-built databases, TencentDB databases, and third-party cloud databases.
You can select different access types based on the deployment modes of the source databases. DTS supports the following access types: Public Network, Self-Build on CVM, Direct Connect, VPN Access, Database, and CCN, each requiring different network conditions. For more information, see Preparations Overview.
Databases that can be migrated with DTS are as detailed below:
Data Flow Direction | Migration Direction | Source Database Type & Version | Target Database Type & Version | Migration Type | Cross-Account Migration | Source Database Access Type |
---|---|---|---|---|---|---|
MySQL > MySQL | To Tencent Cloud |
|
TencentDB for MySQL 5.5/5.6/5.7/8.0 | Supported | Public Network/Self-Build on CVM/Direct Connect/VPN Access/Database/CCN | |
MariaDB > MySQL | To Tencent Cloud | TencentDB for MySQL 5.5/5.6/5.7/8.0 | Not supported | Public Network/Self-Build on CVM/Direct Connect/VPN Access/Database/CCN | ||
Percona > MySQL | To Tencent Cloud | Self-built Percona 5.5/5.6/5.7/8.0 | TencentDB for MySQL 5.5/5.6/5.7/8.0 | - | Public Network/Self-Build on CVM/Direct Connect/VPN Access/Database/CCN | |
TDSQL for MySQL > MySQL | To Tencent Cloud | TDSQL for MySQL 5.7/8.0 | TencentDB for MySQL 5.7/8.0 | Not supported | Database | |
MySQL > MariaDB | To Tencent Cloud | TencentDB for MariaDB 5.7/8.0/10.0/10.1 | Supported | Public Network/Self-Build on CVM/Direct Connect/VPN Access/Database/CCN | ||
MariaDB > MariaDB | To Tencent Cloud | TencentDB for MariaDB 5.7/8.0/10.0/10.1 | Not supported | Public Network/Self-Build on CVM/Direct Connect/VPN Access/Database/CCN | ||
Percona > MariaDB | To Tencent Cloud | Self-built Percona 5.5/5.6/5.7/8.0 | TencentDB for MariaDB 5.7/8.0/10.0/10.1 | - | Public Network/Self-Build on CVM/Direct Connect/VPN Access/Database/CCN | |
TDSQL for MySQL > MariaDB | To Tencent Cloud | TDSQL for MySQL 5.7/8.0/10.0/10.1 | TencentDB for MariaDB 5.7/8.0/10.0/10.1 | Not supported | Database | |
MySQL > TDSQL-C for MySQL | To Tencent Cloud |
|
TDSQL-C for MySQL 5.7/8.0 | Supported | Public Network/Self-Build on CVM/Direct Connect/VPN Access/Database/CCN | |
MariaDB > TDSQL-C for MySQL | To Tencent Cloud | TDSQL-C for MySQL 5.7/8.0 | Not supported | Public Network/Self-Build on CVM/Direct Connect/VPN Access/Database/CCN | ||
Percona > TDSQL-C for MySQL | To Tencent Cloud | Self-built Percona 5.5/5.6/5.7/8.0 | TDSQL-C for MySQL 5.7/8.0 | - | Public Network/Self-Build on CVM/Direct Connect/VPN Access/Database/CCN | |
MySQL > TDSQL for MySQL | To Tencent Cloud | TDSQL for MySQL 5.7/8.0 | Supported | Public Network/Self-Build on CVM/Direct Connect/VPN Access/Database/CCN | ||
MariaDB > TDSQL for MySQL | To Tencent Cloud |
|
TDSQL for MySQL 5.7/8.0/10.0/10.1 | Not supported | Public Network/Self-Build on CVM/Direct Connect/VPN Access/Database/CCN | |
Percona > TDSQL for MySQL | To Tencent Cloud | Self-built Percona 5.5/5.6/5.7/8.0 | TDSQL for MySQL 5.7/8.0 | - | Public Network/Self-Build on CVM/Direct Connect/VPN Access/Database/CCN | |
TDSQL for MySQL > TDSQL for MySQL | To Tencent Cloud | TDSQL for MySQL 5.7/8.0/10.0/10.1 | TDSQL for MySQL 5.7/8.0/10.0/10.1 | Not supported | Database | |
PostgreSQL > PostgreSQL | To Tencent Cloud |
|
TencentDB for PostgreSQL 10/11/12/13 | Supported | Public Network/Self-Build on CVM/Direct Connect/VPN Access/Database/CCN | |
MongoDB > MongoDB | To Tencent Cloud | TencentDB for MongoDB 3.0/3.2/3.4/3.6/4.0/4.2 | Supported | Public Network/Self-Build on CVM/Direct Connect/VPN Access/Database/CCN | ||
SQL Server > SQL Server | To Tencent Cloud | TencentDB for SQL Server 2008 R2/2012/2014/2016/2017/2019 | Not supported | Public Network/Self-Build on CVM/Direct Connect/VPN Access/Database/CCN |
Note:
- In the above table, the migration direction “To Tencent Cloud” indicates that the target database is a TencentDB instance, just as shown in the Target Database Type & Version column.
- Cross-account migration only makes sense when both the source and target databases are TencentDB instances under different Tencent Cloud root accounts.
- Requirements for database versions:
- MySQL/TDSQL for MySQL/MariaDB/TDSQL-C: The target database version must be later than or the same as the source database version. The versions are differentiated by the major version number; for example, v5.6.x can be migrated to v5.6.x, v5.7.x, or later.
- PostgreSQL: For full migration, the target database version must be later than or the same as the source database version; for incremental migration, migration between versions above v10.x is supported.
- MongoDB: Migration between all versions is supported.
- SQL Server: Only migration from Basic Edition to High Availability Edition (including Dual-Server High Availability Edition and Cluster Edition) is supported, and the version number of the target database must be above that of the source database.
- The above table lists the features supported by NewDTS. For Redis data migration, see Migration with DTS.
Was this page helpful?