Storage space billing rules
Storage pricing depends on the billing method and storage type. Select a billing method from the guide section on the right to view the storage billing rules. Additionally, PolarDB offers storage plans to reduce costs.
Subscription pricing
PolarDB offers a pricing calculator. Use the pricing calculator to view pricing by region and storage type. It also lets you estimate costs based on your cluster configuration and storage capacity.
Prices for different storage types are listed below. For detailed pricing, see the pricing calculator.
The available storage types vary by edition. For details on supported storage types, see the buy page.
You can get a 20% discount on ESSD cloud disks if you enable hot standby clusters.
The performance of an ESSD AutoPL disk is the sum of its baseline performance, provisioned performance, and burst performance. The baseline performance is the same as an ESSD cloud disk at performance level 1 (PL1). For more information, see ESSD AutoPL disk. When you purchase the disk, you can configure its provisioned performance to increase its IOPS.
If your business data exceeds the purchased storage capacity, handling varies by storage type:
ESSD cloud disk: These disks do not support auto-scaling by default. Use Database Autonomy Service (DAS) to scale up their storage capacity. To prevent service interruptions from insufficient storage capacity, you can manually configure auto-scaling. For more information, see Configure automatic storage scaling for ESSD cloud disks. After you enable auto-scaling, you are pre-charged for additional capacity when trigger conditions are met. A scale-up fails if your Alibaba Cloud account has an insufficient balance.
PSL4/PSL5: These storage types scale automatically based on usage. Storage usage that exceeds your purchased capacity is charged on a pay-as-you-go basis. If you have purchased a storage plan, usage that exceeds your purchased capacity is first offset by the storage plan. Any remaining excess usage is charged on a pay-as-you-go basis. For example, if you purchase 100 GB of subscription storage capacity and a 50 GB storage plan, and your total data usage is 200 GB, this results in 100 GB of excess usage. Of this excess, 50 GB is offset by the storage plan, and the remaining 50 GB is charged on a pay-as-you-go basis.
Storage type | Price (CNY/GB/Month) | |||||||||
Chinese mainland | China (Hong Kong) | Korea (Seoul) | Japan (Tokyo) | Singapore | Indonesia (Jakarta) | Germany (Frankfurt) | US (Virginia) | |||
ESSD PL0 | Dual availability zones (storage hot-standby cluster enabled) | 0.80 | 0.80 | - | 1.28 | 1.52 | 1.40 | 1.36 | 1.04 | |
Dual availability zones (storage and compute hot-standby clusters enabled) | ||||||||||
Three availability zones (storage hot-standby cluster and logger node enabled) | ||||||||||
Single availability zone (storage hot-standby cluster disabled) | 0.50 | 0.50 | - | 0.80 | 0.95 | 0.875 | 0.85 | 0.65 | ||
ESSD PL1 | Dual availability zones (storage hot-standby cluster enabled) | 1.60 | 1.60 | 1.60 | 2.56 | 3.04 | 2.80 | 2.72 | 2.08 | |
Dual availability zones (storage and compute hot-standby clusters enabled) | ||||||||||
Three availability zones (storage hot-standby cluster and logger node enabled) | ||||||||||
Single availability zone (storage hot-standby cluster disabled) | 1.00 | 1.00 | 1.00 | 1.60 | 1.90 | 1.75 | 1.70 | 1.30 | ||
ESSD PL2 | Dual availability zones (storage hot-standby cluster enabled) | 3.20 | 3.20 | 3.20 | 5.12 | 6.08 | 5.60 | 5.44 | 4.16 | |
Dual availability zones (storage and compute hot-standby clusters enabled) | ||||||||||
Three availability zones (storage hot-standby cluster and logger node enabled) | ||||||||||
Single availability zone (storage hot-standby cluster disabled) | 2.00 | 2.00 | 2.00 | 3.20 | 3.80 | 3.50 | 3.40 | 2.60 | ||
ESSD PL3 | Dual availability zones (storage hot-standby cluster enabled) | 6.40 | 6.40 | 6.40 | 10.24 | 12.16 | 11.20 | 10.88 | 8.32 | |
Dual availability zones (storage and compute hot-standby clusters enabled) | ||||||||||
Three availability zones (storage hot-standby cluster and logger node enabled) | ||||||||||
Single availability zone (storage hot-standby cluster disabled) | 4.00 | 4.00 | 4.00 | 6.40 | 7.60 | 7.00 | 6.80 | 5.20 | ||
ESSD AutoPL | Dual availability zones (storage hot-standby cluster enabled) | Cloud disk space | 1.60 | 1.60 | 1.60 | 2.56 | 3.04 | 2.80 | 2.72 | 2.08 |
Provisioned IOPS | CNY 0.072 per IOPS-month | |||||||||
Dual availability zones (storage and compute hot-standby clusters enabled) | Cloud disk space | 1.60 | 1.60 | 1.60 | 2.56 | 3.04 | 2.80 | 2.72 | 2.08 | |
Provisioned IOPS | CNY 0.072 per IOPS-month | |||||||||
Three availability zones (storage hot-standby cluster and logger node enabled) | Cloud disk space | 1.60 | 1.60 | 1.60 | 2.56 | 3.04 | 2.80 | 2.72 | 2.08 | |
Provisioned IOPS | CNY 0.072 per IOPS-month | |||||||||
Single availability zone (storage hot-standby cluster disabled) | Cloud disk space | 1.00 | 1.00 | 1.60 | 1.60 | 1.90 | 1.75 | 1.70 | 1.30 | |
Provisioned IOPS | CNY 0.045 per IOPS-month | |||||||||
Storage type | Price (CNY/GB/month) | ||
Chinese mainland | Hong Kong (China) and other regions | ||
PSL4 | Dual-AZ with storage hot-standby cluster | 1.500 | 1.670 |
Dual-AZ with storage and compute hot-standby clusters | |||
Three-AZ with storage hot-standby cluster and logger nodes | |||
Single-AZ without storage hot-standby cluster | 0.750 | 0.835 | |
PSL5 | Dual-AZ with storage hot-standby cluster | 2.270 | 2.530 |
Dual-AZ with storage and compute hot-standby clusters | |||
Three-AZ with storage hot-standby cluster and logger nodes | |||
Single-AZ without storage hot-standby cluster | 1.135 | 1.265 | |
Pay-as-you-go pricing
ApsaraDB for PolarDB has launched a pricing calculator. You can use the pricing calculator to view pricing information for different regions and storage types. In addition, you can estimate the total cost based on the specific configuration and storage capacity of your selected cluster.
The prices for different storage types are listed below. For more pricing information, see the pricing calculator.
Supported storage types vary by edition. For details, see the buy page.
After enabling a hot standby cluster for an ESSD cloud disk, you receive a 20% discount.
The performance of an ESSD AutoPL disk is the sum of its baseline performance, provisioned performance, and burst performance. Its baseline performance is the same as that of an ESSD cloud disk at PL1. For more information, see ESSD AutoPL disk. When you purchase the disk, you can configure provisioned performance to increase IOPS.
For an ESSD cloud disk, you must preselect a storage capacity, and you are billed per GB-hour based on this capacity. The disk itself does not support automatic storage scaling. You must use Database Autonomy Service (DAS) to expand the storage space. To prevent service disruptions caused by insufficient storage, you can configure automatic storage scaling. For more information, see Configure automatic storage scaling for ESSD cloud disks. After enabling automatic storage scaling, the system pre-charges you for the additional capacity when the scaling trigger conditions are met. The scale-up fails if your Alibaba Cloud account has an insufficient balance. When you set the storage engine to InnoDB, you can set the storage space from 20 GB to 64,000 GB by using a slider or entering a value. The system displays the maximum IOPS and a reference price based on the selected storage type and capacity.
For PSL4 and PSL5, you do not need to select a storage capacity. Storage scales automatically as your data grows, and you are billed only for the storage space you use. In the Storage section, you can set the storage type to PSL5 or PSL4 and the storage engine to InnoDB or InnoDB & high-compression engine. In Enterprise Edition read/write splitting scenarios, multiple compute nodes share a single copy of data. You do not need to select a storage capacity at purchase. You are charged hourly based on actual usage, or you can purchase a storage package at a discount.
Storage type | Price (CNY/GB/hour) | ||||||||
Chinese mainland | China (Hong Kong) | Japan (Tokyo) | Singapore | Indonesia (Jakarta) | Germany (Frankfurt) | US (Virginia) | |||
ESSD PL0 | dual-AZ (with storage hot-standby cluster) | 0.001667 | 0.001667 | 0.0026672 | 0.003167 | 0.002917 | 0.0028339 | 0.0028339 | |
dual-AZ (with storage and compute hot-standby clusters) | |||||||||
three-AZ (with storage hot-standby cluster and logger node) | |||||||||
single-AZ (storage hot-standby cluster disabled) | 0.001042 | 0.001042 | 0.0016672 | 0.001979 | 0.001823 | 0.0017714 | 0.0017714 | ||
ESSD PL1 | dual-AZ (with storage hot-standby cluster) | 0.00333336 | 0.00333336 | 0.005333376 | 0.00633334 | 0.00583338 | 0.005666712 | 0.005666712 | |
dual-AZ (with storage and compute hot-standby clusters) | |||||||||
three-AZ (with storage hot-standby cluster and logger node) | |||||||||
single-AZ (storage hot-standby cluster disabled) | 0.0020833 | 0.0020833 | 0.00333328 | 0.00395833 | 0.00364578 | 0.00354161 | 0.00354161 | ||
ESSD PL2 | dual-AZ (with storage hot-standby cluster) | 0.00666664 | 0.00666664 | 0.010666624 | 0.01266666 | 0.01166662 | 0.011333288 | 0.011333288 | |
dual-AZ (with storage and compute hot-standby clusters) | |||||||||
three-AZ (with storage hot-standby cluster and logger node) | |||||||||
single-AZ (storage hot-standby cluster disabled) | 0.0041667 | 0.0041667 | 0.00666672 | 0.00791667 | 0.00729173 | 0.00708339 | 0.00708339 | ||
ESSD PL3 | dual-AZ (with storage hot-standby cluster) | 0.01333336 | 0.01333336 | 0.021333376 | 0.02533334 | 0.02333338 | 0.022666712 | 0.022666712 | |
dual-AZ (with storage and compute hot-standby clusters) | |||||||||
three-AZ (with storage hot-standby cluster and logger node) | |||||||||
single-AZ (storage hot-standby cluster disabled) | 0.0083333 | 0.0083333 | 0.01333328 | 0.01583333 | 0.01458328 | 0.01416661 | 0.01416661 | ||
ESSD AutoPL | dual-AZ (with storage hot-standby cluster) | Cloud disk space | 0.00333 | 0.00333 | 0.005328 | 0.00633 | 0.00583 | 0.005661 | 0.005661 |
Provisioned IOPS | CNY 0.0001/IOPS/hour | CNY 0.0001/IOPS/hour | |||||||
dual-AZ (with storage and compute hot-standby clusters) | Cloud disk space | 0.00333 | 0.00333 | 0.005328 | 0.00633 | 0.00583 | 0.005661 | 0.005661 | |
Provisioned IOPS | CNY 0.0001/IOPS/hour | CNY 0.0001/IOPS/hour | |||||||
three-AZ (with storage hot-standby cluster and logger node) | Cloud disk space | 0.00333 | 0.00333 | 0.005328 | 0.00633 | 0.00583 | 0.005661 | 0.005661 | |
Provisioned IOPS | CNY 0.0001/IOPS/hour | CNY 0.0001/IOPS/hour | |||||||
single-AZ (storage hot-standby cluster disabled) | Cloud disk space | 0.00208 | 0.00208 | 0.003328 | 0.00396 | 0.00365 | 0.003536 | 0.003536 | |
Provisioned IOPS | CNY 0.0000625/IOPS/hour | CNY 0.0000625/IOPS/hour | |||||||
Storage type | Price (CNY/GB/hour) | ||
Chinese mainland | China (Hong Kong) and international | ||
PSL4 | Dual-AZ (storage hot-standby cluster enabled) | 0.00316 | 0.00352 |
Dual-AZ (storage hot-standby cluster and compute hot-standby cluster enabled) | |||
Triple-AZ (storage hot-standby cluster and logger node enabled) | |||
Single-AZ (storage hot-standby cluster disabled) | 0.00158 | 0.00176 | |
PSL5 | Dual-AZ (storage hot-standby cluster enabled) | 0.00486 | 0.00542 |
Dual-AZ (storage hot-standby cluster and compute hot-standby cluster enabled) | |||
Triple-AZ (storage hot-standby cluster and logger node enabled) | |||
Single-AZ (storage hot-standby cluster disabled) | 0.00243 | 0.00271 | |
Serverless pricing
PolarDB provides a pricing calculator. You can use the pricing calculator to view prices for different regions and storage types. You can also estimate the total cost based on your cluster's configuration and storage capacity.
The prices for different storage types are listed below. For more pricing information, see the pricing calculator.
The supported storage types vary by edition. For details, see the buy page.
For PSL4 and PSL5, you do not need to specify a storage capacity. The storage scales automatically as your data grows, and you are charged only for the storage you use. In the Storage section, you can set the storage type to PSL5 or PSL4 and the storage engine to InnoDB or InnoDB & high-compression engine. For an Enterprise Edition cluster in a read/write splitting scenario, multiple compute nodes share a single copy of data. You do not need to select a storage capacity at purchase. You are charged hourly based on actual usage, or you can purchase a storage plan at a discount.
Storage type | Price (CNY/GB/hour) | ||||||||
Chinese mainland | China (Hong Kong) | Japan (Tokyo) | Singapore | US (Virginia) | Indonesia (Jakarta) | Germany (Frankfurt) | |||
ESSD PL0 | Dual-zone (hot standby storage cluster enabled) | 0.0017 | 0.001667 | 0.0026672 | 0.003167 | 0.0028339 | 0.002917 | 0.0028339 | |
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.001042 | 0.001042 | 0.0016672 | 0.001979 | 0.0017714 | 0.001823 | 0.0017714 | ||
ESSD PL1 | Dual-zone (hot standby storage cluster enabled) | 0.0034 | 0.00333336 | 0.005333376 | 0.00633334 | 0.005666712 | 0.00583338 | 0.005666712 | |
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.0020833 | 0.0020833 | 0.00333328 | 0.00395833 | 0.00354161 | 0.00364578 | 0.00354161 | ||
ESSD PL2 | Dual-zone (hot standby storage cluster enabled) | 0.0068 | 0.00666664 | 0.010666624 | 0.01266666 | 0.011333288 | 0.01166662 | 0.011333288 | |
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.0041667 | 0.0041667 | 0.00666672 | 0.00791667 | 0.00708339 | 0.00729173 | 0.00708339 | ||
ESSD PL3 | Dual-zone (hot standby storage cluster enabled) | 0.0136 | 0.01333336 | 0.021333376 | 0.02533334 | 0.022666712 | 0.02333338 | 0.022666712 | |
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.0083333 | 0.0083333 | 0.01333328 | 0.01583333 | 0.01416661 | 0.01458328 | 0.01416661 | ||
ESSD AutoPL | Dual-zone (hot standby storage cluster enabled) | Cloud disk storage | 0.0034 | 0.00208 | 0.005328 | 0.00633 | 0.005661 | 0.00583 | 0.005661 |
Provisioned IOPS | CNY 0.0001/IOPS/hour | ||||||||
Dual-zone (hot standby storage cluster and compute cluster enabled) | Cloud disk storage | 0.0034 | 0.00208 | 0.005328 | 0.00633 | 0.005661 | 0.00583 | 0.005661 | |
Provisioned IOPS | CNY 0.0001/IOPS/hour | ||||||||
Three-zone (hot standby storage cluster and logger node enabled) | Cloud disk storage | 0.0034 | 0.00208 | 0.005328 | 0.00633 | 0.005661 | 0.00583 | 0.005661 | |
Provisioned IOPS | CNY 0.0001/IOPS/hour | ||||||||
Single-zone (hot standby storage cluster disabled) | Cloud disk storage | 0.0020833 | 0.00333 | 0.003328 | 0.00396 | 0.003536 | 0.00365 | 0.003536 | |
Provisioned IOPS | CNY 0.0000625/IOPS/hour | ||||||||
Storage type | Price (CNY/GB/hour) | ||
Regions in the Chinese mainland | China (Hong Kong) and regions outside China | ||
PSL4 | Dual-zone (hot standby storage cluster enabled) | 0.00316 | 0.00352 |
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.00158 | 0.00176 | |
PSL5 | Dual-zone (hot standby storage cluster enabled) | 0.00486 | 0.00542 |
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.00243 | 0.00271 | |
Storage plans
Storage plans offset the storage usage of clusters that use the pay-as-you-go and Serverless billing methods.
Storage plans also offset usage for level-1 backup/data backup, level-2 backup, and log backup, and cold data archiving.
Storage plans do not apply to subscription clusters.
Offset rules
A storage plan provides a fixed hourly quota to offset storage usage for pay-as-you-go and Serverless clusters. For example, a 100 GB storage plan provides a 100 GB hourly quota to offset eligible storage usage.
Storage Class | Offset factor | Offset amount per 1 GB of storage plan | ||||
The Chinese mainland | Hong Kong (China) and regions outside China | The Chinese mainland | Hong Kong (China) and regions outside China | |||
ESSD PL0 | Dual-zone deployment (hot standby storage cluster enabled) | 0.35 | 2.86 GB | |||
Dual-zone deployment (hot standby storage and compute clusters enabled) | ||||||
Three-zone deployment (hot standby storage cluster and logger nodes enabled) | ||||||
Single zone (hot standby storage cluster disabled) | 0.22 | 4.55 GB | ||||
ESSD PL1 | Dual-zone deployment (hot standby storage cluster enabled) | 0.70 | 1.43 GB | |||
Dual-zone deployment (hot standby storage and compute clusters enabled) | ||||||
Three-zone deployment (hot standby storage cluster and logger nodes enabled) | ||||||
Single zone (hot standby storage cluster disabled) | 0.428 | 2.34 GB | ||||
ESSD PL2 | Dual-zone deployment (hot standby storage cluster enabled) | 1.41 | 0.71 GB | |||
Dual-zone deployment (hot standby storage and compute clusters enabled) | ||||||
Three-zone deployment (hot standby storage cluster and logger nodes enabled) | ||||||
Single zone (hot standby storage cluster disabled) | 0.88 | 1.14 GB | ||||
ESSD PL3 | Dual-zone deployment (hot standby storage cluster enabled) | 2.82 | 0.35 GB | |||
Dual-zone deployment (hot standby storage and compute clusters enabled) | ||||||
Three-zone deployment (hot standby storage cluster and logger nodes enabled) | ||||||
Single zone (hot standby storage cluster disabled) | 1.76 | 0.57 GB | ||||
ESSD AutoPL | Dual-zone deployment (hot standby storage cluster enabled) | Disk storage space | 0.70 | 1.43 GB | ||
Provisioned IOPS | 0.0206 | 0.0185 | 48.5437 provisioned IOPS | 54.0541 provisioned IOPS | ||
Dual-zone deployment (hot standby storage and compute clusters enabled) | Disk storage space | 0.70 | 1.43 GB | |||
Provisioned IOPS | 0.0206 | 0.0185 | 48.5437 provisioned IOPS | 54.0541 provisioned IOPS | ||
Three-zone deployment (hot standby storage cluster and logger nodes enabled) | Disk storage space | 0.70 | 1.43 GB | |||
Provisioned IOPS | 0.0206 | 0.0185 | 48.5437 provisioned IOPS | 54.0541 provisioned IOPS | ||
Single zone (hot standby storage cluster disabled) | Cloud disk storage capacity | 0.428 | 2.34 GB | |||
Provisioned IOPS | 0.0129 | 0.0115 | 77.5194 provisioned IOPS | 86.9565 provisioned IOPS | ||
PSL4 | Dual-zone deployment (hot standby storage cluster enabled) | 0.65 | 1.54 GB | |||
Dual-zone deployment (hot standby storage and compute clusters enabled) | ||||||
Three-zone deployment (hot standby storage cluster and logger nodes enabled) | ||||||
Single zone (hot standby storage cluster disabled) | 0.325 | 3.08 GB | ||||
PSL5 | Dual-zone deployment (hot standby storage cluster enabled) | 1 | 1 GB | |||
Dual-zone deployment (hot standby storage and compute clusters enabled) | ||||||
Three-zone deployment (hot standby storage cluster and logger nodes enabled) | ||||||
Single zone (hot standby storage cluster disabled) | 0.5 | 2 GB | ||||
Example 1: The storage plan capacity is sufficient to offset the cluster's storage usage.
If your Alibaba Cloud account has a 50 GB storage plan and the following PolarDB clusters:
Cluster Name | Series | Hot Standby Cluster Enabled | Billing Method (Compute Billing Method) | Storage class | Storage Billing Method | Database Storage Usage |
A | Cluster Edition | Enable | subscription | PSL5 | Subscription | 2.76 GB (Subscription capacity: 50.00 GB) |
B | Cluster Edition | Shut down | 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) | Enable | Serverless | PSL5 | pay-as-you-go | 45.07 GB |
E | Standard Edition | Shut down | subscription | PL1 ESSD | subscription | 2.38 GB (Subscription capacity: 100.00 GB) |
The following list describes how the 50 GB storage plan is used for offset:
Cluster A and Cluster E: Deductions from the storage plan are not supported because their Storage Billing Method is subscription.
For Cluster B, the total deduction is 1.385 GB (2.77 GB of database storage usage × 0.5 deduction factor), leaving the storage plan with a Remaining Amount After Deduction of 48.615 GB (50 GB - 1.385 GB).
For Cluster C, the deduction is 2.81 GB (database storage usage) × 0.5 (deduction factor), for a total of 1.405 GB, leaving a Remaining Amount After Deduction of 47.21 GB (48.615 GB - 1.405 GB) in the storage plan.
The deduction for Cluster D is 45.07 GB (database storage usage) × 1 (deduction factor), for a total deduction of 45.07 GB. The Remaining Amount After Deduction of the storage plan is 2.14 GB (47.21 GB - 45.07 GB).
To sum up, a total of 47.86 GB is offset (calculated as 1.385 GB + 1.405 GB + 45.07 GB). The Remaining Amount After Offset for the storage plan is 2.14 GB (calculated as 50 GB - 47.86 GB).
This example is used only to illustrate how to offset the storage usage of a PolarDB cluster. 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 storage plan capacity is insufficient to offset the cluster's storage usage.
If your Alibaba Cloud account has a 50 GB storage plan and the following PolarDB clusters:
Cluster Name | Series | Hot Standby Cluster Enabled | Billing Method (Compute Billing Method) | Storage class | Storage Billing Method | Database Storage Usage |
A | Cluster Edition | Enable | Subscription | PSL5 | subscription | 2.76 GB (Subscription capacity: 50.00 GB) |
B | Cluster Edition | No | Subscription | PSL5 | pay-as-you-go | 2.77 GB |
C | Cluster Edition | Shut down | pay-as-you-go | PSL5 | pay-as-you-go | 2.81 GB |
D | Cluster Edition (Serverless) | Enable | Serverless | PSL5 | Pay-as-you-go | 45.07 GB |
E | Standard Edition | Shut down | subscription | PL1 ESSD | subscription | 2.38 GB (Subscription capacity: 100.00 GB) |
F | Cluster Edition | Enable | pay-as-you-go | PSL5 | Pay-as-you-go | 3.92 GB |
The following list describes how the 50 GB storage plan is used for offset:
For Cluster A and Cluster E: Because the Storage Billing Method is subscription, storage plans are not applicable.
The deduction amount for Cluster B is 2.77 GB (database storage usage) × 0.5 (deduction factor), for a total deduction of 1.385 GB. The storage plan Remaining Amount After Deduction is 48.615 GB (50 GB - 1.385 GB).
The total deductible amount for Cluster C is 1.405 GB (2.81 GB of database storage usage × a 0.5 deduction factor). The Remaining Amount After Deduction of the storage plan is 47.21 GB (48.615 GB - 1.405 GB).
For Cluster D, the deductible amount is 45.07 GB (database storage usage) × 1 (deduction factor). The total amount deducted is 45.07 GB, leaving the storage plan with a Remaining Amount After Deduction of 2.14 GB (47.21 GB - 45.07 GB).
The deductible amount for Cluster F should be 3.92 GB (database storage usage) × 1 (deduction factor), but because the storage plan's Remaining Amount After Deduction is 2.14 GB, only 2.14 GB can be deducted. A total of 2.14 GB is deducted, and the storage plan's Remaining Amount After Deduction is 0 GB (2.14 GB - 2.14 GB). The remaining 1.78 GB (3.92 GB - 2.14 GB) is billed based on the pay-as-you-go billing method.
To sum up, a total of 50 GB (1.385 GB + 1.405 GB + 45.07 GB + 2.14 GB) is offset. The Remaining Amount of the storage plan is 0 GB (50 GB - 50 GB).
This example only demonstrates how to offset the storage usage of a PolarDB cluster. 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 information
For more details, see Storage plans.