Updated on 2024-05-21 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 GaussDB(for MySQL) Instances page.

  • Instances cannot be deleted when operations are being performed on them.
  • If you delete a DB instance billed on a pay-per-use basis, 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 billed on a pay-per-use or serverless basis, the read replicas associated with it are also deleted.
  • You can rebuild deleted instances from the recycle bin. For details, see Rebuilding a Deleted Instance from Recycle Bin.

Procedure

  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, 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.