All Products
Search
Document Center

ApsaraDB RDS:Configure a maintenance window

Last Updated:Mar 28, 2026

The ApsaraDB RDS for MySQL backend performs scheduled maintenance on your instance during the maintenance window to keep it stable. The default window is 02:00–06:00. Set the window to off-peak hours to minimize impact on your workloads.

For other database engines, see:

Prerequisites

Before you begin, ensure that you have:

  • An ApsaraDB RDS for MySQL instance

Usage notes

  • Before maintenance starts, the system sends emails to the contacts associated with your Alibaba Cloud account.

  • When the maintenance window arrives, the instance enters the Maintaining Instance state. In this state:

    • Database access and query operations (including performance monitoring) are not affected.

    • Account management, database management, and IP address whitelist configuration remain available.

    • Upgrade, downgrade, and restart operations are temporarily unavailable.

  • During the maintenance window, one or two instance switchovers occur. Configure your application to automatically reconnect to the instance. For details, see Impacts of an instance switchover.

Set the maintenance window for a single instance

  1. Go to the Instances page. In the top navigation bar, select the region where your instance resides. Find the instance and click its ID.

  2. In the Configuration Information section, click Settings to the right of Maintenance Window.

    image

  3. Select a Start Time and an End Time, then click Yes.

Note

The maintenance window is displayed in the time zone of the computer you use to log on to the ApsaraDB RDS console.

Set the maintenance window for multiple instances

  1. Log on to the ApsaraDB RDS console. In the left-side navigation pane, click Instances. In the top navigation bar, select the region where your instances reside.

  2. Select the check boxes to the left of the target instances, then click Modify Maintenance Window at the bottom of the page.

  3. In the dialog box that appears, select a maintenance window and click OK.

Note

The maintenance window is displayed in the time zone of the computer you use to log on to the ApsaraDB RDS console.

API reference

To modify the maintenance window programmatically, use the ModifyDBInstanceMaintainTime API operation.