Changing a DB Instance Class
Scenarios
You can change the instance class (vCPUs and memory) of a DB instance as required.
Constraints
| Phase | Constraints |
|---|---|
| Before the change |
|
| During the change |
|
| After the change |
|
Change Duration and Impact on Workloads
- Changing an instance class will interrupt services for about 10 to 120 seconds. Ensure that your applications support automatic reconnection. Change instance classes during off-peak hours because the change takes much more time during peak hours.
- Changing an instance class takes 5 to 16 minutes for an instance using cloud disks (non-peak hours).
- If you choose to change an instance class during the maintenance window, after the request is submitted, you can locate the scheduled task and click Execute Now in the Operation column. The time required for changing an instance class can be a little bit long during peak hours due to high replication delay.
Procedure
- Log in to the management console.
- Click
in the upper left corner and select a region and a project. - Click
in the upper left corner of the page and choose Database > Relational Database Service. - On the Instances page, locate the target DB instance and choose More > Change Instance Class in the Operation column.
Alternatively, click the instance name to go to the Basic Information page. Find Instance Class and click Configure.
- On the displayed page, specify the new instance class and click Next.
Choose a new instance class and a scheduled time, and click Next.
- Immediate: An instance class change is applied immediately after the request is submitted.
- During maintenance window: If you select this option, set the maintenance window to off-peak hours.
If you select During maintenance window, you can further click Modify under the option to change the maintenance window to a preferred time.
- Confirm the specifications.
- If you need to modify your settings, click Previous.
- Click Submit.
- Check the change result.
Return to the Instances page and view the instance status. During the change period, the instance status is Changing instance class. After a few minutes, click the DB instance and view its instance class on the displayed Basic Information page to check that the change is successful.
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