Edit

Restart PostgreSQL engine in Azure Database for PostgreSQL flexible server

This article provides step-by-step instructions to restart the PostgreSQL engine hosted by an Azure Database for PostgreSQL flexible server.

Important

Restarting the PostgreSQL engine in an Azure Database for PostgreSQL flexible server doesn't restart the compute (virtual machine) that hosts it. It only restarts the database engine process.

Steps to restart PostgreSQL engine

Use the Azure portal:

  1. Select your Azure Database for PostgreSQL flexible server.

  2. In the resource menu, select Overview.

    Screenshot showing how to select the Overview page.

  3. The server status must be Ready for the Restart button to appear on the toolbar.

    Screenshot showing where in the Overview page you can find the status of the server.

  4. Select the Restart button.

    Screenshot showing how to restart a started server.

  5. In the Restart server dialog, confirm or cancel your decision to restart the server.

    Screenshot showing the Restart server dialog to confirm or abort the operation.

  6. A notification informs you that the server is restarting. Also, the status of the server changes to Restarting.

    Screenshot showing a server which is restarting.

  7. When the process completes, a notification informs you that the server is restarted. Also, the status of the server changes to Ready.

    Screenshot showing the notification seen when a server completes a successful restart operation.

Note

After the server restarts, all management operations are available for the Azure Database for PostgreSQL flexible server.