Updated on 2024-11-06 GMT+08:00

Deleting a Read Replica

Scenarios

You can delete read replicas billed on a pay-per-use or serverless basis on the Basic Information page.

Constraints

  • Deleted read replicas cannot be recovered. Exercise caution when performing this operation.
  • You can only delete a read replica when the 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.

  • Before deleting the last serverless read replica, ensure that the function for adjusting the number of serverless read replicas has been disabled.

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