Restart an instance

更新时间:
复制 MD 格式

You can restart an instance to resolve issues such as exhausted connection limits or poor performance.

Prerequisites

You have created an ApsaraDB for MyBase instance for MySQL, SQL Server, or PostgreSQL, and the instance is in the Running state. For more information, see the following topics:

Impact

Restarting an instance causes a connection interruption of about 30 seconds. Ensure your application has an automatic reconnection mechanism, and plan the restart carefully to minimize business impact.

Procedure

  1. Log on to the ApsaraDB for MyBase console.

  2. In the upper-left corner of the page, select the target region.

  3. In the navigation pane on the left, expand Instances and select the database engine. Find the target instance and, in the Actions column, click Details. You can then restart the instance by using one of the following methods:

    • In the upper-right corner of the page, click Restart Instance.

    • In the navigation pane on the left, click Service Availability. Hover over the target instance and click Restart.

      Note

      This method is available only for ApsaraDB for MyBase MySQL Master-replica Edition instances.

  4. In the confirmation dialog box, click OK.

    Important

    After the instance restarts, its status changes to Restarted. This causes a transient connection interruption.

  5. In the verification dialog box, enter the code sent to your mobile phone.

Related APIs

API

Description

RestartDBInstance

Restarts an instance.