Restart Azure Database for PostgreSQL - Single Server using the Azure portal
This topic describes how you can restart an Azure Database for PostgreSQL server. You may need to restart your server for maintenance reasons, which causes a short outage as the server performs the operation.
The server restart will be blocked if the service is busy. For example, the service may be processing a previously requested operation such as scaling vCores.
The time required to complete a restart depends on the PostgreSQL recovery process. To decrease the restart time, we recommend you minimize the amount of activity occurring on the server prior to the restart. You may also want to increase the checkpoint frequency. You can also tune checkpoint related parameter values including
max_wal_size. It is also recommended to run
CHECKPOINT command prior to restarting the server.
To complete this how-to guide, you need:
Perform server restart
The following steps restart the PostgreSQL server:
In the Azure portal, select your Azure Database for PostgreSQL server.
In the toolbar of the server's Overview page, click Restart.
Click Yes to confirm restarting the server.
Observe that the server status changes to "Restarting".
Confirm server restart is successful.