This topic describes how to change the specifications of an ApsaraDB RDS for SQL Server instance to improve instance performance and resolve the storage bottlenecks caused by business growth. The specifications that you can change include the performance level (PL) of the storage type, instance type, and storage capacity. For example, you can upgrade the PL of the Enterprise SSD (ESSD) storage type from PL1 to PL2. Storage capacity expansion without data loss is supported for specific RDS instances, which does not cause service interruptions.
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.
Changable specification items
The following table describes the specification items that you can change for an RDS instance. The modification of the following items does not change the endpoints of the RDS instance. To increase the read capability of your database system, you can create read-only RDS instances and enable read/write splitting to offload read requests from the primary RDS instance. This applies if your primary RDS instance runs RDS Cluster Edition.
Specification item | Description |
Database engine version | You can upgrade the database engine version of your RDS instance to a later version. |
RDS edition | You can upgrade the RDS edition of your RDS instance from RDS Basic Edition to RDS High-availability Edition or RDS Cluster Edition or from RDS High-availability Edition to RDS Cluster Edition. |
Instance type |
|
Storage type |
|
Storage capacity |
Note
|
Prerequisites
Your Alibaba Cloud account does not have overdue renewal orders.
Usage notes
After you change the specifications of your RDS instance, you do not need to manually restart the RDS instance.
A specification change may trigger a data migration. After the migration is complete, the system switches over your workloads during the switching time that you specify. The switchover does not interrupt the synchronization of incremental data. During the switchover, a 30-second transient connection may occur, and you cannot perform most of the operations that are related to databases, accounts, and networks on the RDS instance. We recommend that you change the specifications during off-peak hours or make sure that your application is configured to automatically reconnect to your RDS instance.
If your RDS instance runs RDS Basic Edition, no secondary RDS instance is provided as hot standby. In this case, if your RDS instance unexpectedly exits, your database service may be unavailable for a long period of time. If you change the specifications or upgrade the database engine version of your RDS instance, your database service may also be unavailable for a long period of time. If you have high requirements for service availability, we recommend that you do not use RDS Basic Edition.
If a read-only RDS instance is attached to your primary RDS instance and you want to expand the storage capacity, make sure that the storage capacity of the read-only RDS instance is greater than or equal to the storage capacity of the primary RDS instance. If the preceding condition is not met, the storage capacity cannot be expanded. We recommend that you expand the storage capacity of the read-only RDS instance before you expand the storage capacity of the primary RDS 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.
In the dialog box that appears, select a specification change method and click Next step. This step is required only when the RDS instance uses the subscription billing method.
You can select one of the following specification change methods:
Upgrade or Downgrade: After you submit a specification change order, the new specifications immediately take effect. Both specification change methods are supported for subscription RDS instances and pay-as-you-go RDS instances.
Elastic upgrade: You can upgrade the specifications including CPU cores, memory capacity, and storage capacity of an RDS instance to increase overall database performance. This specification change method is available only to users in a whitelist. When the time that is specified by the Restore Point-in-time parameter arrives, the instance type is automatically restored to the instance type that is used at the point in time before an elastic upgrade is performed. The storage capacity is not restored.
After you submit a specification change order, ApsaraDB RDS synchronizes the data of the RDS instance from the disk to a new RDS instance. Then, ApsaraDB RDS switches the information, such as the ID and endpoints, about the RDS instance over to the new RDS instance based on the specification change method that you select.
Change the specifications of the RDS instance. For more information, see Changable specification items.
NoteSome RDS for SQL Server instances support storage capacity expansion without data loss. When you change only the ESSD PL (such as from ESSD PL1 to PL2) or expand the storage capacity of an instance that supports this feature, the connection to the instance is not interrupted. In this case, you do not need to configure the switchover time. However, if you change the instance type at the same time, you must configure the switchover time.
If you do not change the specifications of your RDS instance but the Switching Time parameter is displayed on the Change Specifications page, the storage capacity expansion without data loss feature is not supported for your RDS instance. In this case, you can upgrade the major or minor engine version of your instance. For more information, see Upgrade the major engine version.
Configure the Switching Time parameter.
Switch Immediately After Data Migration: The specification change triggers a data migration. If you select this option, the system immediately switches over your workloads after the data migration is complete.
Switch Within Maintenance Window: When the specification change is being applied, a transient connection that lasts approximately 30 seconds may occur, and you cannot perform most of the operations that are related to databases, accounts, and network settings. If you select this option, the system switches over your workloads within the maintenance window that you specify. For more information, see Set the maintenance window of an ApsaraDB RDS for SQL Server instance.
NoteYou can expand the storage capacity of specific RDS instances without data loss. In this case, the Switching Time parameter is not displayed on the Change Specifications page, and you do not need to specify the switching time for the RDS instances.
Read and select Terms of Service and click Pay Now. In the dialog box that appears, confirm the instance information before and after the specification change and 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.
FAQ
Related operation
Change the instance type and storage capacity of an ApsaraDB RDS instance: ModifyDBInstanceSpec