Data Migration Billing

This document describes the billing for Data Migration in TiDB Cloud.

Specifications for Data Migration

TiDB Cloud measures the capacity of Data Migration in Replication Capacity Units (RCUs). When you create a Data Migration job, you can select an appropriate specification. The higher the RCU, the better the migration performance. You will be charged for these Data Migration RCUs.

The following table lists the corresponding performance and the maximum number of tables that each Data Migration specification can migrate.

SpecificationFull data migrationIncremental data migrationMaximum number of tables
2 RCUs25 MiB/s10,000 rows/s500
4 RCUs35 MiB/s20,000 rows/s10000
8 RCUs40 MiB/s40,000 rows/s30000
16 RCUs45 MiB/s80,000 rows/s60000

For more information about the prices of Data Migration RCUs, see Data Migration Cost.

The Data Migration job measures full data migration performance in MiB/s. This unit indicates the amount of data (in MiB) that is migrated per second by the Data Migration job.

The Data Migration job measures incremental data migration performance in rows/s. This unit indicates the number of rows that are migrated to the target database per second. For example, if the upstream database executes INSERT, UPDATE, or DELETE statements of 10,000 rows in about 1 second, the Data Migration job of the corresponding specification can replicate the 10,000 rows to the downstream in about 1 second.

Price

To learn about the supported regions and the price of TiDB Cloud for each Data Migration RCU, see Data Migration Cost.

The Data Migration job is in the same region as the target TiDB node.

Note that if you are using AWS PrivateLink or VPC peering connections, and if the source database and the TiDB node are not in the same region or not in the same availability zone (AZ), two additional traffic charges will be incurred: cross-region and cross-AZ traffic charges.

  • If the source database and the TiDB node are not in the same region, cross-region traffic charges are incurred when the Data Migration job collects data from the source database.

    Cross-region traffic charges

  • If the source database and the TiDB node are in the same region but in different AZs, cross-AZ traffic charges are incurred when the Data Migration job collects data from the source database.

    Cross-AZ traffic charges

  • If the Data Migration job and the TiDB node are not in the same AZ, cross-AZ traffic charges are incurred when the Data Migration job writes data to the target TiDB node. In addition, if the Data Migration job and the TiDB node are not in the same AZ (or region) with the source database, cross-AZ (or cross-region) traffic charges are incurred when the Data Migration job collects data from the source database.

    Cross-region and cross-AZ traffic charges

The cross-region and cross-AZ traffic prices are the same as those for TiDB Cloud. For more information, see TiDB Cloud Pricing Details.

See also

Was this page helpful?