Updated on 2024-09-24 GMT+08:00

Deleting a DB Instance

Scenarios

You can manually delete a DB instance billed on a pay-per-use or serverless basis on the Instances page.

Constraints

  • Instances cannot be deleted when operations are being performed on them.
  • If you delete a DB instance, its automated backups are also deleted and you are no longer billed for them. Manual backups are still retained and will incur additional costs.
  • If you delete a DB instance, its read replicas are also deleted.
  • If a backup of a DB instance is being used to restore data, the DB instance cannot be deleted.
  • Deleted DB instances cannot be recovered and resources are released. To retain data, back up the data before deleting a DB instance.

  • Deleted DB instances will be moved to the recycle bin, but will be permanently deleted after a length of time determined by the recycling policy.

Procedure

  1. Log in to the management console.
  2. Click in the upper left corner and select a region and project.
  3. Click in the upper left corner of the page and choose Databases > GaussDB(for MySQL).
  4. On the Instances page, locate the instance you want to delete and click More > Delete in the Operation column.
  5. If you have enabled operation protection, click Start Verification in the displayed dialog box. On the displayed page, click Send Code, enter the obtained verification code, and click Verify to close the page.

    For details about how to enable operation protection, see Identity and Access Management User Guide.

  6. In the displayed dialog box, enter DELETE and click OK. Refresh the Instances page later to check that the deletion is successful.