Billing

The backup billing depends on the storage size of all backups of a DB system, the DB system state, and the data storage size of the DB system.

You can see the Storage size under DB system configuration in the DB system details page.

DB System State

  • Active/Inactive: You are billed only when the backups exceed the free storage size.
  • Failed/Deleted: There is no free storage available and you are billed for all backups.
Note

The backup storage used in all compartments is always metered on the root compartment per region for the tenancy.

Free Quota for DB Systems Created Before October 2023

You get free storage when the DB system is in the Active or Inactive state, the size of the free storage equals to the data storage size of the DB system. For example:
  • Standalone DB system with 500 GB of storage size, the free quota is 500 GB.
  • Standalone DB system with 500 GB of storage size plus two read replicas, the free quota is 500 GB.
  • High availability DB system with 500 GB of storage size, the free quota is 500 GB.
  • High availability DB system with 500 GB of storage size plus two read replicas, the free quota is 500 GB.

Free Quota for DB Systems Created From October 2023 Onwards

You get free storage when the DB system is in the Active or Inactive state.

Table 9-6 Free Storage

Resource Free storage Example Details
Standalone DB system Data storage size of the DB system If the data storage size of the DB system is 1024 GB, then the free storage available is 1024 GB.  
Standalone DB system + Read replica Data storage size of the DB system + Number of read replicas*Data storage size of the DB system If the data storage size of the DB system is 1024 GB, and there are three read replicas, then the free storage available is 1024 + 3*1024 = 4096 GB. Each read replica has the same storage available as the Data storage size of the DB system.
High availability DB system 3*Data storage size of the DB system If the data storage size of the DB system is 1024 GB, then the free storage available is 3*1024 = 3072 GB. A high availability DB system has three MySQL instances: one primary and two secondary instances.
High availability DB system + Read replica 3*Data storage size of the DB system + Number of read replicas*Data storage size of the DB system If the data storage size of the DB system is 3*1024 GB, and there are two read replicas, then the free storage available is 3*1024 + 2*1024 = 5120 GB. Each read replica has the same storage available as the Data storage size of the DB system.
To apply the new free quota rules for DB systems created before October 2023, customers can perform one of the following operations:
  • Update the DB system's storage size.
  • Disable or enable High Availability.
  • Add or remove a read replica.

Backups

Lets assume you have two active DB systems with data storage size of 50 GB and 100 GB in the tenancy in region 1. You are entitled to 150 GB free backup storage, which is the sum of the data storage size of the two DB systems in region 1.

Now you create 4 manual backups:

  • Backup 1 - 30 GB
  • Backup 2 - 50 GB
  • Backup 3 - 80 GB
  • Backup 4 - 85 GB

The total manual backup size size is 30 + 50 + 80 + 85 GB = 245 GB.

Lets assume the automatic backups have a total size of 50 GB.

You are billed for region 1 as follows:

Billed backup = Total backup size including manual and automatic - free storage, which is, (245+50) - 150 = 145 GB.

If you have tenancies in two regions, each region is billed seperately and follows the billing method as described above.

Point-In-Time Recovery

When you enable point-in-time recovery, the binary logs are backed up, and billing depends on the storage size of the binary logs too. If you disable point-in-time recovery on a DB system, or if you delete the DB system, the billing for the binary logs stop.