Billing for Serverless instances
This topic describes the pricing and billing for OceanBase Database Serverless instances.
Billing items
The total fee for an OceanBase Database Serverless instance includes charges for compute nodes, storage capacity, and backup storage.
Billing item | Description |
Compute nodes |
|
Storage capacity |
|
Backup storage (charged for usage beyond the free quota) |
|
Billing rules
Compute nodes
OceanBase Database Serverless instances are billed based on OceanBase Compute Units (OCUs). One OCU is equivalent to approximately 1 vCPU and 2 GB of memory. The minimum compute resource for a single scaling operation is 0.5 OCU. You are charged for compute nodes per OCU-second, and bills are generated hourly. The prices are as follows:
Region | Series | CPU architecture | Deployment method | Unit | List price on China site (CNY/hour) |
Hangzhou | Standard Edition (Cloud Disk) | X86 | Dual-data center deployment | 1 OCU | 1.04 |
Shanghai | Standard Edition (Cloud Disk) | X86 | Dual-data center deployment | 1 OCU | 1.04 |
Qingdao | Standard Edition (Cloud Disk) | X86 | Dual-data center deployment | 1 OCU | 1.04 |
Beijing | Standard Edition (Cloud Disk) | X86 | Dual-data center deployment | 1 OCU | 1.04 |
Zhangjiakou | Standard Edition (Cloud Disk) | X86 | Dual-data center deployment | 1 OCU | 1.04 |
Shenzhen | Standard Edition (Cloud Disk) | X86 | Dual-data center deployment | 1 OCU | 1.04 |
Singapore | Standard Edition (Cloud Disk) | X86 | Dual-data center deployment | 1 OCU | 1.52 |
China (Hong Kong) | Standard Edition (Cloud Disk) | X86 | Dual-data center deployment | 1 OCU | 1.52 |
Malaysia (Kuala Lumpur) | Standard Edition (Cloud Disk) | X86 | Dual-data center deployment | 1 OCU | 1.52 |
Indonesia (Jakarta) | Standard Edition (Cloud Disk) | X86 | Dual-data center deployment | 1 OCU | 1.52 |
US (Silicon Valley) | Standard Edition (Cloud Disk) | X86 | Dual-data center deployment | 1 OCU | 1.94 |
US (Virginia) | Standard Edition (Cloud Disk) | X86 | Dual-data center deployment | 1 OCU | 1.94 |
Germany (Frankfurt) | Standard Edition (Cloud Disk) | X86 | Dual-data center deployment | 1 OCU | 1.52 |
For example, assume that you purchase a Serverless instance in the Singapore region and the instance consumes a total of 8,280 OCU-seconds of resources in one hour. The fee for compute nodes is calculated using the formula: Hourly fee for compute nodes = (Sum of actual OCUs per second / 3600) * Hourly price per OCU. The fee for the compute nodes of the Serverless cluster is: 8280 / 3600 * 1.52, which is CNY 3.496.
Storage capacity
When you purchase a Serverless instance, you do not need to specify a storage capacity because the storage capacity scales out automatically online as your data grows. You are charged only for the actual amount of storage space used, and bills are generated hourly. The following table lists the hourly price per replica for Serverless clusters.
Region | Billable item | Storage class | Storage Count | Unit | List price on China site (CNY/GB/hour) |
Hangzhou | Storage space | ESSD PL1 cloud disk | 1 | 1 GB | 0.00170 |
Shanghai | Storage space | ESSD PL1 cloud disk | 1 | 1 GB | 0.00170 |
Qingdao | Storage space | ESSD PL1 cloud disk | 1 | 1 GB | 0.00170 |
Beijing | Storage space | ESSD PL1 cloud disk | 1 | 1 GB | 0.00170 |
Zhangjiakou | Storage space | ESSD PL1 cloud disk | 1 | 1 GB | 0.00170 |
Shenzhen | Storage space | ESSD PL1 cloud disk | 1 | 1 GB | 0.00170 |
Singapore | Storage space | ESSD PL1 cloud disk | 1 | 1 GB | 0.00170 |
China (Hong Kong) | Storage space | ESSD PL1 cloud disk | 1 | 1 GB | 0.00170 |
Malaysia (Kuala Lumpur) | Storage space | ESSD PL1 cloud disk | 1 | 1 GB | 0.00170 |
Indonesia (Jakarta) | Storage space | ESSD PL1 cloud disk | 1 | 1 GB | 0.00170 |
US (Silicon Valley) | Storage space | ESSD PL1 cloud disk | 1 | 1 GB | 0.00170 |
US (Virginia) | Storage space | ESSD PL1 cloud disk | 1 | 1 GB | 0.00170 |
Germany (Frankfurt) | Storage space | ESSD PL1 cloud disk | 1 | 1 GB | 0.00170 |
The prices in the table are for a single replica.
Actual storage fee = Number of replicas * Hourly price per replica * Used storage size.Serverless instances use a dual-data center deployment, and the number of storage replicas is 2.
For example, assume that you purchase a Serverless instance in the Singapore region and the instance uses an average of 24 GB of storage in one hour. The storage fee is calculated using the following formula: Actual storage fee = Number of replicas * Hourly price per replica * Used storage size. The storage fee for the Serverless cluster is: 2 * 0.00170 * 24, which is CNY 0.0816.