Reviewed-by: Székely, Ond <ond.szekely@t-systems.com> Co-authored-by: wangdengke2 <wangdengke2@huawei.com> Co-committed-by: wangdengke2 <wangdengke2@huawei.com>
23 KiB
Upgrading the Minor Version of a DB Instance
Scenarios
You can upgrade the minor version of your DB instance to improve performance, optimize functions, and fix bugs.
Upgrade Scenarios
Upgrade Information |
Upgrade Scenario |
Description |
|---|---|---|
Kernel version |
There are three scenarios for upgrading a minor version based on different kernel versions:
|
|
Upgrade time |
There are two ways to upgrade a minor version based on different upgrade times.
|
If the kernel version of your instance has potential risks or major defects, has expired, or has been brought offline, the system will notify you by SMS message or email and deliver an upgrade task during the maintenance window. |
Constraints
Phase |
Constraint |
|---|---|
Before the upgrade |
|
During the upgrade |
|
After the upgrade |
|
Upgrading the Minor Version of a Single DB Instance
- Log in to the management console.
- Click
in the upper left corner and select a region and a project. - Click Service List. Under Databases, click TaurusDB.
- On the Instances page, click the instance name to go to the Basic Information page.
- In the DB Instance Information area, click Upgrade in the Kernel Version field.
Alternatively, go to the Instances page and click Upgrade in the DB Engine Version column.
- In the displayed dialog box, set Scheduled Time and click OK.
- Upon submission: The system upgrades the minor version immediately after your submission of the upgrade request. On the Task Center page, click Instant Tasks and view the task progress.
- In maintenance window: The system upgrades the minor version during the maintenance window you have specified. After the operation is complete, go to the Task Center page, click Scheduled Tasks, and view the upgrade task details.
- The system will automatically conduct a pre-upgrade check.
In the displayed dialog box, read the message carefully and click OK to proceed with the upgrade.
- After the pre-upgrade is complete, the instance status becomes Pre-upgrade completed, which means no other operations are allowed. On the Basic Information page, click Upgrade in the Kernel Version field again.
- In the displayed dialog box, click OK. The system will automatically conduct a pre-upgrade check.
- Confirm the check results and click OK.
- After the upgrade is complete, the instance status becomes Kernel version upgrade to be confirmed, which means no other operations are allowed. To make the instance available again, go to the Basic Information page and click Apply Upgrade in the Kernel Version field.
Upgrading the Minor Versions of Multiple DB Instances at Once
- Log in to the management console.
- Click
in the upper left corner and select a region and a project. - Click Service List. Under Databases, click TaurusDB.
- On the Instances page, select the desired DB instances and click Upgrade in the upper left corner of the list.
- In the displayed dialog box, confirm the information about the DB instances to be upgraded and set Scheduled Time.
- Upon submission: The system upgrades the minor version immediately after your submission of the upgrade request. On the Task Center page, click Instant Tasks and view the task progress.
- In maintenance window: The system upgrades the minor version during the maintenance window you have specified. After the operation is complete, go to the Task Center page, click Scheduled Tasks, and view the upgrade task details.
- Confirm the information, enter YES in the text box as prompted, and click OK.
- Wait for 2 to 5 minutes and check whether the upgrade has been started for the DB instance. If the upgrade has not been started, check whether the value of rds_global_sql_log_bin is ON and the value of binlog_expire_logs_seconds is at least 86400. If the parameters are not correctly configured, the upgrade cannot be performed.
- If the parameters are correctly configured but the upgrade has not started, it could be due to that the value of rds_sql_log_bin_inconsistent_count is not 0. Wait until this value becomes 0 before proceeding with the upgrade.
