This topic describes how to view the free quota for backup storage of an ApsaraDB RDS for PostgreSQL instance and how to calculate the amount of excess backup storage that you use. The free quota varies based on the instance configuration.
Background information
Formula
RDS instances that are equipped with standard SSDs or enhanced SSDs (ESSDs) support only snapshot backups. The free quota that is provided to store snapshot backup files is calculated by using the following formula: Free quota = 200% × Purchased storage capacity. Unit: GB. The calculation result is rounded only up to the next integer.
RDS instances that are equipped with local SSDs support only physical backups. The free quota that is provided to store physical backup files is calculated by using the following formula: Free quota = 50% × Purchased storage capacity. Unit: GB. The calculation result is rounded only up to the next integer.
The amount of excess backup storage for which you must pay an hourly rate is calculated by using the following formula: Excess backup storage = Size of data backup files + Size of log backup files - Free quota.
For example, your RDS instance is equipped with local SSDs. If the size of data backup
files is 30 GB, the size of log backup files is 10 GB, and the purchased storage capacity
is 60 GB, the amount of excess backup storage for which you must pay an hourly rate
is 10 GB based on the following calculation: Excess backup storage = 30 + 10 - 50% × 60 = 10 (GB)
. This indicates that you must pay for 10 GB of excess backup storage per hour.
- When you use the RDS Basic Edition, some database engines support a seven-day retention period during which you can retain backup files for free. For more information, visit the ApsaraDB RDS console.
Procedure
FAQ
- Do backup files occupy the storage that I purchased when I created my RDS instance?
No, backup files do not occupy the storage that you purchased when you created your RDS instance. The storage that you purchased when you created your RDS instance is isolated from the storage that is provided to store backup files.
- Can I purchase backup storage based on the subscription billing method?
No, you cannot purchase backup storage based on the subscription billing method.