If a warehouse's configuration no longer meets your business needs, you can modify the number of compute units (CUs) for its backend (BE) or compute (CN) nodes.
Prerequisites
-
The instance status is Running.
-
Your Alibaba Cloud account has no unpaid orders.
If you have unpaid orders, you must pay for or cancel them.
Scale up
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.
-
Click the Compute Group tab.
-
On the Compute Group page, click the name of the warehouse.
-
On the Manage Warehouse page, click Upgrade to the right of BE Specifications or CN Specifications.
-
In the Upgrade Configuration panel, configure the following parameters:
Parameter
Description
Number of CUs
You can only select a higher specification. If your warehouse is already at the highest specification, you can scale it out instead.
Restart Mode
This parameter is available only for shared-data instances.
You can select a rolling restart or a quick restart.
-
Rolling Restart (default): This mode restarts the compute nodes (CNs) in the instance one by one, ensuring that some nodes are always running to maintain service availability. Recommended for scenarios that require high service continuity and minimal user impact.
-
Quick Restart: This mode restarts all CNs at once for a faster restart process. However, this may cause a brief service interruption. Perform this operation during off-peak hours.
NoteA quick restart is supported only for shared-data instances with a minor version of 1.6.10 or later.
-
-
When the Scale-up Precheck status is Check Passed, select the terms of service checkbox and click OK.
The scale-up is complete when the warehouse status changes from Upgrading Configuration to Running.
Scale down
-
On the Manage Warehouse page, click Downgrade to the right of BE Specifications or CN Specifications.
-
In the Downgrade Configuration panel, configure the following parameters:
Parameter
Description
Number of CUs
You can only select a lower specification.
Restart Mode
This parameter is available only for shared-data instances.
You can select a rolling restart or a quick restart.
-
Rolling Restart (default): This mode restarts the compute nodes (CNs) in the instance one by one, ensuring that some nodes are always running to maintain service availability. Recommended for scenarios that require high service continuity and minimal user impact.
-
Quick Restart: This mode restarts all CNs at once for a faster restart process. However, this may cause a brief service interruption. Perform this operation during off-peak hours.
NoteA quick restart is supported only for shared-data instances with a minor version of 1.6.10 or later.
-
-
When the Scale-down Precheck status is Check Passed, select the terms of service checkbox and click OK.
The scale-down is complete when the warehouse status changes from Downgrading Configuration to Running.