PolarDB backup and recovery features are free to use, but backup files consume storage space. When your backup storage exceeds the free quota, you are charged for the excess on a pay-as-you-go basis.
Free quota
PolarDB provides a free backup storage quota for each cluster. The table below summarizes the free quota by backup type.
| Backup type | Sub-type | Free quota |
|---|---|---|
| Data backup | Level-1 backup | 50% of your database storage usage. See View the database storage usage. |
| Data backup | Level-2 backup | None |
| Log backup | — | 100 GB |
Pay-as-you-go pricing
Level-1 backup pricing
Level-1 backups (snapshots) are charged for storage that exceeds the free quota.
Formula: Hourly fee = (Total size of level-1 backups − Free quota) × Unit price
| Storage class | Chinese mainland | China (Hong Kong) and other regions outside China |
|---|---|---|
| PSL5 | USD 0.000464/GB-hour USD 0.0000455 per GB-hour USD 0.0000325 per GB-hour USD 0.0000455 per GB-hour USD 0.0000325 per GB-hour USD 0.0000455 per GB-hour USD 0.0000325 per GB-hour USD 0.0000455 per GB-hour USD 0.0000325 per GB-hour USD 0.000433 per GB-hour USD 0.0003 per GB-hour USD 0.000650 per GB-hour USD 0.000464 per GB-hour | USD 0.000650/GB-hour |
| PSL4 | USD 0.0003/GB-hour | USD 0.000433/GB-hour |
Example (PSL5, Chinese mainland): If the total size of level-1 backups is 700 GB and your database storage usage is 1,000 GB, the free quota is 500 GB (1,000 GB × 50%).USD 0.0659USD 0.02925USD 0.0691USD 0.0325USD 0.0928
Calculation: (1000 GB - 100 GB) × 0.0000325 USD/GB/hour + (500 MB / 1024) × 0.075 USD/GB = 0.0659 USD
Formula: [700 GB - (1,000 GB × 50%)] × USD 0.000464/GB-hour = USD 0.0928/hour
Hourly fee = (700 GB − 500 GB) × USD 0.000464/GB-hour = USD 0.0928/hour
To check your total level-1 backup size, see FAQ.
Level-2 backup pricing
Level-2 backups have no free quota. All storage is billed at the rates below.
Single-region backups
Formula: Hourly fee = Total size of level-2 backups × Unit price
| Region | Unit price |
|---|---|
| Chinese mainland | USD 0.0000325/GB-hour |
| China (Hong Kong) and other regions outside China | USD 0.0000455/GB-hour |
Example (Chinese mainland): If the total size of level-2 backups is 1,000 GB:
Hourly fee = 1,000 GB × USD 0.0000325/GB-hour = USD 0.0325/hour
Cross-region backups
Cross-region backups incur both storage fees and network traffic fees.
Formula: Hourly fee = Total size of level-2 backups × Unit price + Cross-region network traffic fee
| Billable item | Chinese mainland | China (Hong Kong) and other regions outside China |
|---|---|---|
| Backup storage | USD 0.0000325/GB-hour | USD 0.0000455/GB-hour |
| Network traffic | See Network fees | — |
Example (cross-region between regions in the Chinese mainland): If the total size of level-2 backups is 1,000 GB and the cross-region network traffic is 500 MB:
Hourly fee = 1,000 GB × USD 0.0000325/GB-hour + (500 MB ÷ 1,024) × USD 0.075/GB = USD 0.0691/hour
Cross-region backups are billed on a daily basis. The prices shown are converted to hourly rates for reference. Cross-region backup usage appears on your Data Disaster Recovery bills.
Log backup pricing
Log backups include a 100 GB free quota. You are charged only for usage beyond 100 GB.
Single-region backups
Formula: Hourly fee = (Total size of log backups − 100 GB) × Unit price
| Region | Unit price |
|---|---|
| Chinese mainland | USD 0.0000325/GB-hour |
| China (Hong Kong) and other regions outside China | USD 0.0000455/GB-hour |
Example (Chinese mainland): If the total size of log backups is 1,000 GB:
Hourly fee = (1,000 GB − 100 GB) × USD 0.0000325/GB-hour = USD 0.02925/hour
Cross-region backups
Cross-region log backups incur both storage fees and network traffic fees.
Formula: Hourly fee = (Total size of log backups − 100 GB) × Unit price + Cross-region network traffic fee
| Billable item | Chinese mainland | China (Hong Kong) and other regions outside China |
|---|---|---|
| Backup storage | USD 0.0000325/GB-hour | USD 0.0000455/GB-hour |
| Network traffic | See Network fees | — |
Example (cross-region between regions in the Chinese mainland): If the total size of log backups is 1,000 GB and the cross-region network traffic is 500 MB:
Hourly fee = (1,000 GB − 100 GB) × USD 0.0000325/GB-hour + (500 MB ÷ 1,024) × USD 0.075/GB = USD 0.0659/hour
Cross-region backups are billed on a daily basis. The prices shown are converted to hourly rates for reference. Cross-region backup usage appears on your Data Disaster Recovery bills.