Облачная платформаAdvanced

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.

Before deleting a DB instance, check whether there are any manual backups. If you do not need to retain manual backups, delete them when deleting the DB instance.

Constraints

  • DB instances cannot be deleted when operations are being performed on them. They can be deleted only after the operations are complete.
  • If a backup of a DB instance is being restored, the instance cannot be deleted.
  • 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 use a manual backup to restore a DB instance. For details, see Restoring a DB Instance from Backups.

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 in the upper left corner of the page and choose Database > Relational Database Service.
  4. On the Instances page, locate the primary DB instance to be deleted and choose More > Delete in the Operation column.

  5. In the displayed dialog box, enter DELETE and then click OK.
  6. Refresh the DB instance list later to confirm that the deletion was 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 in the upper left corner of the page and choose Database > Relational Database Service.
  4. On the Instances page, locate the target DB instance and click . All the read replicas created for the DB instance are displayed.
  5. Locate the read replica to be deleted and click More > Delete in the Operation column.
  6. In the displayed dialog box, enter DELETE and then click OK.
  7. Refresh the DB instance list later to check that the deletion is successful.