Upgrading the Minor Version of an Instance
Scenarios
You can upgrade the minor version of your DB instance to improve performance, optimize functions, and fix bugs.
When a new minor version is released on Huawei Cloud, you will see Upgrade in the DB Engine Version column on the Instances page. You can click Upgrade to go to the minor version upgrade page.
For details about the updates in each kernel version, see TaurusDB Kernel Version Release History.
Upgrade Scenarios
- Depending on the kernel version, upgrading a minor version involves three scenarios.
Table 1 Kernel version upgrade scenarios Upgrade Scenario
Upgrade Path
Description
Scenario 1: kernel version < 2.0.51.240305
Due to the large version gap, first upgrade the kernel version to 2.0.51.240305 or 2.0.51.2403** (subject to the version displayed on the console). After this upgrade is successful, perform a minor version pre-upgrade and a minor version upgrade in sequence.
For details, see Scenario 1.
The entire upgrade process takes about 5 minutes per node. The upgrade will trigger two primary/standby switchovers, which may interrupt workloads for about 30–90 seconds. To minimize the impact of the upgrade, perform the upgrade during off-peak hours, or ensure that your application has an automatic reconnection mechanism.
Scenario 2: 2.0.51.240305 ≤ kernel version ≤ 2.0.51.2403**
Perform a minor version pre-upgrade first. After the pre-upgrade is successful, click Upgrade again to perform the minor version upgrade.
For details, see Scenario 2.
- The entire upgrade process involves the upgrade of the data dictionary and will take a long time.
- Before the upgrade, check the configurations of the following parameters:
- rds_global_sql_log_bin must be set to ON.
- The value of binlog_expire_logs_seconds must be greater than or equal to 86400.
- default_collation_for_utf8mb4 must be set to utf8mb4_0900_ai_ci.
For details, see Modifying Instance Parameters.
- Minor version pre-upgrade
- A temporary instance is created for verifying the upgrade process. A DR instance is created for version rollback. During this process, the original instance is not rebooted and workloads are not interrupted.
- For an instance with a small amount of data, this process takes about 15 minutes. For an instance with a large amount of data, this process takes about 15 minutes plus an additional 20 minutes for every 1 TB of data. For example, this process takes at least 35 minutes for an instance with 1 TB of data.
- Minor version upgrade
- Your instance will be rebooted during the upgrade and workloads will be interrupted. The entire upgrade process takes 15–20 minutes, including a brief interruption of 1–2 minutes. Perform the upgrade during off-peak hours.
- The synchronization delay between the original and DR instances is checked during the upgrade. To prevent upgrade failures caused by excessive delay, ensure that the minor version upgrade does not overlap with the pre-upgrade time.
- During the upgrade, the original instance will be temporarily set to read-only until data synchronization between the original and DR instances is complete. In scenarios involving large transactions, the read-only duration may last longer than expected, which can cause the upgrade to fail.
Scenario 3: kernel version ≥ 2.0.54.240600
Clicking Upgrade will directly trigger a minor version upgrade to the latest version.
For details, see Scenario 3.
The entire upgrade process takes about 5 minutes per node. The upgrade will trigger two primary/standby switchovers, which may interrupt workloads for about 30–90 seconds. To minimize the impact of the upgrade, perform the upgrade during off-peak hours, or ensure that your application has an automatic reconnection mechanism.
- Depending on the execution time, a minor kernel version upgrade can be performed in two ways.
- Upon submission: The system upgrades the minor version upon your manual submission of the upgrade request.
- In maintenance window: A scheduled upgrade task is generated. The system upgrades the minor version during the maintenance window you have specified. For details about how to change the maintenance window, see Changing the Maintenance Window of a DB Instance.
Constraints
| Phase | Constraints |
|---|---|
| Before the upgrade |
|
| During the upgrade |
|
| After the upgrade |
|
Checking Version Information
- Log in to the TaurusDB console.
- Click
in the upper left corner and select a region. - On the Instances page, click the instance name to go to the Basic Information page.
- In the area, check the value of Kernel Version.
Upgrading the Minor Version of a Single Instance
- Log in to the TaurusDB console.
- Click
in the upper left corner and select a region. - On the Instances page, click the target instance name.
- In the Instance Information area, click Upgrade under Kernel Version. Figure 1 Upgrading the minor version on the Basic Information page
Alternatively, go to the Instances page and click Upgrade in the DB Engine Version column.
Figure 2 Upgrading the minor version on the Instances page
- In the displayed dialog box, confirm instance information and click Next.

- The system will automatically perform a pre-upgrade check. After the pre-upgrade check is complete, review the details and check whether any items have failed. If all items pass, click Next. If any items fail, handle them based on the Check Result and then click Retry after the issues are resolved.
During the pre-upgrade check, the following items are verified:
- Upgrade permission check: verifies whether the upgrade permissions are enabled.
- Instance version check: verifies whether the instance version meets the upgrade requirements.
Figure 3 Pre-upgrade check
- On the displayed page, select an upgrade method and click OK. The instance begins upgrading to version 2.0.51.240305 or 2.0.51.2403**.

- After the instance is upgraded to version 2.0.51.240305 or 2.0.51.2403**, click Upgrade. In the displayed dialog box, confirm the instance information and click Next. Figure 4 Successfully upgraded to version 2.0.51.240305
Figure 5 TaurusDB minor version pre-upgrade
- The system will automatically perform a pre-upgrade check. After the pre-upgrade check is complete, review the details and check whether any items have failed. If all items pass, click Next. If any items fail, handle them based on the Check Result and then click Retry after the issues are resolved.
During the pre-upgrade check, the following items are verified:
- Upgrade feature compatibility check: verifies whether the settings, such as binlog_expire_logs_seconds, meet the upgrade requirements. This item is displayed only when the check fails.
- Upgrade permission check: verifies whether the upgrade permissions are enabled.
- Instance version check: verifies whether the instance version meets the upgrade requirements.
Figure 6 Pre-upgrade check (successful)
Figure 7 Pre-upgrade check (failed)
- On the displayed page, select an upgrade method and click OK. Figure 8 Confirming the upgrade
- Upon submission: The system upgrades the minor version immediately after you submit the upgrade request. Then, you can go to Task Center and view information about the upgrade task on the Instant Tasks tab page.
- In maintenance window: The system upgrades the minor version during your configured maintenance window. Then, you can go to Task Center and view information about the upgrade task on the Scheduled Tasks tab page.
- In the displayed dialog box, click OK to start the pre-upgrade. Figure 9 Pre-upgrade check
- 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 under Kernel Version again. Figure 10 Upgrading the kernel version
- In the displayed dialog box, click OK. The system will automatically perform a pre-upgrade check. Figure 11 Minor version upgrade
- After confirming that all pre-upgrade check information is correct, click Next. In the displayed dialog box, select the upgrade mode and click OK. Figure 12 Pre-check for the minor version upgrade
Figure 13 Minor version upgrade
- Confirm the pre-upgrade check information in the dialog box and click OK. The instance status becomes Upgrading minor version. Wait until the kernel version upgrade task is complete. Figure 14 Pre-upgrade check
- When the upgrade is complete, the instance status becomes Kernel version upgrade to be confirmed, which means no other operations are allowed. Go to the Basic Information page and click Apply Upgrade. The instance status changes to Upgrading kernel version. After the upgrade is complete, the instance status becomes normal. Figure 15 Checking the instance status
Figure 16 Applying the upgrade
- If you have enabled operation protection, click Send Code in the displayed Identity Verification dialog box and enter the obtained verification code. Then, click OK.
Two-factor authentication improves the security of your account. For details about how to enable operation protection, see Identity and Access Management User Guide.
- Log in to the TaurusDB console.
- Click
in the upper left corner and select a region. - On the Instances page, click the target instance name.
- In the Instance Information area, click Upgrade under Kernel Version. Figure 17 Upgrading the minor version on the Basic Information page
Alternatively, go to the Instances page and click Upgrade in the DB Engine Version column.
Figure 18 Upgrading the minor version on the Instances page
- In the displayed dialog box, confirm instance information and click Next. Figure 19 TaurusDB minor version pre-upgrade
- The system will automatically perform a pre-upgrade check. After the pre-check is complete, review the details and check whether any items have failed. If all items pass, click Next. If any items fail, handle them based on the Check Result and then click Retry after the issues are resolved.
During the pre-check, the following items are verified:
- Upgrade feature compatibility check: verifies whether the settings, such as binlog_expire_logs_seconds, meet the upgrade requirements. This item is displayed only when the check fails.
- Upgrade permission check: verifies whether the upgrade permissions are enabled.
- Instance version check: verifies whether the instance version meets the upgrade requirements.
Figure 20 Pre-upgrade check
- On the displayed page, select an upgrade method and click OK. Figure 21 Confirming the upgrade
- Upon submission: The system upgrades the minor version immediately after you submit the upgrade request. Then, you can go to Task Center and view information about the upgrade task on the Instant Tasks tab page.
- In maintenance window: The system upgrades the minor version during your configured maintenance window. Then, you can go to Task Center and view information about the upgrade task on the Scheduled Tasks tab page.
- In the displayed dialog box, click OK to start the pre-upgrade. Figure 22 Pre-upgrade check
- 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 under Kernel Version again. Figure 23 Upgrading the kernel version
- In the displayed dialog box, click OK. The system will automatically perform another pre-upgrade check. Figure 24 Minor version upgrade
- After confirming that all pre-check information is correct, click Next. In the displayed dialog box, select the upgrade mode and click OK. Figure 25 Pre-check for the minor version upgrade
Figure 26 Minor version upgrade
- Confirm the pre-upgrade check information in the dialog box and click OK. The instance status becomes Upgrading minor version. Wait until the kernel version upgrade task is complete. Figure 27 Pre-upgrade check
- When the upgrade is complete, the instance status becomes Kernel version upgrade to be confirmed, which means no other operations are allowed. Go to the Basic Information page and click Apply Upgrade. The instance status changes to Upgrading kernel version. After the upgrade is complete, the instance status becomes normal. Figure 28 Checking the instance status
Figure 29 Applying the upgrade
- If you have enabled operation protection, click Send Code in the displayed Identity Verification dialog box and enter the obtained verification code. Then, click OK.
Two-factor authentication improves the security of your account. For details about how to enable operation protection, see Identity and Access Management User Guide.
- Log in to the TaurusDB console.
- Click
in the upper left corner and select a region. - On the Instances page, click the target instance name.
- In the Instance Information area, click Upgrade under Kernel Version. Figure 30 Upgrading the minor version on the Basic Information page
Alternatively, go to the Instances page and click Upgrade in the DB Engine Version column.
Figure 31 Upgrading the minor version on the Instances page
- In the displayed dialog box, confirm instance information and click Next. Figure 32 TaurusDB minor version pre-upgrade
- The system will automatically perform a pre-upgrade check. After the pre-check is complete, review the details and check whether any items have failed. If all items pass, click Next. If any items fail, handle them based on the Check Result and then click Retry after the issues are resolved.
During the pre-check, the following items are verified:
- Upgrade permission check: verifies whether the upgrade permissions are enabled.
- Instance version check: verifies whether the instance version meets the upgrade requirements.
Figure 33 Pre-upgrade check
- On the displayed page, select an upgrade method and click OK. Figure 34 Confirming the upgrade
- Upon submission: The system upgrades the minor version immediately after you submit the upgrade request. Then, you can go to Task Center and view information about the upgrade task on the Instant Tasks tab page.
- In maintenance window: The system upgrades the minor version during your configured maintenance window. Then, you can go to Task Center and view information about the upgrade task on the Scheduled Tasks tab page.
- If you have enabled operation protection, click Send Code in the displayed Identity Verification dialog box and enter the obtained verification code. Then, click OK.
Two-factor authentication improves the security of your account. For details about how to enable operation protection, see Identity and Access Management User Guide.
- View the results.
On the Instances page, the instance status becomes Upgrading minor version. This process takes about 10 to 20 minutes. Then, go to the instance's Basic Information page and check the kernel version to verify whether the upgrade is successful.
Batch Upgrading the Minor Versions of Multiple Instances
- Log in to the TaurusDB console.
- Click
in the upper left corner and select a region. - On the Instances page, select the desired DB instances and click Upgrade in the upper left corner of the list. Figure 35 Batch upgrade
A maximum of 100 instances can be selected at a time.
- In the Upgrade dialog box, confirm information about the target instances. Figure 36 Confirming the instance information
- The system will automatically perform a pre-upgrade check. After the pre-check is complete, review the details and check whether any items have failed. If all items pass, click Next. If any items fail, handle them based on the Check Result and then click Retry after the issues are resolved.
During the pre-check, the following items are verified:
- Upgrade feature compatibility check: verifies whether the settings, such as binlog_expire_logs_seconds, meet the upgrade requirements. This item is displayed only when the check fails.
- Upgrade permission check: verifies whether the upgrade permissions are enabled.
- Instance version check: verifies whether the instance versions meet the upgrade requirements.
Figure 37 Pre-upgrade check
- Confirm the information, select the upgrade method, enter YES in the text box as prompted, and click OK. Figure 38 Confirming the upgrade method
- Upon submission: The system upgrades the minor version immediately after you submit the upgrade request. Then, you can go to Task Center and view information about the upgrade task on the Instant Tasks tab page.
- In maintenance window: The system upgrades the minor version during your configured maintenance window. Then, you can go to Task Center and view information about the upgrade task on the Scheduled Tasks tab page.
- Wait for 2 to 5 minutes and check whether the instance has started the upgrade. If the upgrade has not started, verify that the rds_global_sql_log_bin parameter is set to ON and binlog_expire_logs_seconds is greater than or equal to 86400. If the parameters are not correctly configured, the upgrade cannot proceed.
- If the parameters are correctly configured but the instance still has not started the upgrade, the value of rds_sql_log_bin_inconsistent_count may be not 0. Wait until this value becomes 0, and then perform the upgrade.
- If you have enabled operation protection, click Send Code in the displayed Identity Verification dialog box and enter the obtained verification code. Then, click OK.
Two-factor authentication improves the security of your account. For details about how to enable operation protection, see Identity and Access Management User Guide.
Follow-up Operations
- If you have selected Upon submission for Scheduled Time:
On the Instant Tasks page, search for Upgrading a DB instance version and check the execution progress. Instant tasks cannot be canceled.
- If you have selected In maintenance window for Scheduled Time:
On the Scheduled Tasks page, search for the instance ID and check the execution status of the upgrade task.
If the task is in the To be executed state, you can click Cancel to cancel the task.
For details, see Viewing a Task.
FAQs
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