Updated on 2023-07-06 GMT+08:00

Deleting a DB Instance or Read Replica

Scenarios

You can delete DB instances or read replicas as required on the Instance Management page to release resources.

Constraints

DB instance deletion has the following constraints:

  • DB instances cannot be deleted when operations are being performed on them. They can be deleted only after the operations are completed.
  • If you delete a DB instance, its automated backups are also deleted and you are no longer charged for them. Manual backups are still retained and will incur additional costs.
  • If you delete a primary DB instance, its read replicas are also deleted automatically. Exercise caution when performing this operation.
  • Deleted DB instances cannot be recovered and resources are released. Exercise caution when performing this operation. If you want to retain data, create a manual backup first before deleting the DB instance.

Deleting a DB Instance

  1. Log in to the management console.
  2. Click in the upper left corner and select a region and a project.
  3. Click Service List. Under Database, click Relational Database Service. The RDS console is displayed.
  4. On the Instance Management page, locate the target primary DB instance to be deleted and click More > Delete in the Operation column.
  5. In the displayed dialog box, click Yes.
  6. Refresh the DB instance list later to check that the deletion is successful.

Deleting a Read Replica

  1. Log in to the management console.
  2. Click in the upper left corner and select a region and a project.
  3. Click Service List. Under Database, click Relational Database Service. The RDS console is displayed.
  4. On the Instance Management page, locate the target DB instance and click in front of it. All the read replicas created for the DB instance are displayed.
  5. Locate the target read replicas to be deleted and click More > Delete in the Operation column.
  6. In the displayed dialog box, click Yes.
  7. Refresh the DB instance list later to check that the deletion is successful.