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 category | Availability |
|---|---|
| Database access and query operations (including performance monitoring) | Available |
| Account management, database management, IP address whitelist configuration | Available |
| Upgrade, downgrade, restart, and other modification operations | Temporarily unavailable |
Set the maintenance window for a single instance
Go to the Instances page. In the top navigation bar, select the region where the instance resides. Find the instance and click its ID.
In the Configuration Information section, click Settings next to Maintenance Window.
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
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.
Select the instances whose maintenance window you want to change, then click Modify Maintenance Window below the instance list.
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
| Operation | Description |
|---|---|
| ModifyDBInstanceMaintainTime | Modifies the maintenance window of an ApsaraDB RDS instance. |