Skip to content

Latest commit

 

History

History
58 lines (35 loc) · 4.11 KB

tidb-cloud-billing-dm.md

File metadata and controls

58 lines (35 loc) · 4.11 KB
title summary
Data Migration Billing
Learn about billing for Data Migration in TiDB Cloud.

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.

Specification Full data migration Incremental data migration Maximum number of tables
2 RCUs 25 MiB/s 10,000 rows/s 500
4 RCUs 35 MiB/s 20,000 rows/s 10000
8 RCUs 40 MiB/s 40,000 rows/s 30000
16 RCUs 45 MiB/s 80,000 rows/s 60000

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

Note:

  • If the number of tables to be migrated exceeds the maximum number of tables, the Data Migration job might still run, but the job could become unstable or even fail.
  • All the performance values in this table are maximum and optimal ones. It is assumed that there are no performance, network bandwidth, or other bottlenecks in the upstream and downstream databases. The performance values are for reference only and might vary in different scenarios.

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