ApsaraDB for SelectDB charges for three independent resources: compute, cache, and storage. Compute and cache support subscription and pay-as-you-go billing. Storage is always pay-as-you-go.
Both inbound and outbound Internet traffic are free of charge when you connect to an instance through a public endpoint. For more information, see Request and release a public endpoint.
Billable items
| Billable item | Billing method | Billing formula |
|---|---|---|
| Compute resources | Subscription, Pay-as-you-go | Unit price × Number of CCUs × Duration |
| Cache | Subscription, Pay-as-you-go | Unit price × Cache size (GB) × Duration |
| Storage resources | Pay-as-you-go only | Unit price × Storage size (GB) × Duration |
Compute resources
A Compute Capacity Unit (CCU) is the billing unit for compute resources. One CCU equals 1 vCPU and 4 GB of memory. Instance performance scales linearly with the number of CCUs. The compute resource specification must be an integer multiple of 1 CCU.
Pricing by region
| Region | Pay-as-you-go (USD/CCU/hour) | Subscription (USD/CCU/month) |
|---|---|---|
| China (Hangzhou), China (Shanghai), China (Qingdao), China (Beijing), China (Shenzhen), 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 |
Region | Pay-as-you-go unit price (CNY/CCU/hour) | Subscription unit price (CNY/CCU/month) |
China (Hangzhou), China (Shanghai), China (Qingdao), China (Beijing), China (Shenzhen), China (Guangzhou) | 0.335 | 160.725 |
China (Hohhot), China (Ulanqab), China (Heyuan), China (Chengdu) | 0.302 | 144.653 |
China (Zhangjiakou) | 0.234 | 112.508 |
China (Hong Kong) | 0.531 | 280.733 |
Singapore, Indonesia (Jakarta) | 0.483 | 257.595 |
Malaysia (Kuala Lumpur), Thailand (Bangkok) | 0.459 | 244.716 |
Philippines (Manila) | 0.435 | 231.836 |
Japan (Tokyo) | 0.501 | 284.041 |
South Korea (Seoul) | 0.376 | 244.716 |
US (Silicon Valley), US (Virginia) | 0.388 | 201.475 |
UK (London) | 0.447 | 257.595 |
Germany (Frankfurt) | 0.465 | 270.795 |
Mexico | 0.37399 | 179.43 |
Cache
The cache stores hot data to accelerate read and write operations. Available cache sizes depend on the selected compute resource specification.
Pricing by region
| Region | Pay-as-you-go (USD/GB/hour) | Subscription (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 |
Region | Pay-as-you-go unit price (CNY/GB/hour) | Subscription unit price (CNY/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.0021 | 1.00 |
China (Hong Kong), Singapore, Malaysia (Kuala Lumpur), Indonesia (Jakarta), Philippines (Manila), Thailand (Bangkok), US (Silicon Valley), US (Virginia) | 0.0033 | 1.52 |
Japan (Tokyo) | 0.00375 | 1.80 |
South Korea (Seoul) | 0.0031 | 1.44 |
UK (London), Germany (Frankfurt) | 0.0036 | 1.62 |
Mexico | 0.002066 | 0.984 |
Storage resources
Storage resources hold your full dataset. Billing is pay-as-you-go, charged hourly based on actual usage.
Tip: A storage plan can reduce storage costs by approximately 45%. If your storage usage is predictable, purchase a storage plan to offset pay-as-you-go charges.
Pricing by region and deployment architecture
Region | Instance deployment architecture | Pay-as-you-go unit price (CNY/GB/hour) |
China (Hangzhou), China (Shanghai), China (Qingdao), China (Beijing), China (Zhangjiakou), China (Hohhot), China (Ulanqab), China (Shenzhen), China (Heyuan), China (Guangzhou), China (Chengdu), China (Hong Kong), Singapore, Malaysia (Kuala Lumpur), Indonesia (Jakarta), Philippines (Manila), Thailand (Bangkok), Japan (Tokyo), South Korea (Seoul), US (Silicon Valley), US (Virginia), UK (London), Germany (Frankfurt) | Single-zone (locally redundant storage) | 0.0003 |
Multi-zone (zone-redundant storage) | 0.000375 | |
Mexico | Single-zone (locally redundant storage) | 0.00034 |
| Region | Instance deployment architecture | Pay-as-you-go (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 |
| China (Hangzhou), China (Shanghai), China (Qingdao), China (Beijing), China (Zhangjiakou), China (Hohhot), China (Ulanqab), China (Shenzhen), China (Heyuan), China (Guangzhou), China (Chengdu) | 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 |
| China (Hong Kong), Singapore, Indonesia (Jakarta), US (Virginia), UK (London), Germany (Frankfurt) | Multi-zone (zone-redundant storage) | 0.0000475 |
| Malaysia (Kuala Lumpur) | Single-zone (locally redundant storage) | 0.000039 |
| Malaysia (Kuala Lumpur) | Multi-zone (zone-redundant storage) | 0.00004875 |
| Japan (Tokyo) | Single-zone (locally redundant storage) | 0.000036 |
| Japan (Tokyo) | Multi-zone (zone-redundant storage) | 0.000045 |
| South Korea (Seoul), Philippines (Manila), Thailand (Bangkok) | Single-zone (locally redundant storage) | 0.000037 |
| South Korea (Seoul), Philippines (Manila), Thailand (Bangkok) | Multi-zone (zone-redundant storage) | 0.00004625 |
| US (Silicon Valley) | Single-zone (locally redundant storage) | 0.000035 |
| US (Silicon Valley) | Multi-zone (zone-redundant storage) | 0.00004375 |
| Mexico | Single-zone (locally redundant storage) | 0.000042 |
Billing examples
The following examples show the total monthly and hourly cost for a typical instance in the Singapore region: 4 CCUs (4 vCPUs, 16 GB memory) and 200 GB of cache, with an average of 500 GB of data stored.
Subscription
| Billable item | Calculation | Fee |
|---|---|---|
| Compute resources | USD 36.980/CCU/month × 4 CCUs × 1 month | USD 147.92 |
| Cache | USD 0.152/GB/month × 200 GB × 1 month | USD 30.40 |
| Storage resources | USD 0.000038/GB/hour × 500 GB × 30 days × 24 hours | USD 13.68 |
| Total | USD 192.00 |
Pay-as-you-go
| Billable item | Calculation | Fee |
|---|---|---|
| Compute resources | USD 0.069170/CCU/hour × 4 CCUs × 1 hour | USD 0.277 |
| Cache | USD 0.000253/GB/hour × 200 GB × 1 hour | USD 0.051 |
| Storage resources | USD 0.000038/GB/hour × 500 GB × 1 hour | USD 0.019 |
| Total | USD 0.347 |