Updated on 2025-08-20 GMT+08:00

Changing the Maintenance Window

Scenarios

The maintenance window is 02:00–06:00 by default and you can change it as required. To prevent service interruptions, you are advised to set the maintenance window to off-peak hours.

Constraints

  • Changing the maintenance window does not affect the execution time of the scheduled tasks in the original maintenance period.
  • During the maintenance window, the DB instance will be intermittently disconnected once or twice. Ensure that your applications support automatic reconnection.

Procedure

  1. Click in the upper left corner and select a region.
  2. Click in the upper left corner of the page and choose Databases > Relational Database Service.
  3. On the Instances page, click the target instance name to go to the Overview page. Under Maintenance Window, click Configure.

    Figure 1 Changing the maintenance window

  4. In the displayed dialog box, select an interval and a start time, and click OK.

    Figure 2 Changing the maintenance window