Help Center> GaussDB> User Guide> Read Replicas> Deleting a Pay-per-Use Read Replica

Deleting a Pay-per-Use Read Replica

Scenarios

You can manually delete read replicas billed in the pay-per-use mode on the Instance Management page.

Deleted read replicas cannot be restored. Exercise caution when performing this operation.

Constraints

  • You can delete read replicas only when the DB instance has two or more than two read replicas. A GaussDB(for MySQL) DB instance must have at least one read replica.
  • DB instances cannot be deleted when operations are being performed on them. They can be deleted only after the operations are completed.

Procedure

  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 GaussDB.
  4. On the Instance Management page, click the target DB instance.
  5. At the bottom of the Basic Information page, locate the read replicas to be deleted and choose More > Delete in the Operation column.

    For high availability reasons, the system reserves an available read replica. The read replica cannot be deleted until the associated DB instance is deleted.

    Figure 1 Deleting a read replica

  6. If you have enabled the operation protection function, click Start Verification in the Delete DB Instance dialog box. On the displayed page, click Send Code, enter the obtained verification code, and click Verify.

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

  7. In the displayed dialog box, click Yes. Refresh the Instance Management page later to check that the deletion is successful.