Azure CLI command to upgrade the performance tier of Azure PostgreSQL Flex Server.

Galla, Narasimha 25 Reputation points
2023-12-15T06:53:56.0866667+00:00

Hi All,

I am currently trying to upgrade PostgreSQL database server with the following CLI command integrated with ADO and facing the issues as mentioned below.

az postgres flexible-server update --subscription="xxxx" --resource-group="xxx" --name xxxx --sku-name Standard_D32ds_v5 --performance-tier P50 --storage-size 1User's image

But per documentation, --performance-tier seems to be a valid argument. 

User's image

Any help to resolve this much appreciated.

Thanks.

Azure Database for PostgreSQL
{count} votes

1 answer

Sort by: Most helpful
  1. ShaktiSingh-MSFT 15,301 Reputation points
    2023-12-15T08:08:30.12+00:00

    Hi
    Galla, Narasimha
    •,

    Welcome to Microsoft Q&A forum.

    As I understand, you want to upgrade the performance tier of Azure PostgreSQL Flex Server using Azure CLI.

    Could you please let us know how the integration of Azure CLI and ADO is done so that we understand where the command is getting executed?

    Also, please note that you can only scale down the Performance Tier of your server 12 hours after scaling up. This restriction is in place to ensure stability and performance after any changes to your server's configuration.

    Please share configuration details of your Flexible Server so that we can reproduce the scenario at our end and check the issue.

    As a workaround, we suggest you to use Azure portal for updating the server illustrated here:

    https://learn.microsoft.com/en-us/azure/postgresql/flexible-server/how-to-scale-compute-storage-portal#scaling-down

    Thanks

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.