Schedule cluster maintenance during off-peak hours to minimize disruption to your business.
How it works
PolarDB runs backend maintenance operations on clusters periodically. The maintenance sequence is as follows:
Notification: PolarDB sends SMS messages and emails to contacts listed in your Alibaba Cloud account before maintenance begins.
Under Maintenance state: The cluster enters the Under Maintenance state before the scheduled maintenance window starts. Data access remains available, but most configuration operations are blocked in the console. See Behavior during maintenance for details.
Maintenance window: During the window, the cluster may experience one or two transient connection interruptions. The cluster recovers immediately after each interruption.
Set the maintenance window to a time when your workload is lightest. Make sure your application has an automatic reconnection mechanism to handle brief interruptions.
Behavior during maintenance
When a cluster is in the Under Maintenance state:
| Area | Status |
|---|---|
| Data access (read and write) | Available |
| Configuration changes (upgrade, downgrade, restart) | Blocked |
| Account management | Available |
| Database management | Available |
| Whitelist configuration | Available |
| Performance monitoring | Available |
Set the maintenance window
Prerequisites
Before you begin, ensure that you have:
A PolarDB cluster
Access to the PolarDB console
Procedure
Log on to the PolarDB console.
In the left-side navigation pane, click Clusters.
In the upper-left corner, select the region where the cluster is deployed.
Find the cluster and click its ID.
On the Basic Information page, click Modify next to Maintenance Window.

In the Modify Maintenance Window dialog box, select a maintenance window, and click OK.
API reference
| Operation | Description |
|---|---|
| Creates a PolarDB cluster | |
| Modifies the maintenance window for a PolarDB cluster |