Help Center/ TaurusDB/ User Guide/ Read Replicas/ Unsubscribing from a Read Replica
Updated on 2024-11-06 GMT+08:00

Unsubscribing from a Read Replica

Scenarios

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

Constraints

  • You can only unsubscribe a read replica 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 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 a read replica and click 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 the read replica status changes to Isolated, choose More > Unsubscribe in the Operation column.

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