This topic describes the billable items and billing rules of PolarDB for PostgreSQL serverless clusters.
Billable items
Billable item | Description |
Compute nodes |
|
Storage space |
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) |
|
SQL Explorer (optional) |
|
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.
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 |
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.