This topic describes the billable items of ApsaraDB for SelectDB and their pricing.
Billable items
ApsaraDB for SelectDB includes the following billable items.
Billable item | Billing method | Billing rule |
Compute resources |
| Compute resource fee = Unit price of compute resources × Number of CCUs × Subscription duration or usage duration. Note 1 CCU = 1 vCPU and 4 GB of memory. The specification of compute resources must be an integer multiple of 1 vCPU and 4 GB of memory. |
Cache |
| Cache fee = Unit price of cache × Cache size × Subscription duration or usage duration. |
Storage resources | Pay-as-you-go | Storage resource fee = Unit price of storage resources × Storage size × Usage duration. Note If you use an instance for a long time, purchase a storage plan to save costs. The plan can be used to offset the pay-as-you-go usage of storage resources. |
If you request a public endpoint and use it to connect to an ApsaraDB for SelectDB instance, Internet traffic is generated. Currently, both inbound and outbound Internet traffic are free of charge when you connect to an ApsaraDB for SelectDB instance using a public endpoint. For more information about this feature, see Request and release a public endpoint.
Compute resources
A Compute Capacity Unit (CCU) is used to execute requests and return responses. The performance of an instance is proportional to its compute resource specification. One CCU is equivalent to 1 vCPU and 4 GB of memory.
Region | Pay-as-you-go unit price (USD/CCU/hour) | Subscription unit price (USD/CCU/month) |
China (Hangzhou), China (Shanghai), China (Qingdao), China (Beijing), China (Shenzhen), and China (Guangzhou) | 0.051850 | 24.876 |
China (Hohhot), China (Ulanqab), China (Heyuan), China (Chengdu) | 0.046742 | 22.389 |
China (Zhangjiakou) | 0.036218 | 17.414 |
China (Hong Kong) | 0.076369 | 40.302 |
Singapore, Indonesia (Jakarta) | 0.069170 | 36.980 |
Malaysia (Kuala Lumpur), Thailand (Bangkok) | 0.065733 | 35.131 |
Philippines (Manila) | 0.062296 | 33.282 |
Japan (Tokyo) | 0.071571 | 40.777 |
South Korea (Seoul) | 0.053847 | 35.131 |
US (Silicon Valley), US (Virginia) | 0.055514 | 28.924 |
UK (London) | 0.064368 | 36.980 |
Germany (Frankfurt) | 0.066769 | 38.875 |
Mexico | 0.05342 | 25.631 |
Cache
The cache stores hot data to accelerate read and write operations. The available cache size range depends on the selected compute resource specification.
Region | Pay-as-you-go unit price (USD/GB/hour) | Subscription unit price (USD/GB/month) |
China (Hangzhou), China (Shanghai), China (Qingdao), China (Beijing), China (Zhangjiakou), China (Hohhot), China (Ulanqab), China (Shenzhen), China (Heyuan), China (Guangzhou), China (Chengdu) | 0.000319 | 0.153 |
China (Hong Kong) | 0.000279 | 0.167 |
Singapore, Malaysia (Kuala Lumpur), Indonesia (Jakarta), Philippines (Manila), Thailand (Bangkok), Japan (Tokyo), US (Silicon Valley) | 0.000253 | 0.152 |
South Korea (Seoul) | 0.000241 | 0.144 |
US (Virginia) | 0.000211 | 0.127 |
UK (London) | 0.000245 | 0.147 |
Germany (Frankfurt) | 0.000251 | 0.151 |
Mexico | 0.000292 | 0.14 |
Storage resources
Storage resources are used to store full data. By default, storage resources are pay-as-you-go, and you are billed hourly for your actual storage usage.If you can estimate your instance storage usage, you can purchase a storage plan to offset your pay-as-you-go bills. A storage plan can reduce your storage costs by approximately 45%. For more information about storage plans, see Storage plans.
Region | Instance deployment architecture | Pay-as-you-go unit price (USD/GB/hour) |
China (Hangzhou), China (Shanghai), China (Qingdao), China (Beijing), China (Zhangjiakou), China (Hohhot), China (Ulanqab), China (Shenzhen), China (Heyuan), China (Guangzhou), China (Chengdu) | Single-zone (locally redundant storage) | 0.000043 |
Multi-zone (zone-redundant storage) | 0.00005375 | |
China (Hong Kong), Singapore, Indonesia (Jakarta), US (Virginia), UK (London), Germany (Frankfurt) | Single-zone (locally redundant storage) | 0.000038 |
Multi-zone (zone-redundant storage) | 0.0000475 | |
Malaysia (Kuala Lumpur) | Single-zone (locally redundant storage) | 0.000039 |
Multi-zone (zone-redundant storage) | 0.00004875 | |
Japan (Tokyo) | Single-zone (locally redundant storage) | 0.000036 |
Multi-zone (zone-redundant storage) | 0.000045 | |
South Korea (Seoul), Philippines (Manila), Thailand (Bangkok) | Single-zone (locally redundant storage) | 0.000037 |
Multi-zone (zone-redundant storage) | 0.00004625 | |
US (Silicon Valley) | Single-zone (locally redundant storage) | 0.000035 |
Multi-zone (zone-redundant storage) | 0.00004375 | |
Mexico | Single-zone (locally redundant storage) | 0.000042 |
Billing examples
Subscription
Assume that you purchase a subscription instance in the Singapore region with 4 vCPUs and 16 GB of memory (4 CCUs) and 200 GB of cache. The subscription duration is one month. During this month, assume the instance stores an average of 500 GB of data. The total fee for the instance for one month is USD 192.00. The cost breakdown is as follows:
Compute resource fee: USD 36.980/CCU/month × 4 CCUs × 1 month = USD 147.92.
Cache fee: USD 0.152/GB/month × 200 GB × 1 month = USD 30.40.
Storage resource fee: USD 0.000038/GB/hour × 500 GB × 30 days × 24 hours = USD 13.68.
Pay-as-you-go
Assume that you purchase a pay-as-you-go instance in the Singapore region with 4 vCPUs and 16 GB of memory (4 CCUs) and 200 GB of cache. You use the instance for one hour. During this hour, assume the instance stores an average of 500 GB of data. The total fee for the instance for one hour is USD 0.347. The cost breakdown is as follows:
Compute resource fee: USD 0.069170/CCU/hour × 4 CCUs × 1 hour = USD 0.277.
Cache fee: USD 0.000253/GB/hour × 200 GB × 1 hour = USD 0.051.
Storage resource fee: USD 0.000038/GB/hour × 500 GB × 1 hour = USD 0.019.