This topic describes how to change the specifications of an ApsaraDB RDS for MySQL instance. The specifications include the RDS edition, instance type, and storage capacity.
For more information about how to change the specifications of an RDS instance that runs a different database engine, see the following topics:
Prerequisites
- No renewal orders are overdue within your Alibaba Cloud account.
- Your RDS instance is in the Running state.
Limits
- After 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.
- When you change the specifications of a read-only RDS instance, the primary RDS instance to which the read-only RDS instance is attached must be in the Running state.
- The storage capacity of a read-only RDS instance must be greater than or equal to the storage capacity of the primary RDS instance to which the read-only RDS instance is attached.
- You can change only specific configuration items. For more information, see ApsaraDB RDS for MySQL configuration items.
Impacts
Scenario | Configuration item | Impact |
---|---|---|
Your RDS instance uses local SSDs. | Instance type, RDS edition, and storage capacity. |
|
Your RDS instance uses standard SSDs or enhanced SSDs (ESSDs). | Instance type and RDS edition | |
Storage capacity | You can expand the storage capacity of your RDS instance without the need to migrate data. When you change the storage capacity of your RDS instance, no transient connections occur. |
- After you change the specifications of your RDS instance, you do not need to manually restart the instance.
- After you change the specifications of your RDS instance, the ID and endpoints of the instance remain unchanged.
Billing
For more information, see Specification change fees.
Procedure
FAQ
- How do I change the storage of my RDS instance between local SSDs, standard SSDs,
and ESSDs?
For more information, see How do I migrate an ApsaraDB RDS instance from standard or enhanced SSDs to local SSDs?
- When I expand the storage capacity of my RDS instance, what do I do if an error that
indicates insufficient storage resources occurs?
Migrate your RDS instance to a different zone. Then, expand the storage capacity of your RDS instance again. For more information, see Migrate an ApsaraDB RDS for MySQL instance to different zones in the same region. After you migrate your RDS instance to a different zone, the endpoints of your RDS instance remain unchanged. However, the IP addresses that are associated with the endpoints change. Make sure that your application is configured to automatically reconnect to your RDS instance.
- If I only expand the storage capacity of my RDS instance, does ApsaraDB RDS migrate
the data of my RDS instance to a new RDS instance?
In most cases, if your RDS instance uses standard SSDs or ESSDs and does not run RDS Basic Edition, no transient connections occur when you expand the storage capacity. If your RDS instance uses local SSDs, you may encounter the following circumstances:
- The host on which your RDS instance is deployed can provide sufficient storage. In this case, you can directly expand the storage capacity. The expansion process does not interrupt your workloads.
- The host on which your RDS instance is deployed cannot provide sufficient storage. In this case, ApsaraDB RDS creates new primary and secondary RDS instances on a different host that can provide sufficient storage. Then, ApsaraDB RDS synchronizes the data of your original RDS instance to the new primary and secondary RDS instances. The synchronization does not interrupt the workloads on your original RDS instance. However, after the synchronization is complete, a switchover of your workloads causes a transient connection that lasts approximately 30 seconds.
Note You cannot obtain the amount of available storage in the host on which an RDS instance is deployed. - When I upgrade my primary RDS instance, does ApsaraDB RDS automatically upgrade the
read-only RDS instances that are attached to my primary RDS instance?
No, when you upgrade your primary RDS instance, ApsaraDB RDS does not automatically upgrade the read-only RDS instances that are attached to your primary RDS instance. You must manually upgrade the read-only RDS instances.
- When I change the specifications of my RDS instance, are my online workloads interrupted?
For more information, see the "Impacts" section of this topic.
- After I change the specifications of my RDS instance, do the endpoints of my RDS instance
change?
No, after you change the specifications of your RDS instance, the endpoints of your RDS instance remain unchanged. An example endpoint is rm-bpxxxxx.mysql.rds.aliyuncs.com. However, the IP addresses that are associated with the endpoints may change. We recommend that you add the endpoints to your application. Do not add the IP addresses to your application.
- What factors affect the amount of time that is required to change the specifications
of my RDS instance?
For more information, see Which factors affect the time that is required to change the specifications of my ApsaraDB RDS for MySQL instance?
Related API operations
Operation | Description |
---|---|
ModifyDBInstanceSpec | Changes the specifications of an ApsaraDB RDS instance. |