Help Center> GaussDB(for MySQL)> User Guide> Read Replicas> Deleting a Pay-per-Use Read Replica
Updated on 2024-05-21 GMT+08:00

Deleting a Pay-per-Use Read Replica

Scenarios

You can manually delete read replicas billed on a pay-per-use basis on the Instances page.

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

Constraints

  • You can delete a read replica only when a DB instance has two or more read replicas.
  • If another operation is being performed on a DB instance, the read replicas of the instance cannot be manually deleted.
  • For multi-AZ deployment, make sure that the primary node and remaining read replicas are located in different AZs after a read replica is deleted.

    If a primary node and a read replica are deployed in AZ1 and the other read replica is deployed in AZ2, the read replica in AZ2 cannot be deleted.

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, click the instance name to go to the Basic Information page.
  5. In the Node List area, locate the read replica to be deleted and choose More > Delete in the Operation column.

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

  7. In the displayed dialog box, click Yes. Refresh the Instances page later to confirm that the deletion has completed.