All Products
Search
Document Center

PolarDB:Set a maintenance window

Last Updated:Mar 28, 2026

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:

  1. Notification: PolarDB sends SMS messages and emails to contacts listed in your Alibaba Cloud account before maintenance begins.

  2. 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.

  3. 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:

AreaStatus
Data access (read and write)Available
Configuration changes (upgrade, downgrade, restart)Blocked
Account managementAvailable
Database managementAvailable
Whitelist configurationAvailable
Performance monitoringAvailable

Set the maintenance window

Prerequisites

Before you begin, ensure that you have:

Procedure

  1. Log on to the PolarDB console.

  2. In the left-side navigation pane, click Clusters.

  3. In the upper-left corner, select the region where the cluster is deployed.

  4. Find the cluster and click its ID.

  5. On the Basic Information page, click Modify next to Maintenance Window.

    image

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

API reference

OperationDescription
Creates a PolarDB cluster
Modifies the maintenance window for a PolarDB cluster