This topic describes the billing rules of cold data storage after the cold data tiered storage feature is enabled.
Billing
After you enable the cold data tiered storage feature for a PolarDB for PostgreSQL cluster, you can dump cold data from the cluster into OSS to reduce storage costs. For more information about how to enable the feature, see Enable the cold data tiered storage feature.
For more information about the feature, see Overview.
After you enable the feature and archive cold data for a PolarDB for PostgreSQL cluster, you are charged fees based on the storage capacity used by cold data in OSS.
The following billing rules apply:
For regions in the Chinese mainland: USD 0.0000325 per GB-hour.
For China (Hong Kong) and regions outside the Chinese mainland: USD 0.0000455 per GB-hour.
You can purchase storage plans to offset the storage usage of cold data in OSS. For more information about how to purchase a storage plan, see Purchase a storage plan. The following table describes the offset rules of storage plans.
Region type | Offset factor | OSS storage usage offset by a 1-GB storage plan |
Regions in the Chinese mainland | 0.045 | 1/0.045=22.22 GB |
China (Hong Kong) and regions outside the Chinese mainland | 0.045 | 1/0.045=22.22 GB |
For example, you purchase a storage plan with a capacity of 100 GB and 50 GB is left after you offset the storage usage in PolarDB. The cold data of your cluster occupies 50 GB of OSS storage capacity in a region inside the Chinese mainland. In this case, the storage plan automatically uses 2.25 GB (50/22.22) to offset the backup storage usage and the storage plan has 47.75 GB of capacity left.
If the remaining capacity of the storage plan is insufficient to offset the storage usage of cold data in OSS, the excess storage usage is billed on a pay-as-you-go basis.