ZStack Cloud Platform
Single Server, Free Trial for One Year
A: They are different. Generally speaking:
DTS is a dedicated replication and migration product for vertical database scenarios, and is more suitable for replication and migration disaster recovery of various stateful databases.
The v2v migration product is suitable for stateless virtual machine application migration, such as Java application services (open-api/web), Nginx, etc.
A: Not recommended.
Using v2v to migrate/copy the database in a VM is risky and difficult to verify in advance.
A: 1. v2v cannot achieve smooth hot migration, and usually requires dozens of minutes or even longer service downtime.
DTS achieves a similar effect to master-slave replication, which can realize smooth migration and switching of databases.
v2v database migration cannot achieve grayscale production traffic on the target database in advance, and then fall back to the source database when problems occur. The operation is complicated and time-consuming.
DTS uses database replication technology to open the target database to the outside world, making it easier for customers to perform grayscale verification and rollback before migration.
The design of DTS is based on database logical replication, which perfectly solves the database transaction commit/rollback consistency problem, including the node consistency problem in the distributed database.
A: v2v migration requires copying the entire machine files (data files, index files, archive logs, temporary tablespaces, etc.).
DTS only copies database tables and supports on-demand selection of libraries/tables/fields for copying, greatly improving copying efficiency and reducing IO and bandwidth usage.
Taking a 400GB Oracle database as an example, DTS only needs to migrate about 50GB of data in the data table space.
Q5: What other Benefits Are there when Using DTS to Migrate and Copy Databases?
A: 1. The database version can be upgraded during the migration process
Previously, it was MySQL 5.0. Due to poor query performance, the customer hoped to migrate to MySQL 8.3 to solve the above performance issues.
The customer wants to migrate the database deployed in Windows to a Linux virtual machine. The customer wants to migrate the database in a Linux VM to a target database running on k8s.
The customer database runs on the RDS of cloud vendors such as Huawei/Alibaba Cloud, and DTS can still be smoothly migrated to ZStack RDS or VM self-built database.
A: We provide permanent free use of 2 replication tasks (only supported by the above 4 open source products: MySQL, PG, MongoDB, and Hive)
PS: The replication from one source database to one target database is called one task.
It is now available on the ZStack Cube application market! One-click unpacking, 2 minutes to run, 10 minutes to complete the replication of 2,000 tables!