Migrate to Innovate Summit:
Learn how migrating and modernizing to Azure can boost your business's performance, resilience, and security, enabling you to fully embrace AI.Register now
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
APPLIES TO:
Azure Database for PostgreSQL - Flexible Server
This article provides step-by-step instructions to perform scaling operations for the compute of an Azure Database for PostgreSQL flexible server.
You're allowed to change your compute between the burstable, general purpose, and memory optimized tiers. And, among each of those tiers, you can choose the number of virtual cores (vCores) that is more suitable to run your application. To learn more about the different compute tiers available in Azure Virtual Machines, and the use case for which they're best suited, refer to size for virtual machines in Azure.
When you request a scaling operation of the compute used by your Azure Database for PostgreSQL flexible server, your server undergoes a restart and so leaves your server unavailable for some time. For more information about how that process works, and the expected duration of the downtime, see near-zero downtime scaling.
Select your Azure Database for PostgreSQL flexible server.
In the resource menu, select Compute + storage.
If you want to select a different tier than the one currently selected, in the Compute tier group of radio buttons, select the option that best adjusts to your needs.
If the region of your server supports Intel and AMD processors, you can use the Compute processor radio button to filter the options listed in the Compute size drop-down to only hardware produced by the manufacturer selected.
If you want to select a different machine size among the ones available in the same tier, expand the Compute size drop-down and select the size that best suits your needs.
Once you choose your desired configuration, select Save.
Note
Notice that when you select Save you're not asked for confirmation to proceed with the changes. The operation is immediately initiated and can't be aborted.
A notification shows that a deployment is in progress.
When the scale process completes, a notification shows that the deployment succeeded.
az postgres flexible-server update --resource-group<resource_group>--name<server>--tier<tier>--sku-name<sku_name>
Note
The previous command might need to be completed with other parameters whose presence and values would vary depending on how you want to configure other features of the existing server.
The list of allowed values for the --sku-name parameter is dependent of the value passed to the --tier parameter, and of the region in which you're trying to deploy your server.
If you pass an incorrect value to --sku-name, you get the following error with the list of
Output
Incorrect value for --sku-name. The SKU name does not match <tier> tier. Specify --tier if you did not. Or CLI will set GeneralPurpose as the default tier. Allowed values : ['<sku_name_1>', '<sku_name_2>', ..., '<sku_name_n>']
Learn how to respond to periods of increased activity by incrementally increasing the resources available and then freeing these resources when activity drops.
Administer an SQL Server database infrastructure for cloud, on-premises and hybrid relational databases using the Microsoft PaaS relational database offerings.