Skip to content

Commit 11fc844

Browse files
Merge pull request #209840 from varun-dhawan/varun-azure-docs-pr
[Azure PG Flex] - updates restart recommendation for scaling resources
2 parents efd6863 + 5a16a79 commit 11fc844

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

articles/postgresql/flexible-server/concepts-compute-storage.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,9 @@ After you create your server, you can independently change the vCores, the compu
173173
> [!NOTE]
174174
> The storage size can only be increased. You cannot go back to a smaller storage size after the increase.
175175
176-
When you change the number of vCores or the compute tier, the server is restarted for the new server type to take effect. During the moment when the system switches over to the new server, no new connections can be established, and all uncommitted transactions are rolled back. This window varies, but in most cases, is less than a minute. Scaling the storage works the same way, and also requires a short restart.
176+
When you change the number of vCores or the compute tier, the server is restarted for the new server type to take effect. During the moment when the system switches over to the new server, no new connections can be established, and all uncommitted transactions are rolled back. The time it takes to restart your server depends on crash recovery process and database activity at the time of restart. Restart typically takes one minute or less, however can be higher and can take several minutes depending upon transactional activity at time of restart. Scaling the storage works the same way, and requires restart.
177+
178+
To improve the restart time, we recommend to perform scale operations during non-peak hours, that will reduce the time needed to restart the database server.
177179

178180
Changing the backup retention period is an online operation.
179181

0 commit comments

Comments
 (0)