PolarDB allows you to use the backup and restoration features free of charge. However, backup files consume some storage resources. This topic describes the billing rules of PolarDB data backups.

Free quota

PolarDB offers free storage to store backup files. When you use the backup feature of PolarDB and the used storage exceeds the free quota, you are charged based on the overage and retention period of backup files. The backup files include data backups and logs.

For more information, see Back up data.

Backup type Free quota
Data backup Level-1 backup Database storage usage × 50%

For more information about how to view the database storage usage, see View the database storage usage.

Level-2 backup None
Log backup 100 GB

Billing rules of data backups that exceed the free quota

  • Pay-as-you-go

    You are charged based on the storage that exceeds the free quota and the retention period on a pay-as-you-go basis.

    Backup type Unit price (USD/GB/hour) Billing method
    Mainland China China (Hong Kong) and regions outside China
    Level-1 backup

    0.000464

    0.000650

    Storage fee per hour = (Total physical storage of level-1 backups - Free quota) × Unit price per hour

    For example, if the total physical storage of level-1 backups is 700 GB and the database storage usage is 1,000 GB, the storage fee per hour is USD 0.0928.

    The fee is calculated based on the following formula: [700 GB - (1,000 GB × 50%)] × USD 0.000464/GB/hour = USD 0.0928/hour.

    Note For more information, see FAQ about the backup feature.
    Level-2 backup

    0.0000325

    0.0000455

    Storage fee per hour = Total physical storage of level-2 backups × Unit price per hour

    For example, if the total physical storage of level-2 backups is 1,000 GB, the storage fee per hour is USD 0.0325.

    The fee is calculated based on the following formula: 1,000 GB × USD 0.0000325/GB/hour = USD 0.0325/hour.

    Log backup

    0.0000325

    0.0000455

    Storage fee per hour = (Total physical storage of log backups - 100 GB) × Unit price per hour

    For example, if the total size of log backups is 1,000 GB, the hourly fee is USD 0.02925.

    The fee is calculated based on the following formula: (1,000 GB - 100 GB) × USD 0.0000325/GB/hour = USD 0.02925/hour.

  • Storage plans

    The storage that exceeds the free quota is charged on a pay-as-you-go basis. To reduce the expenses on level-1 backups, we recommend that you use storage plans, which are more cost-effective.

    Storage plans are applied to all PolarDB clusters that belong to your account. The remaining capacity of a storage plan is automatically applied to the overage of level-1 backups at a ratio of 1:1.6 when the free quota is exhausted. In this case, every 1 GB of the storage plan is used to offset 1.6 GB of level-1 backup storage.

    For example, you purchase a storage plan of 100 GB in size. After you apply the storage plan, 50 GB is left in the storage plan. Level-1 backups consume 50 GB of storage, which exceeds the free quota. In this case, 31.25 GB (50/1.6 = 31.25) of the storage plan is automatically used to offset the overage of the level-1 backups. After the storage plan is applied to the level-1 backups, 18.75 GB is left in the storage plan.

    If the remaining capacity of the storage plan is insufficient to offset the overage of level-1 backups, the excess usage is charged on a pay-as-you-go basis. For more information about storage plans, see Storage plans.