Set a maintenance window

Updated at:
Copy as MD

This topic describes how to set a maintenance window to prevent maintenance from disrupting your business.

Background

To ensure the stability of PolarDB, Alibaba Cloud performs periodic maintenance on your clusters. You can configure a maintenance window to schedule these operations for off-peak hours and minimize the impact on your business.

Notes

  • Before scheduled maintenance begins, PolarDB sends SMS and email notifications to the contacts associated with your Alibaba Cloud account.

  • On the day of maintenance, your cluster enters a maintenance state before the scheduled window begins to ensure a smooth maintenance process. While in this state, normal data access is not affected. However, in the console, most management operations that change the cluster's state are unavailable, such as upgrades, downgrades, and restarts. You can still perform actions like account management, database management, and IP whitelist modifications. Query-based features like performance monitoring also remain available.

  • During the specified maintenance window, your cluster may experience one or two transient disconnections. Ensure that your application has a reconnection mechanism. The cluster returns to a normal state immediately after each disconnection.

Procedure

  1. Log on to the PolarDB console.

  2. In the navigation pane on the left, click Clusters.

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

  4. Find the target cluster and click its ID.

  5. On the Basic Information page, find Maintenance Window and click Modify.

  6. In the dialog box that appears, select a time range for the maintenance window and click OK.

    Note
    • To ensure the stability of PolarDB, the backend system performs maintenance on the cluster from time to time. We recommend that you set the maintenance window to your off-peak hours to avoid potential impacts on your business during the maintenance process.

    • Ensure your application has an automatic reconnection mechanism.

Related APIs

API

Description

CreateDBCluster

Creates a database cluster.

ModifyDBClusterMaintainTime

Modifies the maintenance window of a cluster.