This topic describes how to change the specifications of an ApsaraDB RDS for SQL Server instance, including its instance type, storage capacity, and the performance level (PL) of its storage type. This helps you improve instance performance and resolve storage bottlenecks that are caused by business growth. After you change the specifications, you do not need to manually restart the instance. In addition, some instances support seamless storage capacity expansion, which does not interrupt database access.
For more information about how to change the specifications of a serverless RDS instance, see Change the scaling range of RCUs for a serverless ApsaraDB RDS for SQL Server instance and Expand storage capacity.
Changes
Changing the following configurations does not change the instance endpoint. To scale out the read capability of your database, you can create a read-only instance and configure read/write splitting to reduce the load on the primary instance. The primary instance must be a Cluster Edition instance.
Specification item | Description |
Version | You can upgrade the database engine version to a later version. |
Edition | |
Specifications |
|
Storage type |
|
Storage capacity |
Note
|
Prerequisites
Your Alibaba Cloud account has no unpaid renewal orders.
Usage notes
A specification change may involve a cross-host migration, for example, during a major version upgrade. This process deletes host accounts and any programs or files, such as SSIS, SSAS, or SSRS, that are deployed on the original host. Make sure that you migrate or back up your data in advance.
ImportantApsaraDB RDS for SQL Server is built on the native Microsoft SQL Server kernel and focuses on providing a stable and efficient managed database service. If your business requires features such as SSIS, SSAS, or SSRS, you need professional O&M skills to ensure business continuity.
A specification change may trigger a data migration. After the migration is complete, the system switches your workloads over at your selected switchover time. Incremental data synchronization is performed during this period. During the switchover, a transient connection that lasts for about 30 seconds occurs. During this period, you cannot perform most operations that are related to the database, accounts, or network. We recommend that you perform the specification change during off-peak hours and make sure that your application has an automatic reconnection mechanism.
RDS Basic Edition provides only a single database node with no secondary node for hot backup. Therefore, if the node goes down unexpectedly or undergoes a task such as a specification change or version upgrade, it may be unavailable for an extended period. If your business requires high database availability, we recommend that you do not use RDS Basic Edition. Instead, select another edition, such as High-availability Edition.
If a primary RDS instance has read-only instances, make sure that the storage capacity of each read-only instance is greater than or equal to the storage capacity of the primary instance when you expand the storage of the primary instance. Otherwise, the expansion fails. We recommend that you first expand the storage capacity of all read-only instances and then expand the storage capacity of the primary instance.
Billing rules
For more information, see Change instance specifications.
Procedure
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 of the Basic Information page, click Change Specifications.
(This step is required only for subscription instances.) In the dialog box, select the specification change method and click Next step.
The following change methods are available:
Upgrade or Downgrade: The new configuration takes effect immediately after the specifications are changed. This option is available for both subscription and pay-as-you-go instances.
Elastic Upgrade (This feature is available only to whitelisted users): An elastic upgrade lets you increase the specifications (memory and CPU) and storage capacity of an instance to improve its performance. At the specified restore point-in-time, the instance type is automatically restored to its pre-upgrade type, but the storage capacity is not restored.
After a change task is submitted, the system synchronizes the disk data to a new instance. It then switches information, such as the instance ID and endpoints, to the new instance based on the Immediate Upgrade/Downgrade setting. The instance ID and endpoints remain unchanged.
Change the specifications of the instance. For more information, see Changeable specification items.
ImportantSome ApsaraDB RDS for SQL Server instances support seamless storage capacity expansion. When you only change the performance level (PL) of the storage type (for example, from ESSD PL1 to PL2) or expand the storage capacity, your database access is not interrupted. Therefore, you do not need to set a switchover time. However, if you also change the instance type, you must configure a switchover time.
If the Change Specifications page displays the Switching Time option even though you have not changed any specifications, this indicates that your RDS instance does not yet support seamless scale-out. You can upgrade the major or minor engine version of your instance and then change the specifications to enable seamless scale-out.
Select when to apply the new specifications.
Switch Immediately After Data Migration: A specification change triggers a data migration. If you select this option, a switchover is performed immediately after the data migration is complete.
Switch Within Maintenance Window: A configuration change may cause a transient connection that lasts for approximately 30 seconds. During this period, most database, account, and network operations are unavailable. Therefore, you can schedule the switchover to occur within the maintenance window.
NoteSome instances support seamless storage capacity expansion. For these instances, this configuration item is not displayed and you do not need to configure a switchover time.
Read and select Terms of Service, click Pay Now, in the dialog box that appears, confirm the instance information before and after the specification change, click Continue to complete the payment.
WarningAfter you submit a specification change order, you cannot cancel the order. Therefore, before you submit a specification change order, we recommend that you evaluate whether the new specifications meet your business requirements.
After you submit a specification change order, do not perform DDL operations before the specification change is applied.