All Products
Search
Document Center

ApsaraDB RDS:Configure a maintenance window

Last Updated:Mar 28, 2026

Scheduled maintenance on your ApsaraDB RDS for PostgreSQL instance may cause brief connection interruptions. By default, maintenance occurs between 02:00 and 06:00. If this window overlaps with your peak traffic hours, set it to a low-traffic period to reduce impact on your workloads.

Before maintenance starts, the system sends a notification email to the contacts associated with your Alibaba Cloud account. During the window, one or two instance switchovers occur — configure your application to reconnect automatically. For details, see Impacts of an instance switchover.

What happens during maintenance

When the maintenance window arrives, the instance enters the Maintaining Instance state:

Operation categoryAvailability
Database access and query operations (including performance monitoring)Available
Account management, database management, IP address whitelist configurationAvailable
Upgrade, downgrade, restart, and other modification operationsTemporarily unavailable

Set the maintenance window for a single instance

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

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

  3. Set the Start Time and End Time, then save the settings.

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

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 the instances reside.

  2. Select the instances whose maintenance window you want to change, then click Modify Maintenance Window below the instance list.

  3. In the Modify Maintenance Window dialog box, select a maintenance window and click OK.

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

API reference

OperationDescription
ModifyDBInstanceMaintainTimeModifies the maintenance window of an ApsaraDB RDS instance.