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 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 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 |
Billing examples
Subscription
Assume that you purchase a subscription instance in the China (Hangzhou) region for one month. The instance has 4-core 16 GB (4 CCUs) of compute resources and 200 GB of cache. During this month, assume the instance stores a constant 500 GB of data. The total fee for the instance for one month is CNY 950.90:
Compute resource fee: CNY 160.725/CCU/month × 4 CCUs × 1 month = CNY 642.90.
Cache fee: CNY 1.00/GB/month × 200 GB × 1 month = CNY 200.00.
Storage resource fee: CNY 0.0003/GB/hour × 500 GB × 30 days × 24 hours = CNY 108.00.
Pay-as-you-go
Assume that you purchase a pay-as-you-go instance in the China (Hangzhou) region and use it for one hour. The instance has 4-core 16 GB (4 CCUs) of compute resources and 200 GB of cache. During this hour, assume the instance stores a constant 500 GB of data. The total fee for the instance for one hour is CNY 1.91:
Compute resource fee: CNY 0.335/CCU/hour × 4 CCUs × 1 hour = CNY 1.34.
Cache fee: CNY 0.0021/GB/hour × 200 GB × 1 hour = CNY 0.42.
Storage resource fee: CNY 0.0003/GB/hour × 500 GB × 1 hour = CNY 0.15.