forked from docs/doc-exports
Reviewed-by: Wagner, Fabian <fabian.wagner@t-systems.com> Co-authored-by: Ru, Li Yi <liyiru7@huawei.com> Co-committed-by: Ru, Li Yi <liyiru7@huawei.com>
6.1 KiB
6.1 KiB
Deleting a DB Instance or Read Replica
Scenarios
To release resources, you can delete DB instances or read replicas as required on the Instances page.
Constraints
- DB instances cannot be deleted when operations are being performed on them. They can be deleted only after the operations are complete.
- If you delete a DB instance, its automated backups are also deleted and you are no longer billed for them. Manual backups, however, are still retained and will generate additional costs.

- If you delete a primary DB instance, its standby DB instance and read replicas (if any) 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.
- You can restore a DB instance that was deleted up to 7 days ago from the recycle bin. For details, see Recycling a DB Instance.
- You can use a manual backup to restore a DB instance. For details, see Restoring from Backup Files to DB Instances.
Deleting a DB Instance
- Log in to the management console.
- Click
in the upper left corner and select a region and a project.
- Click Service List. Under Database, click Relational Database Service. The RDS console is displayed.
- On the Instances page, locate the primary DB instance to be deleted and click More > Delete in the Operation column.
- In the displayed dialog box, click Yes.
- Refresh the DB instance list later to confirm that the deletion was successful.
Deleting a Read Replica
- Log in to the management console.
- Click
in the upper left corner and select a region and a project.
- Click Service List. Under Database, click Relational Database Service. The RDS console is displayed.
- On the Instances page, locate the target DB instance and click
. All the read replicas created for the DB instance are displayed.
- Locate the read replica to be deleted and click More > Delete in the Operation column.
- In the displayed dialog box, click Yes.
- Refresh the DB instance list later to check that the deletion is successful.
Parent topic: Instance Lifecycle