This topic describes how to scale the specifications, storage capacity, and number of nodes of read-only replicas in a cluster instance.
Prerequisites
The cluster has read-only replicas. For information about how to add a read-only replica to a cluster, see Add a read-only replica to a cluster.
The storage capacity and specification resources of the cluster meet the requirements for the scale operation.
Procedure
Log in to the OceanBase Cloud console.
In the left-side navigation pane, click Instances.
In the instance list, find the target cluster instance, and click ··· > Manage Read-only Replicas in the Actions column.
In the Manage Read-Only Replicas dialog box, you can perform operations such as Compute Specification Change and Adjust Nodes on the read-only replicas.
ParameterDescriptionCreate Read-Only Replica Each time you add a new read-only replica, it can only be created in a single zone and cannot be created across multiple zones simultaneously. It is recommended to keep the specification consistent with the original one. You can then complete data synchronization through tenant settings for normal use. For specific operations, see Add a read-only replica to a tenant. Create Read-Only Columnstore Replica After creating a read-only columnstore replica for a cluster, you need to create a read-only columnstore replica for the tenant on the tenant management page, then create a read-only endpoint to query the read-only columnstore replica, and execute SQL statements for data analysis. For specific operations, see Add a read-only replica to a tenant. Compute and Storage Expansion Expand the storage capacity for the read-only replicas in the selected zone. Compute and Storage Reduction Reduce the storage capacity for the read-only replicas in the selected zone. Add Node Add nodes to the read-only replicas in the selected zone. Delete Node Delete nodes from the read-only replicas in the selected zone. Note
The minimum number of nodes for a read-only replica in a single zone is 1.
Delete Read-Only Replica This operation will delete all resources of the read-only replica. Please ensure that the tenant no longer needs access to this replica before proceeding to delete the tenant's read-only replicas. For specific operations, see Delete a read-only replica of a tenant. Click OK. The system will redirect to the payment page.
Set the Node and Read-Only Replica Storage Size as needed, select the Service agreements, and click Buy Now.
ParameterDescriptionNumber of Nodes Includes node specifications and the number of nodes. To add a node, click + and select a node specification from the drop-down list. Notice
- In a single zone, all nodes of a read-only replica must have the same specification. The specifications of read-only nodes across different read-only replicas can vary. For ease of management, it is recommended that the node specifications and cluster specifications of read-only replicas in all zones be consistent.
- For the selection of read-only replica node specifications, if the cluster instance it belongs to is version V4.x, the minimum node specification supported is 4 cores. If the cluster instance is version V3.x, the minimum node specification supported is 8 cores.
Read-Only Replica Storage Size The storage size of the read-only replica, in GiB. Note
The minimum storage size for a read-only replica cannot be less than the minimum storage constrained by the current specification.