Serverless clusters support mounting read-only instances to enhance read performance and concurrency while reducing the load on the read-write instance. This document describes how to create a read-only instance and modify its configuration for a serverless cluster.
Billing Description
The read-only and read-write instances have the same billing logic. For more information, see Billing Overview. Creating Read-Only Instance
Note:
Read-only instance on the current version only supports vertical scaling but not horizontal scaling.
After purchasing a read-only instance group, you can adjust its compute unit and quantity.
The computing power of read-write instances or read-only instances has no impact on each other.
Read-only instances can only be automatically enabled and disabled, and a single instance can't be enabled or disabled manually.
Creating a read-only instance when purchasing a cluster
2. Behind the Serverless Architecture, select the Cluster Edition.
3. Beneath the Read-Only Group, select the number of read-only nodes within the group. You can add a maximum of eight read-only nodes.
4. The configured compute unit range only takes effect for all the read-only nodes in the read-only group.
5. After configuring other configuration items for the serverless clusters, click Buy Now. For more information on the other configuration description of the serverless clusters, see Creating Serverless Cluster. Adding Read-Only Instances to Existing Serverless Clusters
Note:
You can only perform the operations on the cluster in the running status.
2. Click Target Cluster in the cluster list on the left to enter the cluster management page.
3. On the Cluster Management page, under Cluster Details, proceed as follows to navigate to the Adjust Configurations page.
If the Serverless architecture is a single mode architecture, click the "+" icon in the read-only instance area in the topology diagram, or click Add Now on the read-only instance information on the right.
If the Serverless architecture is a cluster edition architecture, click the "+" icon in the read-only instance area in the topology diagram or the "+" icon on the read-only instance information on the right.
4. Behind the Serverless Architecture, select the Cluster Edition.
5. Select the read-only group, and increase the number of read-only nodes within the read-only group as required. You can add a maximum of eight read-only nodes.
6. Configure the computational power range for the read-only group, which will be effective for all read-only nodes in the group.
7. Click Buy Now to add a read-only instance.
Modifying the configuration of the read-only instance
You can adjust the number of the read-only instances and the compute unit range of the read-only group.
Note:
The cluster must be in a running state; configuration changes for read-only instances cannot be made while it is in a paused state.
After adjusting the number of read-only instances, you can manually trigger a load balancing to balance traffic.
You can adjust the number of the read-only instances on the configuration modification page. But you can't add or delete a read-only instance manually.
After a downgrade, the removed read-only instances will not be isolated in the Recycle Bin but will be eliminated directly. If you need to add read-only instances, please do so by adjusting the configuration to create read-only instances.
When the database proxy is enabled, the business will not be interrupted during the configuration modification.
2. Click the target cluster in the cluster list on the left to enter the cluster management page.
3. Under Cluster Management > Cluster Details, click Adjust Configurations following the configuration.
4. You will be redirected to the configuration modification page, select the desired number of read-only nodes and compute unit range to complete the modification.
Was this page helpful?