Help Center> Data Admin Service> Billing> Billing Examples
Updated on 2024-01-11 GMT+08:00

Billing Examples

Billing Scenario

Suppose you set 10 instances as paid on March 18, 2023, 08:00:00 and set another 6 instances as paid on March 18, 2023, 10:00:00. The SQL storage of these instances increased by 0.5 GB per hour. How much will the service cost between March 18, 2023, 16:00:00 and March 19, 2023, 00:00:00?

Billing Analysis

The total price can be calculated as follows.

  • The first billing period:
    • March 18, 2023, 08:00:00 to March 19, 2023, 00:00:00
      • Instances: 10
      • Billing duration: 16 hours
    • March 18, 2023, 08:00:00 to March 19, 2023, 00:00:00
      • Extra space: 3 GB
      • Extra duration: 6 hours
  • The second billing period:
    • March 18, 2023, 10:00:00 to March 19, 2023, 00:00:00
      • Instances: 6
      • Billing duration: 14 hours
    • March 18, 2023, 10:00:00 to March 19, 2023, 00:00:00
      • Extra space: 2 GB
      • Extra duration: 4 hours

Price for the first billing period

From March 18, 2023, 08:00:00 to March 19, 2023, 00:00:00, each paid instance was used for 10 hours and used an extra space of 5 GB, so the price would be calculated as follows:

Figure 1 Price for the first ten instances set as paid

Price for the second billing period

From March 18, 2023, 10:00:00 to March 19, 2023, 00:00:00, each paid instance was used for 10 hours and used an extra space of 2 GB, so the price would be calculated as follows:

Figure 2 Price for the six instances set as paid

From 08:00:00 on March 18, 2023 to 00:00:00 on March 19, 2023, the total price for these instances is $19.38 USD (12.84 + 6.54).