Billing

Updated at: 2025-02-13 03:32

PolarDB allows you to use the backup and restoration features free of charge, but you are charged for backup storage based on the size and retention period of backup files. This topic describes the billing rules for backup storage.

Billing rules for backup storage of Enterprise Edition clusters

Free quota

PolarDB offers a free quota for backup storage. After the quota is exhausted, you are charged based on the size and retention period of backup files in intra-region backup scenarios. In across-region backup scenarios, in addition to the backup storage fee, a cross-region network traffic fee is also generated.

Backup type

Free quota

Backup type

Free quota

Data backup

Level-1 backup

Cluster storage usage × 50%

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

Level-2 backup

N/A

Log backup

100 GB

Note

You can enable the storage compression feature for PolarDB Enterprise Edition clusters. For more information, see Enable the storage compression feature. The following rules for the free quota of level-1 backup storage apply after you enable the storage compression feature. For more information about the free quota of level-1 backup storage of a cluster, see Billing rules for backup storage that exceeds the free quota.

  • If the storage of the cluster is billed based on the pay-as-you-go billing method, the free quota of level-1 backups after you enable the storage compression feature is calculated by using the following formula: Storage usage of the database before compression × 50%.

  • If the storage of the cluster is billed based on the subscription billing method, the free quota of level-1 backups after you enable the storage compression feature is calculated by using the following formula: Max (subscription-billed storage capacity, storage usage of the database before compression) × 50%.

    Example:

    The storage of a cluster is billed based on the subscription billing method, the subscription-billed storage capacity of the cluster is 2 TB, and the storage usage of the cluster is 1.6 TB. After you enable the storage compression feature, the storage usage of the cluster is compressed to 0.5 TB.

Billing rules

Backups include level-1 backups, level-2 backups, and log backups. Prices vary based on the backup type.

  • The free storage quota for level-1 backups is 50% of the cluster storage usage. After the free quota is exhausted, you are charged based on the additional storage usage and retention period of the level-1 backups. The following table describes the prices.

    Storage type

    Region in the Chinese mainland

    China (Hong Kong) and regions outside China

    Billing method

    Storage type

    Region in the Chinese mainland

    China (Hong Kong) and regions outside China

    Billing method

    PSL5

    USD 0.000464 per GB-hour

    USD 0.000650 per GB-hour

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

    For example, a PolarDB for PostgreSQL cluster deployed in the Chinese mainland uses the PSL5 storage type. If the total size of level-1 backups (snapshots) is 700 GB and the cluster storage usage is 1,000 GB, the level-1 backup storage fee per hour is USD 0.0928.

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

    Note

    For information about how to view the size of level-1 backups, see FAQ.

    PSL4

    USD 0.0003 per GB-hour

    USD 0.000433 per GB-hour

  • You can implement level-2 backup across different zones in the same region or across different regions. In intra-region backup scenarios, you are charged based on the size and retention period of level-2 backup files. In cross-region backup scenarios, in addition to the level-2 backup storage fee, a cross-region network traffic fee is also generated.

    • Billing rules for intra-region level-2 backup

      Region in the Chinese mainland

      China (Hong Kong) and regions outside China

      Billing method

      Region in the Chinese mainland

      China (Hong Kong) and regions outside China

      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 PostgreSQL cluster is deployed in the Chinese mainland. If the total size of level-2 backups is 1,000 GB, the level-2 backup storage fee per hour is USD 0.0325.

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

    • Billing rules for cross-region level-2 backup

      Billable item

      Region in the Chinese mainland

      China (Hong Kong) and regions outside China

      Billing method

      Billable item

      Region in the Chinese mainland

      China (Hong Kong) and regions outside China

      Billing method

      Level-2 backup storage

      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 + cross-region network traffic fee

      For example, a cross-region level-2 backup is performed between regions in the Chinese mainland. If the total size of level-2 backups is 1,000 GB and the consumed cross-region network traffic is 500 MB, the level-2 backup storage fee per hour is USD 0.0691.

      The fee is calculated by using the following formula: 1,000 GB × USD 0.0000325/GB/hour + 500 MB/1024 × USD 0.075/GB = USD 0.0691.

      Cross-region network traffic

      For information about the cross-region network traffic fees, see Network traffic fees.

      Note
      • Cross-region backup is billed on a daily basis. In this example, the daily prices are converted into hourly rates for convenience.

      • Fees for cross-region backup are recorded in Data Disaster Recovery bills.

  • You can implement log backup across different zones in the same region or across different regions. In intra-region log backup scenarios, you are charged based on the size and retention period of log backup files. In cross-region log backup scenarios, in addition to the log backup storage fee, a cross-region network traffic is also generated.

    • Billing rules for intra-region log backup

      Region in the Chinese mainland

      China (Hong Kong) and regions outside China

      Billing method

      Region in the Chinese mainland

      China (Hong Kong) and regions outside China

      Billing method

      USD 0.0000325 per GB-hour

      USD 0.0000455 per GB-hour

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

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

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

    • Billing rules for cross-region log backup

      Billable item

      Region in the Chinese mainland

      China (Hong Kong) and regions outside China

      Billing method

      Billable item

      Region in the Chinese mainland

      China (Hong Kong) and regions outside China

      Billing method

      Log backup storage

      USD 0.0000325 per GB-hour

      USD 0.0000455 per GB-hour

      Storage fee per hour = Total size of log backups × Unit price per hour + Cross-region network traffic fee.

      For example, a cross-region log backup is performed between regions in the Chinese mainland. If the total size of log backups is 1,000 GB and the consumed cross-region network traffic is 500 MB, the log backup storage fee per hour is USD 0.0659.

      The fee is calculated by using the following formula: (1,000 GB - 100 GB) × USD 0.0000325 per GB-hour + 500 MB/1024 × USD 0.075/GB = USD 0.0659

      Cross-region network traffic

      For more information about cross-region network traffic fees, see Network traffic fees.

      Note
      • Cross-region backup is billed on a daily basis. In this example, the daily prices are converted into hourly rates for convenience.

      • Fees for cross-region backup are recorded in Data Disaster Recovery bills.

Storage plan offset rules

Use storage plans to offset level-1 backup storage fees

You can use a storage plan to offset the level-1 backup storage usage that exceeds the free quota. If the capacity of the storage plan is insufficient to offset the level-1 backup storage usage, you are charged for the excess storage usage based on a pay-as-you-go basis.

The following table describes the offset rules.

Region

Offset ratio

Level-1 backup storage usage offset by a 1-GB storage plan

Region

Offset ratio

Level-1 backup storage usage offset by a 1-GB storage plan

Region in the Chinese mainland (PSL4)

0.41

1/0.41=2.44 GB

Region in the Chinese mainland (PSL5)

0.617

1/0.617=1.62 GB

China (Hong Kong) and regions outside China (PSL4)

0.41

1/0.41=2.44 GB

China (Hong Kong) and regions outside China (PSL5)

0.617

1/0.617=1.62 GB

For example, if you purchase a 100-GB storage plan and 50 GB is used to offset the PSL5 storage usage of the cluster, the storage plan has 50 GB of capacity remaining. If your cluster consumes an additional 50 GB of storage beyond the free quota for level-1 backup storage in a region in the Chinese mainland, 31.25 GB (50/1.6 = 31.25) of the storage plan automatically offsets the level-1 backup storage usage. As a result, the storage plan has 18.75 GB of capacity remaining.

If the remaining capacity of the storage plan is insufficient to offset the level-1 backup storage usage, you are charged for the excess storage usage on a pay-as-you-go basis.

Note

For more information about storage plans, see FAQ about billing for storage plans.

Use storage plans to offset level-2 backup storage fees

You can use storage plans to offset level-2 backup storage usage. If the capacity of the storage plans is insufficient to offset the level-2 backup storage usage, you are charged for the excess storage usage on a pay-as-you-go basis.

The following table describes the offset rules.

Region

Offset ratio

Level-2 backup storage usage offset by a 1-GB storage plan

Region

Offset ratio

Level-2 backup storage usage offset by a 1-GB storage plan

Region in the Chinese mainland

0.043

1/0.043=23.26 GB

China (Hong Kong) and regions outside China

0.054

1/0.054=18.52 GB

For example, if you purchase a 100-GB storage plan and 50 GB of the plan is used to offset the storage usage of the cluster, the storage plan has 50 GB of remaining capacity. If your cluster consumes an additional 50 GB of storage for level-2 backups in a region in the Chinese mainland, 2.15 GB (50/23.26) of the storage plan is automatically used to offset the level-2 backup storage usage. As a result, the storage plan has 47.85 GB of capacity remaining.

If the remaining capacity of the storage plan is insufficient to offset the level-2 backup storage usage, you are charged for the excess storage usage on a pay-as-you-go basis.

Note

For more information about storage plans, see FAQ about billing for storage plans.

Use storage plans to offset log backup storage fees

You can use storage plans to offset log backup storage fees. If the storage plans do not have sufficient capacity to offset the log backup storage usage, you are charged for the excess storage usage based on the pay-as-you-go billing method.

The following table describes the offset rules.

Region

Offset ratio

Log backup storage usage offset by a 1-GB storage plan

Region

Offset ratio

Log backup storage usage offset by a 1-GB storage plan

Region in the Chinese mainland

0.043

1/0.043=23.26 GB

China (Hong Kong) and regions outside China

0.054

1/0.054=18.52 GB

For example, if you purchase a 100-GB storage plan and 50 GB of the plan is used to offset the storage usage of the cluster, the storage plan has 50 GB of remaining capacity. If your cluster consumes an additional 50 GB of storage for log backups in a region in the Chinese mainland, 2.15 GB (50/23.26) from the storage plan is automatically used to offset this storage usage. As a result, the storage plan has 47.85 GB of remaining capacity.

If the remaining capacity of the storage plan is insufficient to offset the log backup storage usage, you are charged for the excess storage usage based on the pay-as-you-go billing method.

Note

For more information about storage plans, see FAQ about billing for storage plans.

Reduce the volume of backup data and the backup fee

  • Shorten the retention period of backup data based on your business requirements. For more information, see Configure backup settings.

    • Shorten the retention period of level-1 backups, for example, from 7 days to 3 days.

    • Shorten the retention period of level-2 backups, for example, from 70 days to 30 days.

      Note

      Shortening the retention period of level-1 and level-2 backups poses risks. If the backup set that you want to use to restore data exceeds the retention period, you cannot restore data by using the backup set.

    • Shorten the retention period of log backups, such as from 7 days to 3 days.

      Note

      Shortening the retention period of log backups poses risks. If the log backup set that you want to use to restore data exceeds the retention period, you cannot restore data to the specific point in time.

  • Reduce the backup frequency (backup cycle) appropriately. For more information, see Configure backup settings.

    • Reduce the frequency of level-1 backup, for example, from once a day to three times a week.

      Note

      Reducing the frequency of level-1 backup may increase the amount of time required to restore data to a point in time.

    • Reduce the frequency of level-2 backup, for example, from three times per week to twice per week.

  • You can purchase storage plans to offset the fees of level-1 backup, level-2 backup, and log backup. For more information, see Storage plans.

  • Delete backup sets that you no longer require from the recycle bin of your cluster to reduce the costs of level-2 backups. For more information, see Delete a backup.

  • On this page (1, T)
  • Billing rules for backup storage of Enterprise Edition clusters
  • Free quota
  • Billing rules
  • Storage plan offset rules
  • Reduce the volume of backup data and the backup fee
Feedback
phone Contact Us

Chat now with Alibaba Cloud Customer Service to assist you in finding the right products and services to meet your needs.

alicare alicarealicarealicare