This topic describes the billing rules of the backup and restoration features of PolarDB.

Billing

PolarDB allows you to use the backup and restoration features free of charge. However, backup files consume storage space. Storage types include level-1 backup, level-2 backup, and log backup based on backup types. Prices vary with different storage types.

  • Free storage quota for level-1 backup is database storage usage × 50%. After the free quota is exhausted, you are charged by PolarDB for the amount of additional storage space consumed by the backups and the length of time for which the backups are retained. The following table describes the prices.
    Storage type Regions in the Chinese mainland Regions outside the Chinese mainland Billing method
    PSL5

    USD 0.000464 per GB-hour

    USD 0.000650 per GB-hour

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

    For example, a PolarDB for MySQL cluster deployed in the Chinese mainland uses the PSL5 storage type. If the total size of level-1 backup (snapshots) 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 per GB-hour = USD 0.0928/hour.

    Note For more information, see FAQ.
    PSL4

    USD 0.0003 per GB-hour

    USD 0.000433 per GB-hour

    Note After the free quota is consumed, you are charged for additional storage space on a pay-as-you-go basis. To reduce the costs of level-1 backups, we recommend that you use storage plans, which are cost-effective. For more information, see Billing rules of backup storage that exceeds the free quota.
  • No free storage quota is offered for level-2 backup. Level-2 backup can be stored in the same region as the PolarDB cluster or in a different region. For single-region backup on PolarDB, you are charged based on the storage capacity and retention period of backup files (data and logs). For cross-region backup on PolarDB, you are charged based on the storage capacity and retention period of backup files (data and logs) and the network traffic consumed by cross-region backup. The following table describes the prices.
    • Billing rules for single-region backup
      Regions in the Chinese mainland Regions outside the Chinese mainland Billing method

      USD 0.0000325 per GB-hour

      USD 0.0000455 per GB-hour

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

      For example, a PolarDB for MySQL cluster is deployed in the Chinese mainland. If the total size 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 per GB-hour = USD 0.0325/hour.

    • Billing rules for cross-region backup
      Billable item Regions in the Chinese mainland Regions outside the Chinese mainland Billing method
      Backup storage

      USD 0.0000325 per GB-hour

      USD 0.0000455 per GB-hour

      Storage fee per hour = Total size of level-2 backup × Unit price per hour + Network traffic price for cross-region backup

      For example, a PolarDB for MySQL cluster is deployed in the Chinese mainland. If the total size of level-2 backup is 1,000 GB and the network traffic consumed by cross-region backup is 500 MB, the storage fee per hour is USD 0.035.

      The fee is calculated based on the following formula: 1000 GB × USD 0.0000325 per GB-hour + 500 MB × USD 0.005 per GB-hour = USD 0.035/hour

      Network traffic For more information about fees for network traffic consumed by cross-region backup, see Network traffic fees.
      Note
      • Cross-region backup is billed on a daily basis. In this document, it is converted to the hourly price.
      • Fees for cross-region backup are recorded in DBS bills.
  • A free quota of 100 GB is offered for log backup. Log backup can be stored in the same region as the PolarDB cluster or in a different region. After this quota is exhausted, for single-region backup on PolarDB, you are charged based on the storage capacity and retention period of backup files (data and logs). For cross-region backup on PolarDB, you are charged based on the storage capacity and retention period of backup files (data and logs) and the network traffic consumed by cross-region backup. The following table describes the prices.
    • Billing rules for single-region backup
      Regions in the Chinese mainland Regions outside the Chinese mainland Billing method

      USD 0.0000325 per GB-hour

      USD 0.0000455 per GB-hour

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

      For example, a PolarDB for MySQL cluster is deployed in the Chinese mainland. If the total size of log backups is 1,000 GB, the storage fee per hour is USD 0.02925.

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

    • Billing rules for cross-region backup
      Billable item Regions in the Chinese mainland Regions outside the Chinese mainland Billing method
      Backup storage

      USD 0.0000325 per GB-hour

      USD 0.0000455 per GB-hour

      Storage fee per hour = (Total physical storage of log backup - 100 GB) × Unit price per hour + Network traffic price for cross-region backup

      For example, a PolarDB for MySQL cluster is deployed in the Chinese mainland. If the total size of log backup is 1,000 GB and the network traffic consumed by cross-region backup is 500 MB, the storage fee per hour is USD 0.03175.

      The fee is calculated based on the following formula: (1,000 GB - 100 GB) × USD 0.0000325 per GB-hour + 500 MB × USD 0.005 per GB-hour = USD 0.03175/hour

      Network traffic For more information about fees for network traffic consumed by cross-region backup, see Network traffic fees.
      Note
      • Cross-region backup is billed on a daily basis. In this document, it is converted to the hourly price.
      • Fees for cross-region backup are recorded in DBS bills.

If you modify data after the snapshots of your cluster are created, the amount of snapshot backups increases. In this case, you are charged for the additional backups. If data is modified during defragmentation, the number of snapshot backups increases.

For example, if your database has 100 GB of data and you modify 10 GB of the data after a snapshot is created:
  • You are charged for 100 GB of data storage and 10 GB of snapshot storage.
  • If you choose to retain the snapshots when you delete your database, you are charged for 100 GB of snapshot storage.

Reduce the charges for backup storage usage

PolarDB does not support the download of backup files to your PC. To reduce backup fees, you can use one of the following methods:

  • Select an appropriate backup frequency: In the Backup Policy Settings dialog box, set Backup Frequency to an appropriate value.
    Note Low frequency of level -2 backups can reduce backup costs.
  • Shorten the retention period of level-1 backups: In the Backup Policy Settings dialog box, set Level-1 Backup in the Data Backup Retention Period section.
  • Purchase storage plans to offset level-1 backup fees: You can use storage plans to offset the fees generated by level-1 backups, which are cost-effective. For more information, see Billing rules of backup storage that exceeds the free quota.