This topic describes how to set the maintenance window of an RDS for PPAS instance so that RDS for PPAS can perform regular maintenance operations as needed according to a defined schedule. The default maintenance window is from 02:00 to 06:00. You can set the maintenance window to the off-peak period of your business to avoid impacts on business.

Precautions

  • Before maintenance is performed, ApsaraDB for RDS sends SMS messages and emails to the contacts listed in your Alibaba Cloud accounts.
  • To guarantee service stability during the maintenance process, the instance enters the Instance Maintaining state before the maintenance time on the day of maintenance. When the instance is in this state, access to data in the database and query operations such as performance monitoring are not affected. However, apart from account and database management and IP address whitelist configuration, modification operations such as upgrade, downgrade, and restart are temporarily unavailable.
  • During the maintenance window, the instance is disconnected once or twice. Make sure that you configure automatic reconnection policies for your applications to avoid service disruptions.

Procedure

  1. Log on to the RDS consoleRDS console.
  2. Select the target region.选择地域
  3. Find the target RDS instance. Then, click the instance ID, or in the Actions column click Manage.
  4. On the Basic Information page, find the Configuration Information section and click Configure to the right of Maintenance Window.修改维护时间段
  5. Select a maintenance window and click Save.
    Note The maintenance window is in China Standard Time (UTC +8).

APIs

API Description
ModifyDBInstanceMaintainTime Used to change the maintenance window of an RDS instance.