Edit

Scale compute in Azure Database for PostgreSQL flexible server

This article provides step-by-step instructions for scaling the compute resources of an Azure Database for PostgreSQL flexible server.

You can change your compute tier between the burstable, general purpose, and memory optimized tiers. Within each tier, you can choose the number of virtual cores (vCores) that best fits your application. For more information about the different compute tiers available in Azure Virtual Machines and the use cases they're best suited for, see size for virtual machines in Azure.

When you request a scaling operation for the compute resources used by your Azure Database for PostgreSQL flexible server, the server restarts. This restart makes your server unavailable for some time. For more information about how the process works and the expected duration of the downtime, see near-zero downtime scaling.

Steps to scale compute

Use the Azure portal:

  1. Select your Azure Database for PostgreSQL flexible server.

  2. In the resource menu, select Compute + storage.

    Screenshot showing how to select the Compute + storage page.

  3. To choose a different tier, in the Compute tier group, select the option that best fits your needs.

    Screenshot showing where to select a different compute tier.

  4. If the region of your server supports Intel and AMD processors, use the Compute processor option to filter the options listed in the Compute size drop-down to only hardware produced by the manufacturer you select.

    Screenshot showing where to select a different compute processor manufacturer.

  5. To select a different machine size, expand the Compute size drop-down and select the size that best suits your needs.

    Screenshot showing where to select a different compute size.

  6. When you choose your desired configuration, select Save.

    Screenshot showing the location of the Save button, enabled once you make some changes to current configuration.

  7. If the changes you request require a server restart and its associated service disruption, confirm or cancel your decision to apply the configuration change.

    Screenshot showing the Compute + server dialog to confirm or abort the operation.

  8. A notification shows that a deployment is in progress.

    Screenshot showing a deployment is in progress to scale the compute.

  9. When the scale process completes, a notification shows that the deployment succeeded.

    Screenshot showing that the deployment to scale the compute succeeded.