RDS needs to be regularly maintained to guarantee overall instance health in production environment. You can set the maintenance period in the idle service hours based on service regularities to prevent potential interruptions for production during maintenance. RDS performs regular maintenance operations during the maintenance period you have configured.

Background information

To guarantee stability and efficiency of ApsaraDB RDS instances on the Alibaba Cloud platform, the backend system performs a serial of maintenance tasks at an irregular basis as needed.

Before official maintenance, RDS sends text messages and emails to contacts configured by your Alibaba Cloud account.

To guarantee stability during the maintenance process, instances enter the Instance being maintained state before the preset maintenance period on the day of maintenance. When an instance is in this state, normal data access to databases is not affected. However, apart from account management, database management, and IP address addition to the whitelist, other services involving changes (such as common operations including upgrade, degrade, and restart of the instance) are unavailable on the console. Query services such as performance monitoring are available.

When the maintenance period begins, transient disconnection occurs once or twice to the instance during this period. Make sure that applications support the reconnection policy so that the instance can be restored to the normal state after transient disconnection.


  1. Log on to the RDS console and select the target instance.
  2. Select Basic information in the menu.
  3. In the Configuration information area, click Settings following Time segment. The default maintenance period of RDS is from 02:00 to 06:00.

  4. Select the maintenance period and click Save, as shown in the following figure.
    Note: The ime segment is tn Beijing Time.