Parameter Description
When purchasing a DTS task, users need to select a task specification. Different specifications correspond to different transfer performance, which is measured in RPS.
RPS indicates the number of rows that DTS incrementally migrates from the source database to the target database per second. For example, if DTS incrementally migrates 2,000 rows of data from the source database to the target database per second, the RPS is 2,000.
Specification Description
The data migration link provides the following specification options.
Note:
RPS is affected by multiple factors, such as the source database configuration, network latency, and the complexity of source database data. The following DTS RPS performance reference is based on a data record size of 1 KB. Using larger data records may result in lower RPS.
|
small | 2000 |
medium | 5000 |
large | 6000 |
xlarge | 7000 |
2xlarge | 11000 |
4xlarge | 17000 |
8xlarge | 34000 |
Testing Model
Test process: Create an incremental data migration task between two TencentDB for MySQL instances, perform stress testing on the source MySQL database, and evaluate the performance of incremental data migration.
|
Source Database | Instance specifications: 16 cores, 32000 MB Disk: 200 GB | Max QPS: 12000 Max IOPS: 32000 |
Target Database | Instance specifications: 16 cores, 32000 MB Disk: 200 GB | Max QPS: 12000
Max IOPS: 32000 |
Test model:
There are 20 test tables, each containing approximately 2 million rows of data, with each data record being about 1 KB in size.
All test tables have primary keys.
Each transaction contains an average of two DML operations and one COMMIT, with the ratio of INSERT, UPDATE, and DELETE operations being 1:1:1.
Note:
The test results in this section are based on a data record size of 1 KB. In actual use, larger data records may result in lower RPS.
Test Results
After stress testing the small, medium, and large specifications, the RPS results are as follows.
|
Same region in China: Guangzhou > Guangzhou | 3.46ms | 2.14ms | small | 2000 |
| 2.51ms | 2.21ms | medium | 5000 |
| 10.1ms | 2.20ms | large | 6000 |
Cross-region in China: Guangzhou > Beijing | 37.6ms | 33ms | small | 2000 |
| 68.2ms | 33.2ms | medium | 5000 |
| 48.2ms | 36.4ms | large | 6000 |
Same region outside China: Singapore > Singapore | 2.31ms | 240μs | small | 2000 |
| 2.45ms | 273μs | medium | 5000 |
| 2.11ms | 241μs | large | 6000 |
Cross-region outside China: Singapore > Silicon Valley | 200ms | 174ms | small | 2000 |
| 201ms | 175ms | medium | 5000 |
| 204ms | 175ms | large | 6000 |
Cross-region between China and other countries: Guangzhou > Silicon Valley | 255ms | 162ms | small | 2000 |
| 309ms | 151ms | medium | 5000 |
| 174ms | 152ms | large | 6000 |