If a warehouse has insufficient nodes for your workload, you can add or remove compute nodes (CNs) or backend nodes (BEs).
Prerequisites
-
The instance is in the Running state.
-
Your Alibaba Cloud account has no unpaid scale-out, scale-in, or renewal orders.
You must pay for or cancel any pending orders before proceeding.
Usage notes
-
The service may be interrupted during a scale-out or scale-in. Ensure your client applications have a retry mechanism.
-
During a scale-out or scale-in operation, you cannot perform other actions such as a configuration upgrade, configuration downgrade, configuration modification, or version upgrade.
Limitations
The number of nodes in the default warehouse cannot be reduced to zero. At least three nodes must keep running. Other warehouses can be scaled in to zero nodes.
Scale out
If the Scale-out Precheck fails with the status Precheck Failed due to insufficient inventory in the current region or zone, add fewer nodes or contact the EMR Serverless StarRocks team to request more resources.
Go to the details page of an EMR Serverless StarRocks instance.
Log on to the EMR console.
In the left-side navigation pane, choose .
In the top navigation bar, select a region based on your business requirements.
In the Instances section, find the desired StarRocks instance and click the name of the instance.
-
On the Computing Group tab, click the name of your target warehouse.
-
On the Manage Warehouse page, click Permanent Nodes to the right of Scale Out.
-
In the Scale Out panel, set the Number of Nodes. When the Scale-out Precheck shows Check Passed, select the service agreement checkbox and click OK.
The scale-out is successful when the warehouse status changes from Scaling Out to Running.
Scale in
A Scale-in Precheck failure (status: Precheck Failed) indicates that the operation would cause total data volume to exceed 70% of storage capacity. The system prevents this operation to avoid high storage utilization. To proceed, reduce the data volume by performing a data backup or migration, then try again.
-
On the Manage Warehouse page, click Permanent Nodes to the right of Scale In.
-
In the Scale In panel, adjust the Number of Nodes. When the Scale-in Precheck shows Check Passed, select the service agreement checkbox and click OK.
The scale-in is successful when the warehouse status changes from Scaling In to Running.