Updated on 2025-06-24 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.

Precautions

  • During the maintenance window, the DB instance will be intermittently disconnected once or twice. Ensure that your applications support automatic reconnection.
  • To prevent service interruption, you are advised to set the maintenance window to off-peak hours.

Procedure

  1. Log in to the management console.
  2. Click in the upper left corner and select a region and a project.
  3. Click in the upper left corner of the page and choose Databases > Relational Database Service.
  4. On the Instances page, click the target instance name to go to the Overview page. Under Maintenance Window, click Configure.
  5. In the displayed dialog box, select an interval and a start time, and click OK.

    Figure 1 Changing the maintenance window

    Changing the maintenance window does not affect the execution time of the scheduled tasks in the original maintenance period.