All Products
Search
Document Center

ApsaraDB RDS:Impacts of an instance switchover

Last Updated:Jan 05, 2024

When you change the configuration of an ApsaraDB RDS for MySQL instance, upgrade the major engine version or RDS edition of the RDS instance, or enable the database proxy feature for the RDS instance, an instance switchover occurs. As a result, the RDS instance becomes unavailable for a short period of time. You must perform the preceding operations during off-peak hours and make sure that your application is configured to automatically reconnect to the RDS instance.

Impacts

Important

We recommend that you perform operations that involve instance switchovers during off-peak hours and make sure that your application is configured to automatically reconnect to your RDS instance.

  • If you perform operations that involve instance switchovers on an RDS instance that runs RDS Cluster Edition or RDS High-availability Edition, a primary/secondary switchover occurs. As a result, your database system becomes unavailable for approximately 30 to 120 seconds. For more information, see Switch workloads over between primary and secondary ApsaraDB RDS for MySQL instances.

    Note

    When you change the configuration of an RDS instance, if the resources on the host on which the RDS instance resides are insufficient, the system automatically creates a new RDS instance on a host that has sufficient resources and synchronizes the data of the original RDS instance to the new RDS instance. The synchronization does not affect your use of the original RDS instance. After the synchronization is complete, an instance switchover occurs, and your database system becomes unavailable for approximately 30 to 120 seconds.

  • If you perform operations that involve instance switchovers on an RDS instance that runs RDS Basic Edition, an instance switchover occurs. As a result, the RDS instance becomes unavailable for a long period of time. The time required for the instance switchover varies based on the volume of data on the RDS instance.