ApsaraDB

更新时间:
复制 MD 格式

This topic describes the billing rules and provides a billing example for ApsaraDB.

Billing rules

ApsaraDB is billed based on three dimensions: capacity, read operations, and write operations.

Billable item

Description

Billing period

Billing formula

Capacity

Billed based on the peak capacity per day.

Billed daily. The fee is automatically deducted from your account.

Peak daily capacity × Unit price

Read operand

Billed based on the number of read (query) operations. One read operation is counted for every 4 KB of data read from a data table. The number of operations is rounded up. For example, reading 7.6 KB of data is counted as two read operations.

Billed daily. The fee is automatically deducted from your account.

Number of read operations × Unit price

Write Operand

Billed based on the number of write (add, delete, or modify) operations. One write operation is counted for every 1 KB of data written to a data table. The number of operations is rounded up. For example, writing 1.8 KB of data is counted as two write operations.

Billed daily. The fee is automatically deducted from your account.

Number of write operations × Unit price

Billing example

The following example shows how to calculate the daily charges using pay-as-you-go unit prices.

Example 1

Capacity

Read the operand

Write operand

Daily bill

2 GB

100,000

50,000

CNY 0.54

Calculation formula:

  • Capacity fee: 2 GB × CNY 0.07/GB = CNY 0.14

  • Read operation fee: 100,000 operations × CNY 0.015 per 10,000 operations = CNY 0.15

  • Write operation fee: 50,000 operations × CNY 0.05 per 10,000 operations = CNY 0.25

  • Total fee = Capacity fee + Read operation fee + Write operation fee = CNY 0.54