You can manually upgrade the minor engine version of an ApsaraDB RDS for SQL Server instance. Upgrading the minor engine version provides performance improvements, new features, and bug fixes.
For information about the updates for each minor engine version of ApsaraDB RDS for SQL Server, see Release notes for ApsaraDB RDS for SQL Server minor engine versions.
To upgrade the minor engine version for other database engines, see the following topics:
Prerequisites
Your ApsaraDB RDS for SQL Server instance must meet the following requirements:
-
Billing method: pay-as-you-go or subscription (Serverless instances are not supported)
-
Instance type: general-purpose or dedicated (shared instances are not supported)
Limitations
You cannot upgrade the minor engine version for instances that meet any of the following conditions:
-
The instance is joined to an AD domain.
-
The instance is a Serverless instance.
-
The instance is a primary instance of Cluster Edition, and the read-only endpoint for the secondary node is enabled.
-
The instance is a primary instance of Cluster Edition that has read-only instances and meets one of the following conditions:
-
TDE, SSL, or cloud disk encryption is enabled.
-
snapshot backup is enabled.
-
Check the minor engine version
You can check your instance's current minor engine version in one of the following ways:
-
Log on to the ApsaraDB RDS console and check the version on the Basic Information page of the target instance.
-
Connect to the SQL Server instance and run the
SELECT @@VERSIONcommand.
Considerations
|
Category |
Description |
|
Before the upgrade |
|
|
After the upgrade |
|
Upgrade the minor engine version
Go to the Instances page. In the top navigation bar, select the region in which the RDS instance resides. Then, find the RDS instance and click the ID of the instance.
-
In the Configuration Information section, click Update Minor Engine Version.
NoteIf this button is not visible, your instance is either running the latest minor engine version or does not meet the prerequisites.
-
In the dialog box that appears, select a version from the Latest Version drop-down list, set the Upgrade Time, and then click OK.
For the Upgrade Time parameter, you can select Switch Immediately, Upgrade Within Maintenance Window (default: 02:00–06:00), or Schedule a Time. This upgrade requires underlying data migration, which causes a connection interruption of about 20 to 30 minutes. Ensure your application has an automatic reconnection mechanism.
API reference
You can call the UpgradeDBInstanceKernelVersion API operation to upgrade the minor engine version of an instance.