All Products
Search
Document Center

PolarDB:FAQ about storage billing

Last Updated:Jan 13, 2025

This topic provides answers to some frequently asked questions about PolarDB storage billing.

What are the differences between the pay-as-you-go and subscription storage billing methods?

  • For the PSL4 or PSL5 storage type:

    • The pay-as-you-go storage billing method does not require you to preset the maximum storage space. You are charged based on the actual storage usage on an hourly basis. You can purchase discounted storage plans to reduce storage costs.

    • The subscription storage billing method requires you to specify the maximum storage space and pay the fees upfront.

    Note

    For the PSL4 and PSL5 storage type, the storage space is dynamically scaled based on the amount of stored data.

  • For the Enhanced SSD storage type:

    • The pay-as-you-go storage billing method requires you to preset the maximum storage space and charges you on an hourly basis. You can purchase discounted storage plans to reduce storage costs.

    • The subscription storage billing method requires you to specify the maximum storage space and pay the fees upfront.

    Note

    If the storage type is Enhanced SSD the storage is insufficient, data may fail to be written, which affects your business.

How can I reduce storage costs for a cluster that uses the pay-as-you-go storage billing method?

If you need to store a large amount of data, such as 1,000 GB or more, storage plans are more cost-effective than the pay-as-you-go storage billing method. Higher discounts are offered for the storage plans that provide larger storage capacities. For more information about storage plans, see Storage plans.

How do I disable the hot standby storage cluster feature in PolarDB?

If you enable the hot standby cluster feature when you purchase a cluster, you cannot disable the hot standby cluster feature later. Exercise caution when you purchase the cluster. For more information, see High availability modes (hot standby clusters).

How do I disable the table recycle bin feature and reduce storage costs in PolarDB?

  1. To disable the table recycle bin feature, log on to the PolarDB console and change the value of the loose_recycle_bin template parameter to OFF. For more information, see Configure cluster and node parameters.

  2. Execute the call dbms_recycle.purge_table('TABLE_NAME') statement to clear tables in the recycle bin. For more information, see Manage the recycle bin.

Is the hot standby cluster feature charged additionally?

The hot standby cluster feature is charged in the form of storage space. If you enable the hot standby cluster feature when you purchase a cluster, the unit price of the storage space for the cluster is twice that when the hot standby cluster feature is disabled. For more information, see Storage.

Why is the hot standby cluster locked?

After the storage space of an ESSD is exhausted (3 GB of storage space is reserved to avoid data loss due to insufficient storage space), the disk is locked. In this case, the disk handles only read operations. For more information, see Storage and data reliability.