All Products
Search
Document Center

PolarDB:Billing rules for storage

Last Updated:Dec 03, 2024

Storage prices vary based on the billing method and storage type. You can select a billing method from the guide section on the right side of the page to quickly view the billing rules for storage. PolarDB provides storage plans to help you reduce storage costs.

Subscription prices

The following tables describe the prices of different storage types.

Note
  • The available storage types vary based on the Edition of a cluster. For information about the storage types available for a cluster of a specific edition, go to the buy page.

  • Enterprise SSD (ESSD) AutoPL disks deliver the following performance types: baseline performance, provisioned performance, and burst performance. The baseline performance of an ESSD AutoPL disk is the same as the performance of an ESSD at performance level 1 (PL1 ESSD) that has the same specifications. For more information, see ESSD AutoPL disks. You can configure the IOPS performance of ESSD AutoPL disks when you purchase a cluster.

  • If the amount of your business data exceeds the pre-purchased storage, the processing rules vary based on the storage type.

    • ESSDs do not support auto-scaling. You must use Database Autonomy Service (DAS) to scale up the storage. To prevent your business from being affected due to insufficient storage, you can manually configure automatic storage scaling. For more information, see Configure automatic storage scaling for ESSDs. After you enable automatic storage scaling, the storage is automatically scaled up when the trigger conditions are met. The payment is deducted from your account upfront based on the scaled-up capacity. If your Alibaba Cloud account does not have sufficient balance to support the scale-up operation, the operation fails.

    • PSL4 and PSL5 support auto-scaling based on the actual storage usage. No additional operations are required. You are charged for storage usage that exceeds the subscribed capacity based on the pay-as-you-go billing method. If you purchase a storage plan, the excess storage usage is counted against the available capacity in the storage plan first. After the available capacity in the storage plan is exhausted, you are charged based on the pay-as-you-go billing method. For example, you purchase a storage capacity of 100 GB by using the subscription billing method and a storage plan of 50 GB, but have 200 GB of data. For the 100 GB of data that exceeds the purchased storage capacity, 50 GB is offset by the storage plan. You are charged for the remaining 50 GB based on the pay-as-you-go billing method.

Storage type

Price (USD per GB-month)

Regions in the Chinese mainland

China (Hong Kong)

Japan (Tokyo)

Singapore

Indonesia (Jakarta)

Germany (Frankfurt)

ESSD PL0

Dual-zone (hot standby storage cluster enabled)

0.12

0.12

0.20

0.23

0.22

0.21

Dual-zone (hot standby storage cluster and compute cluster enabled)

Three-zone (hot standby storage cluster and logger node enabled)

Single-zone (hot standby storage cluster disabled)

0.08

0.08

0.12

0.15

0.13

0.13

ESSD PL1

Dual-zone (hot standby storage cluster enabled)

0.25

0.25

0.39

0.47

0.43

0.42

Dual-zone (hot standby storage cluster and compute cluster enabled)

Three-zone (hot standby storage cluster and logger node enabled)

Single-zone (hot standby storage cluster disabled)

0.15

0.15

0.25

0.29

0.27

0.26

ESSD PL2

Dual-zone (hot standby storage cluster enabled)

0.49

0.49

0.79

0.94

0.86

0.84

Dual-zone (hot standby storage cluster and compute cluster enabled)

Three-zone (hot standby storage cluster and logger node enabled)

Single-zone (hot standby storage cluster disabled)

0.31

0.31

0.49

0.58

0.54

0.52

ESSD PL3

Dual-zone (hot standby storage cluster enabled)

0.98

0.98

1.58

1.87

1.72

1.67

Dual-zone (hot standby storage cluster and compute cluster enabled)

Three-zone (hot standby storage cluster and logger node enabled)

Single-zone (hot standby storage cluster disabled)

0.62

0.62

0.98

1.17

1.08

1.05

ESSD AutoPL

Dual-zone (hot standby storage cluster enabled)

Storage

0.25

0.25

0.39

0.47

0.43

0.42

Provisioned IOPS

USD 0.011088 per IOPS-month

Dual-zone (hot standby storage cluster and compute cluster enabled)

Storage

0.25

0.25

0.39

0.47

0.43

0.42

Provisioned IOPS

USD 0.011088 per IOPS-month

Three-zone (hot standby storage cluster and logger node enabled)

Storage

0.25

0.25

0.39

0.47

0.43

0.42

Provisioned IOPS

USD 0.011088 per IOPS-month

Single-zone (hot standby storage cluster disabled)

Storage

0.15

0.15

0.25

0.29

0.27

0.26

Provisioned IOPS

USD 0.006912 per IOPS-month

Storage type

Price (USD per GB-month)

Regions in the Chinese mainland

China (Hong Kong) and regions outside China

PSL4

Dual-zone (hot standby storage cluster enabled)

0.2380

0.2630

Dual-zone (hot standby storage cluster and compute cluster enabled)

Three-zone (hot standby storage cluster and logger node enabled)

Single-zone (hot standby storage cluster disabled)

0.1190

0.1315

PSL5

Dual-zone (hot standby storage cluster enabled)

0.3650

0.4030

Dual-zone (hot standby storage cluster and compute cluster enabled)

Three-zone (hot standby storage cluster and logger node enabled)

Single-zone (hot standby storage cluster disabled)

0.1825

0.2015

Pay-as-you-go prices

The following tables describe the prices of different storage types.

Note
  • The available storage types vary based on the Edition of a cluster. For information about the storage types available for a cluster of a specific edition, go to the buy page.

  • ESSD AutoPL disks deliver the following performance types: baseline performance, provisioned performance, and burst performance. The baseline performance of an ESSD AutoPL disk is the same as the performance of an ESSD at performance level 1 (PL1 ESSD) that has the same specifications. For more information, see ESSD AutoPL disks. You can configure the IOPS performance of ESSD AutoPL disks when you purchase a cluster.

  • If you select the ESSD storage type for a cluster, you must specify the storage capacity. You are charged per GB-hour based on the specified storage capacity. ESSDs does not support auto-scaling. You must use DAS to scale up the storage. To prevent your business from being affected due to insufficient storage, you can manually configure automatic storage scaling. For more information, see Configure automatic storage scaling for ESSDs. After you enable automatic storage scaling, the storage is automatically scaled up when the trigger conditions are met. The payment is deducted from your account upfront based on the scaled-up capacity. If your Alibaba Cloud account does not have sufficient balance to support the scale-up operation, the operation fails.image

  • If you select the PSL4 or PSL5 storage type for the cluster, you do not need to specify the storage capacity. The storage capacity automatically scales up as the amount of data increases. You are charged based on your actual storage usage.image

Storage type

Price (USD per GB-hour)

Regions in the Chinese mainland

China (Hong Kong)

Japan (Tokyo)

Singapore

Indonesia (Jakarta)

Germany (Frankfurt)

ESSD PL0

Dual-zone (hot standby storage cluster enabled)

0.0002565

0.0002565

0.0004104

0.0004872

0.0004488

0.0004360

Dual-zone (hot standby storage cluster and compute cluster enabled)

Three-zone (hot standby storage cluster and logger node enabled)

Single-zone (hot standby storage cluster disabled)

0.0001603

0.0001603

0.0002565

0.0003045

0.0002805

0.0002725

ESSD PL1

Dual-zone (hot standby storage cluster enabled)

0.0005128

0.0005128

0.0008205

0.0009744

0.0008974

0.0008718

Dual-zone (hot standby storage cluster and compute cluster enabled)

Three-zone (hot standby storage cluster and logger node enabled)

Single-zone (hot standby storage cluster disabled)

0.0003205

0.0003205

0.0005128

0.0006090

0.0005609

0.0005449

ESSD PL2

Dual-zone (hot standby storage cluster enabled)

0.0010256

0.0010256

0.0020513

0.0016410

0.0017949

0.0017436

Dual-zone (hot standby storage cluster and compute cluster enabled)

Three-zone (hot standby storage cluster and logger node enabled)

Single-zone (hot standby storage cluster disabled)

0.0006410

0.0006410

0.0010256

0.0012179

0.0011218

0.0010898

ESSD PL3

Dual-zone (hot standby storage cluster enabled)

0.0020513

0.0020513

0.0032821

0.0038974

0.0035898

0.0034872

Dual-zone (hot standby storage cluster and compute cluster enabled)

Three-zone (hot standby storage cluster and logger node enabled)

Single-zone (hot standby storage cluster disabled)

0.0012820

0.0012820

0.0020513

0.0024359

0.0022436

0.0021795

ESSD AutoPL

Dual-zone (hot standby storage cluster enabled)

Storage

0.0005123

0.0005123

0.0008197

0.0009738

0.0008969

0.0008709

Provisioned IOPS

USD 0.0000154 per IOPS-hour

Dual-zone (hot standby storage cluster and compute cluster enabled)

Storage

0.0005123

0.0005123

0.0008197

0.0009738

0.0008969

0.0008709

Provisioned IOPS

USD 0.0000154 per IOPS-hour

Three-zone (hot standby storage cluster and logger node enabled)

Storage

0.0005123

0.0005123

0.0008197

0.0009738

0.0008969

0.0008709

Provisioned IOPS

USD 0.0000154 per IOPS-hour

Single-zone (hot standby storage cluster disabled)

Storage

0.0003200

0.0003200

0.0005120

0.0006092

0.0005615

0.0005440

Provisioned IOPS

USD 0.0000096 per IOPS-hour

Storage type

Price (USD per GB-hour)

Regions in the Chinese mainland

China (Hong Kong) and regions outside China

PSL4

Dual-zone (hot standby storage cluster enabled)

0.000500

0.000552

Dual-zone (hot standby storage cluster and compute cluster enabled)

Three-zone (hot standby storage cluster and logger node enabled)

Single-zone (hot standby storage cluster disabled)

0.000250

0.000276

PSL5

Dual-zone (hot standby storage cluster enabled)

0.000748

0.000850

Dual-zone (hot standby storage cluster and compute cluster enabled)

Three-zone (hot standby storage cluster and logger node enabled)

Single-zone (hot standby storage cluster disabled)

0.000385

0.000425

Serverless prices

The following tables describe the prices of different storage types.

Note
  • The available storage types vary based on the Edition of the cluster. For the storage types available for a cluster of a specific database edition, go to the buy page.

  • If you select the PSL4 or PSL5 storage type for the cluster, you do not need to specify the storage capacity. The storage capacity automatically scales up as the amount of data increases. You are charged based on your actual storage usage.image

Storage type

Price (USD per GB-hour)

Regions in the Chinese mainland

China (Hong Kong) and regions outside China

PSL4

Dual-zone (hot standby storage cluster enabled)

0.000500

0.000552

Dual-zone (hot standby storage cluster and compute cluster enabled)

Three-zone (hot standby storage cluster and logger node enabled)

Single-zone (hot standby storage cluster disabled)

0.000250

0.000276

PSL5

Dual-zone (hot standby storage cluster enabled)

0.000748

0.000850

Dual-zone (hot standby storage cluster and compute cluster enabled)

Three-zone (hot standby storage cluster and logger node enabled)

Single-zone (hot standby storage cluster disabled)

0.000385

0.000425

Storage plans

You can use storage plans to offset the storage usage of pay-as-you-go or serverless clusters.

Note

Prices

The prices of storage plans vary based on the subscription duration and specifications. The higher the specifications and the longer the subscription duration, the more cost-effective a storage plan. For more information about the storage plan prices, see Prices.

Offset rules

A storage plan provides a fixed hourly quota to offset the storage usage of pay-as-you-go and Serverless clusters. For example, if you purchase a storage plan of 100 GB, you have a fixed quota of 100 GB per hour to offset the storage usage.

Storage type

Offset factor

Storage usage offset by using a 1-GB storage plan

Regions in the Chinese mainland

China (Hong Kong) and regions outside China

Regions in the Chinese mainland

China (Hong Kong) and regions outside China

ESSD PL0

Hot standby storage cluster and standby compute node enabled

0.35

2.86 GB

Hot standby storage cluster disabled

0.22

4.55 GB

ESSD PL1

Hot standby storage cluster and standby compute node enabled

0.70

1.43 GB

Hot standby storage cluster disabled

0.44

2.27 GB

ESSD PL2

Hot standby storage cluster and standby compute node enabled

1.41

0.71 GB

Hot standby storage cluster disabled

0.88

1.14 GB

ESSD PL3

Hot standby storage cluster and standby compute node enabled

2.82

0.35 GB

Hot standby storage cluster disabled

1.76

0.57 GB

ESSD AutoPL

Hot standby storage cluster and standby compute node enabled

Storage

0.70

1.43 GB

Provisioned IOPS

0.0206

0.0185

48.5437 provisioned IOPS

54.0541 provisioned IOPS

Hot standby storage cluster disabled

Storage

0.44

2.27 GB

Provisioned IOPS

0.0129

0.0115

77.5194 provisioned IOPS

86.9565 provisioned IOPS

PSL4

Hot standby storage cluster enabled

0.65

1.54 GB

Hot standby storage cluster disabled

0.325

3.08 GB

PSL5

Hot standby storage cluster enabled

1

1 GB

Hot standby storage cluster disabled

0.5

2 GB

Example 1: The storage plan can offset the storage usage of your clusters.

Your Alibaba Cloud account has a storage plan of 50 GB and the following PolarDB clusters:

Cluster name

Edition

Hot standby storage cluster enabled

Billing method (compute nodes)

Storage type

Storage billing method

Cluster storage usage

A

Cluster Edition

Yes

Subscription

PSL5

Subscription

2.76 GB (subscribed amount: 50.00 GB)

B

Cluster Edition

No

Subscription

PSL5

Pay-as-you-go

2.77 GB

C

Cluster Edition

No

Pay-as-you-go

PSL5

Pay-as-you-go

2.81 GB

D

Cluster Edition (Serverless)

Yes

Serverless

PSL5

Pay-as-you-go

45.07 GB

E

Standard Edition

No

Subscription

PL1 ESSD

Subscription

2.38 GB (subscribed amount: 100.00 GB)

50 50-GB storage plan automatically offsets the storage usage of the clusters:

  • Cluster A and Cluster E use the subscription.storage billing method. The storage plan does not offset the storage usage of the two clusters.

  • Cluster B has a cluster storage usage of 2.77 GB. An offset ratio of 0.5 is applied to the storage usage. As a result, 1.385 GB (calculated as 2.77 GB × 0.5) of the storage plan is used to offset the storage usage of the cluster. Then, the storage plan has a remaining capacity of 48.615 GB (calculated as 50 GB - 1.385 GB).

  • Cluster C has a cluster storage usage of 2.81 GB. An offset ratio of 0.5 is applied to the storage usage. As a result, 1.405 GB (calculated as 2.81 GB × 0.5) of the storage plan is used to offset the storage usage of the cluster. Then, the storage plan has a remaining capacity of 47.21 GB (calculated as 48.615 GB - 1.405 GB).

  • Cluster D has a cluster storage usage of 45.07 GB. An offset ratio of 1 is applied to the storage usage. As a result, 45.07 GB (calculated as 45.07 GB × 1) of the storage plan is used to offset the storage usage of the cluster. Then, the storage plan has a remaining capacity of 2.14 GB (calculated as 47.21 GB - 45.07 GB).

To sum up, a total of 47.86 GB (calculated as 1.385 GB + 1.405 GB + 45.07 GB) of the storage plan is used to offset the storage usage of the clusters. The storage plan has a remaining capacity of 2.14 GB (calculated as 50 GB - 47.86 GB).

Note

This example describes only how a storage plan offsets the cluster storage usage of the PolarDB clusters. Other types of storage usage, such as the storage usage of level-1 backups/data backups, level-2 backups, log backups, and cold data archiving, are not included in this example.

Example 2: The capacity of a storage plan is insufficient to offset the storage usage of your clusters.

Your Alibaba Cloud account has a storage plan of 50 GB and the following PolarDB clusters:

Cluster Name

Edition

Hot standby storage cluster enabled

Billing method (compute nodes)

Storage type

Storage billing method

Cluster storage usage

A

Cluster Edition

Yes

Subscription

PSL5

Subscription

2.76 GB (subscribed amount: 50.00 GB)

B

Cluster Edition

No

Subscription

PSL5

Pay-as-you-go

2.77 GB

C

Cluster Edition

No

Pay-as-you-go

PSL5

Pay-as-you-go

2.81 GB

D

Cluster Edition (Serverless)

Yes

Serverless

PSL5

Pay-as-you-go

45.07 GB

E

Standard Edition

No

Subscription

PL1 ESSD

Subscription

2.38 GB (subscribed amount: 100.00 GB)

F

Cluster Edition

Yes

Pay-as-you-go

PSL5

Pay-as-you-go

3.92 GB

50 50-GB storage plan automatically offsets the storage usage of the clusters:

  • Cluster A and Cluster E use the subscription.storage billing method. The storage plan does not offset the storage usage of the two clusters.

  • Cluster B has a cluster storage usage of 2.77 GB. An offset ratio of 0.5 is applied to the storage usage. As a result, 1.385 GB (calculated as 2.77 GB × 0.5) of the storage plan is used to offset the storage usage of the cluster. Then, the storage plan has a remaining capacity of 48.615 GB (calculated as 50 GB - 1.385 GB).

  • Cluster C has a cluster storage usage of 2.81 GB. An offset ratio of 0.5 is applied to the storage usage. As a result, 1.405 GB (calculated as 2.81 GB × 0.5) of the storage plan is used to offset the storage usage of the cluster. Then, the storage plan has a remaining capacity of 47.21 GB (calculated as 48.615 GB - 1.405 GB).

  • Cluster D has a cluster storage usage of 45.07 GB. An offset ratio of 1 is applied to the storage usage. As a result, 45.07 GB (calculated as 45.07 GB × 1) of the storage plan is used to offset the storage usage of the cluster. Then, the storage plan has a remaining capacity of 2.14 GB (calculated as 47.21 GB - 45.07 GB).

  • Cluster F has a cluster storage usage of 3.92 GB. An offset ratio of 1 is applied to the storage usage. However, the storage plan has a remaining capacity of 2.14 GB. Therefore, only 2.14 GB of the storage plan can be used to offset the storage usage of the cluster. After 2.14 GB of the storage plan is used to offset the storage usage of the cluster, the storage plan has a remaining capacity of 0 GB (calculated as 2.14 GB -2.14 GB). The remaining 1.78 GB (calculated as 3.92 GB - 2.14 GB) storage usage of the cluster is billed based on the pay-as-you-go billing method.

To sum up, a total of 50 GB (calculated as 1.385 GB + 1.405 GB + 45.07 GB + 2.14 GB) of the storage plan is used to offset the storage usage of the clusters. The remaining capacity of the storage plan is 0 GB (calculated as 50 GB - 50 GB).

Note

This example describes only how a storage plan offsets the cluster storage usage of the PolarDB clusters. Other types of storage usage, such as the storage usage of level-1 backups/data backups, level-2 backups, log backups, and cold data archiving, are not included in this example.

More

For more information about storage plans, see Storage plans.