Billing for Serverless instances

更新时间:
复制 MD 格式

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

  • The minimum scaling granularity for Serverless compute nodes is 0.5 OceanBase Capacity Unit (OCU). Compute nodes are billed per OCU per second, and bills are generated hourly. The hourly fee is calculated using the following formula: (Sum of actual OCUs per second / 3600) * Hourly price per OCU

  • The fee for compute nodes depends on the node region, resource specifications, and usage duration.

Storage capacity

  • Storage capacity refers to the space used by data files, manifests, log files (such as transaction logs, Binlog logs, and audit logs), and temporary files. You are charged for the storage space that you use. The hourly fee is calculated using the following formula: Number of replicas * Hourly price per replica * Used storage size

  • The storage fee depends on the instance region, data volume, and storage duration.

Backup storage (charged for usage beyond the free quota)

  • Serverless instances currently support only local level-1 backups.

  • Backup files include data backups and log backups.

  • Backup files use storage space. OceanBase Database provides a free quota. You are charged for storage that exceeds this quota. For more information about the billing rules, see Billing for Serverless instance backups.

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

Note
  • 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.