All Products
Search
Document Center

PolarDB:Billing

Last Updated:Mar 16, 2025

This topic describes the billable items and billing rules of PolarDB for PostgreSQL serverless clusters.

Billable items

Billable item

Description

Compute nodes

  • Serverless compute nodes include the primary node and read-only nodes.

  • Serverless compute nodes are scaled in units of 0.5 PolarDB Capacity Units (PCUs). The billing duration is accurate to the second, and bills are generated per hour based on PCUs. The hourly bill is calculated by using the following formula:

    (Sum of PCUs per second/3600) × Hourly price of PCUs

    The bill of a compute node depends on the region where the node is deployed and the usage duration.

Storage space

  • Storage space is used to store cluster data files, index files, log files, and temporary files. Log files include online and archived logs. You are charged for the storage space that your cluster uses.

  • The fee varies based on the volume of stored data and the retention period of data.

Note

Fees for serverless storage usage can be offset by storage plans. For more information about billing rules, see What are storage plans.

Backup storage space (charged only when the free quota is exceeded)

  • Backup files consume storage space. PolarDB provides a free storage quota for backup files. If the actual storage usage exceeds the quota, you are charged for the excess storage consumed by backup files.

  • The backup storage amount for which you are charged depends on the size of data backup files and the length of time for which the files are retained.

SQL Explorer (optional)

  • The SQL Explorer feature provides value-added capabilities, such as security auditing and performance diagnostics. After you enable this feature, you are charged for the amount of storage space consumed by audit logs.

  • The storage space amount for which you are charged depends on the size of audit logs and the length of time for which the logs are retained.

Note
  • If the serverless cluster runs normally, you are charged for the preceding billable items.

  • If the serverless cluster is stopped, you are not charged for compute nodes. However, you are charged for storage space, backup storage space, and SQL Explorer (optional).

Billing rules

Compute nodes

Compute nodes are billed on an hourly basis in PolarDB capacity units (PCUs). The billing duration is accurate to the second See the following table for details.

Note

PCU stands for PolarDB Capacity Unit. One PCU is approximately equal to the capacity of 1 core and 2 GB of memory. In a PolarDB serverless cluster, resources are scaled in units of 0.5 PCUs.

Table 1. Prices of a pay-as-you-go PCU (USD per hour)

Region

Enterprise Edition

Standard Edition

Regions in the Chinese mainland

0.061

0.054

China (Hong Kong)

0.116

0.102

Singapore

0.116

0.102

Indonesia (Jakarta)

0.107

0.094

Japan (Tokyo)

0.098

0.087

Germany (Frankfurt)

0.104

0.092

The hourly fees of compute nodes are calculated by using the following formula: [Unit price of PCUs × (Minimum number of read-only nodes + 1 primary node) × Minimum number of PCUs per node] to [Unit price of PCUs × (Maximum number of read-only nodes + 1 primary node) × Maximum number of PCUs per node].

Storage space

For serverless clusters, a serverless architecture is used for storage. Therefore, you do not need to specify the storage capacity when you purchase clusters. The storage capacity is automatically increased when the amount of data increases. You are charged only for the storage space that you use. The following tables describe the billing rules.

Table 2. Prices of pay-as-you-go storage (USD per GB-hour)

Storage type

Regions in the Chinese mainland

China (Hong Kong)

Singapore

Japan (Tokyo)

Indonesia (Jakarta)

Germany (Frankfurt)

ESSD PL0

Single-zone (hot standby storage cluster disabled)

0.00016

0.00016

0.000304

0.000256

0.00028

0.000273

ESSD PL1

Single-zone (hot standby storage cluster disabled)

0.000321

0.000321

0.000609

0.000513

0.000561

0.000545

ESSD PL2

Single-zone (hot standby storage cluster disabled)

0.000641

0.000641

0.001218

0.001026

0.001122

0.00109

ESSD PL3

Single-zone (hot standby storage cluster disabled)

0.001282

0.001282

0.002436

0.002051

0.002244

0.002179

ESSD AutoPL

Single-zone (hot standby storage cluster disabled)

0.000321

0.000321

0.000609

0.000513

0.000561

0.000545

PSL4

Single-zone (hot standby storage cluster disabled)

0.00025

0.00025

0.000276

0.000276

0.000276

0.000276

PSL5

Single-zone (hot standby storage cluster disabled)

0.000385

0.000385

0.000425

0.000425

0.000425

0.000425

Note

Fees for the usage of storage resources can be offset by storage plans. For more information about billing rules, see What are storage plans.

Backup storage space

Serverless clusters support level-1 backup, level -2 backup, and log backup. For information about the billing rules, see Billing rules for backup storage that exceeds the free quota.

️SQL Explorer

You are charged for SQL Explorer only after the SQL Explorer feature is enabled. For more information about how to enable SQL Explorer, see ️SQL Explorer. For more information, see Pricing of SQL Explorer.