Help Center> GaussDB(for MySQL)> User Guide> Read Replicas> Unsubscribing a Yearly/Monthly Read Replica
Updated on 2024-05-21 GMT+08:00

Unsubscribing a Yearly/Monthly Read Replica

Scenarios

You can unsubscribe a read replica of a yearly/monthly instance.

Constraints

  • You can unsubscribe a read replica only when the DB instance has two or more read replicas.
  • Only isolated read replicas can be unsubscribed.
  • If a read replica of a DB instance is being isolated, you cannot perform the following operations for the instance:
    • Creating read replicas
    • Scaling up storage space
    • Changing instance specifications
    • Rebooting the instance
    • Resetting the password
    • Upgrading the patch
    • Changing the private IP address
    • Changing the database port
    • Enabling or disabling SSL
    • Binding an EIP
    • Operations related to proxy instances
  • The following operations cannot be performed on other read replicas of the instance:
    • Changing a failover priority
    • Promoting a read replica to primary
    • Isolating a read replica

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 a read replica and choose More > Isolate in the Operation column.

    • When a read replica is isolated, you can only unsubscribe or release it.
    • When the workloads are heavy, you can release the isolated read replica if necessary.

  6. After read replica status changes to Isolated, choose More > Unsubscribe in the Operation column.

    Figure 1 Unsubscribing a read replica
    • It takes about 1 minute to isolate a read replica.
    • When a read replica is isolated, read operations and database synchronization cannot be performed.
    • To avoid being billed for an isolated read replica, unsubscribe it in a timely manner.

  7. On the displayed page, confirm the order to be unsubscribed and select a reason. Then, click Confirm.

    For unsubscription details, see Unsubscription Rules.

  8. In the displayed dialog box, click Yes.

    After an unsubscription request is submitted, resources and data will be deleted and cannot be retrieved.

  9. View the unsubscription result. After the order is successfully unsubscribed, the unsubscribed read replica of the instance will be deleted.