Changing vCPUs and Memory of an Instance
This section describes how to change your instance vCPUs and memory to suit your service requirements.
Precautions
- Instances can be scaled up or down by changing their specifications.
- If one instance has multiple nodes, the change will be performed on the nodes one by one. It takes about 5 to 10 minutes for each node, and the total time required depends on the number of the nodes.
- For a node whose specifications are being changed, its computing tasks are handed over to other nodes. Change specifications of nodes during off-peak hours to prevent the instance from overload.
- Do not perform DDL operations when you change the instance specifications.
A data definition language (DDL) is a language for defining data structures and database objects. Common examples of DDL statements are CREATE, ALTER, and DROP. Data Definition Language (DDL) is used to create, modify, and delete database objects, such as tables, indexes, views, functions, stored procedures, and triggers.
- When you change the CPU or memory of an instance, the change takes effect on all nodes in sequence. During the change on a node, read/write operations may fail and the latency may increase. Change the CPU or memory during off-peak hours.
- If you forcibly change the specifications of an instance when the instance is abnormal, services may be affected in seconds.
Method 1
- Log in to the GeminiDB console.
- In the service list, choose Databases > GeminiDB.
- On the Instances page, locate the instance whose vCPUs and memory you want to change and click its name.
- In the DB Information area on the Basic Information page, click Change next to the Instance Class field.
Figure 1 Changing specifications
- On the displayed page, select the required specifications and click Next.
Figure 2 Changing specifications
- On the displayed page, confirm the instance specifications.
- For yearly/monthly instances
- If you need to modify your settings, click Previous.
- If you do not need to modify your settings, click Submit. If you are scaling up the instance specifications, go to the payment page, select a payment method, and complete the payment.
- For pay-per-use instances
- If you need to modify your settings, click Previous.
- If you do not need to modify your settings, click Submit.
- For yearly/monthly instances
- View the change result.
Go to the Basic Information page and in the DB Information area you can see the new instance specifications.
Method 2
- Log in to the GeminiDB console.
- In the service list, choose Databases > GeminiDB.
- On the Instances page, locate the instance whose specifications you want to change and choose
in the Operation column.Figure 3 Changing specifications
Figure 4 Changing specifications
- On the displayed page, select the required specifications and click Next.
Figure 5 Changing specifications
- On the displayed page, confirm the instance specifications.
- For yearly/monthly instances
- If you need to modify your settings, click Previous.
- If you do not need to modify your settings, click Submit. If you are scaling up the instance specifications, go to the payment page, select a payment method, and complete the payment.
- For pay-per-use instances
- If you need to modify your settings, click Previous.
- If you do not need to modify your settings, click Submit.
- For yearly/monthly instances
- View the change result.
Go to the Basic Information page and in the DB Information area you can see the new instance specifications.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.