Changing the Compute Range
After buying a serverless instance, you can change its compute range. When certain trigger conditions are met, instance compute is automatically changed.
Conditions for Changing Compute
Cloud Eye monitors the CPU usage and memory usage of serverless instances.
If any of the following conditions is met, a compute scale-up is automatically triggered:
- The CPU usage is greater than 80% for 5 seconds and it has been at least 5 seconds since the last scale-up.
- The memory usage is greater than 80% for 5 seconds and it has been at least 5 seconds since the last scale-up.
- The CPU usage is greater than 60% for 20 seconds and it has been at least 10 seconds since the last scale-up.
If the following condition is met, a compute scale-down is automatically triggered:
The CPU usage is less than 30% for 15 seconds, it has been at least 15 seconds since the last scale-down, and the memory usage is 80% or less.
Constraints
- As data grows and with daily usage, there may be some cache or memory fragments that cannot be released, leading to high memory usage. If you want to reduce compute to the minimum, you can reboot the instance.
- If resources are insufficient when a compute change is triggered, nodes with the desired specifications will be created on a physical machine that has enough resources. If resources on the primary node are insufficient, there will be a primary/standby failover.
Changing the Compute Range
- Log in to the management console.
- Click in the upper left corner and select a region and project.
- Click in the upper left corner of the page and choose Databases > GaussDB(for MySQL).
- On the Instances page, click the instance name to go to the Basic Information page.
- In the Serverless Information area, click Change under Compute Range.
Figure 1 Changing serverless information
- In the displayed dialog box, set Min. Compute and Max. Compute, and click OK.
Figure 2 Changing the compute range
- Check the new compute range in the Serverless Information area.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot