TDSQL Boundless Serverless instances are billed based on the pay-as-you-go model using CCUs (Cloud Computing Units, the billing unit for computing power). The computing power of an instance automatically scales within the preset upper and lower limits. This document describes how to adjust the computing power range for a Serverless instance in the console.
Background Information
CCU is the compute billing unit for Serverless instances. One CCU provides a specification of 1 vCPU and 2 GB of memory. Within the adjusted computing power range, instances are automatically scaled out or in based on real-time loads and billed according to actual usage.
Setting appropriate upper and lower limits for computing power can meet both types of requirements:
Set a minimum CCU to guarantee baseline computing power, preventing performance degradation caused by excessive scaling down during business troughs.
Set a maximum CCU to limit the computing power ceiling, preventing excessive costs caused by sudden traffic spikes.
Use Limits
|
Instance mode | Only Serverless instances support adjusting the CCU upper and lower limits. |
Instance State | The instance is in the Running state. |
CCU value range | The minimum and maximum CCU for a single instance must both be within the range of 1 CCU - 16 CCU. |
CCU step size | The minimum and maximum CCU must be integers (for example, 1, 2, 3). |
Limitations
After you adjust the CCU upper and lower limits, the new computing power range takes effect immediately, and auto-scaling operates within this new range. This operation does not restart the instance, ensuring no impact on your business. However, if you lower the maximum CCU below the current computing power, scaling down may be triggered, which could affect performance. Therefore, it is recommended to make such adjustments during off-peak business hours.
Steps
2. In the left sidebar, select Instance List. Click the Instance ID of the target Serverless instance to go to the Instance Details page.
3. On the Instance Information tab, locate the Compute Configuration item in the Specs Configuration area and click Adjust Configurations on the right.
4. In the Adjust Instance Configuration window that pops up, confirm the basic instance information. Then, in the Compute Configuration After Adjustment section, select the new Minimum CCU and Maximum CCU respectively.
5. After confirming that the configuration and cost estimate are correct, click Adjust Configurations to submit the adjustment task.
After the adjustment task is submitted successfully, the new CCU upper and lower limits take effect immediately. Return to the Specs Configuration area on the Instance Information tab. The
Compute Configuration item will display the updated minimum CCU and maximum CCU.
Instances are automatically scaled out or in based on the new computing power range and the load conditions.