All Products
Search
Document Center

Data Transmission Service:Billing of DTS serverless instances

Last Updated:Aug 20, 2024

This topic describes the billing method and billing rules of Data Transmission Service (DTS) serverless instances.

Billing method

Only the pay-as-you-go billing method is supported.

Billing rules

Billable item

Unit price

Billing rule

DTS units (DUs)

The unit price displayed on the buy page prevails.

Note

Unit: CNY per DU-hour

  • DTS dynamically adjusts the resource specifications of a serverless instance at a one-minute interval based on the workload of the instance. The resource specifications are adjusted by changing the number of DUs. You are charged based on the actual resource usage. A bill is generated per hour for a running serverless instance. The amount of fees is rounded to four decimal places.

  • The fees charged for a serverless instance are related to factors such as the unit price of a DU, the number of DUs consumed, the running duration of the instance, and the number of distributed database nodes.

    Note
    • If the number of DUs consumed by a serverless instance is dynamically adjusted during a billing cycle, the average number of DUs consumed is used to calculate the fees for the instance. The average number is rounded to eight decimal places.

    • The number of DUs after adjustment is used to calculate the fees only if the number of DUs reaches the upper limit or if the corresponding resource specifications meet performance requirements.

  • The fees displayed on your bills prevail. For more information, see View bills.

FAQ

  • How does DTS calculate the average number of DUs consumed by a serverless instance?

    For example, during a billing cycle of 60 minutes, a serverless instance runs with 8 DUs for 20 minutes, 4 DUs for 30 minutes, and 2 DUs for 10 minutes. The average number of DUs consumed by the instance during the billing cycle is 5.

    The average number of DUs is calculated by using the following formula: (8 × 20 + 4 × 30 + 2 × 10)/60 = 5.

    image
  • Does the fee displayed on the buy page of a serverless instance equal the total fee of the instance?

    No. The fee displayed on the buy page of a serverless instance is the fee required for running the instance with 1 DU for an hour.

  • Can I calculate the fees for a serverless instance before I run the instance?

    No. You cannot calculate the fees for a serverless instance before you run the instance because the number of DUs consumed by the instance changes dynamically. Check your bills for the actual fees.

  • Am I charged for serverless instances that are paused?

    Yes. A paused serverless instance consumes 1 DU of resources and incurs fees.