The storage capacity of PolarDB is automatically scaled in or out based on the amount of stored data. You do not need to manually specify the storage capacity. You are charged only for the used storage. If you need to store a large amount of data, we recommend that you use PolarDB storage plans. This reduces the storage costs. This topic describes how to view the deducted capacity of a storage plan.

Considerations

  • You can view further details of valid resource plans and resource plans that have expired within one year.
  • To view the database storage usage of the current cluster, see View the database storage usage.

View the deducted capacity of a storage plan

  1. Log on to the Billing Management console.
  2. In the left-side navigation pane, choose Resource Packages > Overview.
  3. On the Overview tab of the Resource Packages page, view the information about the storage plan, such as Status, Remaining Capacity, Effective Time, and Expired Time. In the Actions column, you can click View Details to view the usage details of the storage plan.
    1
  4. On the Details tab, view the offset details of the storage plan.

    You can use storage plans to offset the used storage of PolarDB clusters and the used storage that exceeds the free quota for level-1 backups. For the offset details of level-1 backups, see Storage plan rules.

    • View the deducted storage capacity in the cluster2
      1. Click the Filter icon in the Usage Type column of the storage plan and select deduct.
      2. Click the Filter icon in the Deducted Product column of the storage plan and select polardb_payg_intl or polardb_sub_intl. This way, you can view the offset details of all the pay-as-you-go or subscription clusters for which the storage plan is used to offset the used storage within your account.

        For example, the preceding offset details show that the storage plan was used for the subscription cluster pc-*********** to offset 25.52 GB of the storage from 06:00 to 07:00 on January 7, 2021. Before the fees were offset, the remaining capacity of the storage plan was 43.677 GB. After the fees were offset, the remaining capacity is 18.157 GB.

    • View the deducted capacity for the used storage that exceeds the free quota for level-1 backups2
      1. Click the Filter icon in the Usage Type column of the storage plan and select deduct.
      2. Click the Filter icon in the Deducted Product column of the storage plan and select polardb_backups_public_intl. This way, you can view the offset details of the used storage that exceeds the free quota for level-1 backups. The storage plan is used to offset the used storage.

        For example, the preceding offset details show that the storage plan was used for the cluster pc-***********. The storage plan was used to offset 1.782 GB of the used storage for level-1 backups from 06:00 to 07:00 on January 7, 2021. Before the fees were offset, the remaining capacity of the storage plan was 15.853 GB. After the fees were offset, the remaining capacity is 14.071 GB.