This topic answers frequently asked questions about PolarDB storage billing.
What are the differences between the pay-as-you-go and subscription storage billing methods?
If the storage class is PSL4 or PSL5:
With the pay-as-you-go billing method, you do not need to specify a maximum storage capacity. You are charged hourly based on your actual usage.
With the subscription billing method, you must specify a maximum storage capacity and pay the fees upfront.
NoteFor the PSL4 and PSL5 storage classes, the storage space automatically scales based on the amount of data stored. No additional operations are required.
If the storage class is ESSD:
With the pay-as-you-go billing method, you must specify a maximum storage capacity and are charged hourly.
With the subscription billing method, you must specify a maximum storage capacity and pay the fees upfront.
NoteIf you use the ESSD storage class, insufficient storage space may cause data write failures and affect your services.
How do I switch the storage billing method?
You cannot switch only the storage billing method. For more information, see Switch billing methods.
PolarDBHow do I disable the hot standby storage cluster?
If you enable the hot standby storage cluster feature when you purchase a cluster, you cannot disable it later. We recommend that you carefully consider this option during purchase. For more information, see High-availability Mode (Hot Standby Cluster).
PolarDBHow do I disable the table recycle bin feature and reduce storage costs?
Log on to the PolarDB console and set the
loose_recycle_binparameter toOFFto disable the table recycle bin feature. For more information, see Set cluster and node parameters.Execute the
call dbms_recycle.purge_table('TABLE_NAME')statement to manually clear tables from the recycle bin. For more information, see Manage the recycle bin.
Is the hot standby storage cluster charged separately?
Charges for a hot standby storage cluster are based on the associated bucket. Enabling this feature when you purchase a cluster doubles the unit price of the associated bucket. For more information, see Bucket.
What should I do if my cluster is locked but still has available storage space?
If your cluster uses the ESSD storage class, the disk is locked and becomes read-only when its storage space is full. A 3 GB buffer is reserved to prevent data corruption from a full disk. You can configure automatic storage scaling for ESSDs or manually scale out the storage capacity.