I am trying to scale Azure Postgresql Flexible Server, but it just rolling in Started stage and nothing is happening. What could cause this? Server is working fine but we need more cores to keep up with demand, but currently unable to scale up.

Mikko Uusitalo 25 Reputation points
2025-06-09T21:42:41.84+00:00

I am trying to scale Azure Postgresql Flexible Server, but it just rolling in Started stage and nothing is happening. What could cause this? Server is working fine but we need more cores to keep up with demand, but currently unable to scale up.

I have tried to shutdown, restart and then tried to scale but the same problem. It is stuck in started stage.

Azure Database for PostgreSQL
{count} votes

1 answer

Sort by: Most helpful
  1. Mihir Saxena 0 Reputation points Microsoft External Staff Moderator
    2025-06-13T05:28:06.85+00:00

    Hi @Mikko Uusitalo

    Scaling issues in Azure Database for PostgreSQL Flexible Server especially when it gets stuck in the "Starting" or "Updating" state can be caused by various underlying factors.

    Below is a step-by-step breakdown of causes and recommended resolution steps:

    -- Ongoing or Failed Prior Operations:

    Scaling won’t proceed if a previous operation (e.g., maintenance, backup, parameter update) is still running or failed.

    Check via Activity Log and Look for operations in InProgress or Failed state with error messages.

    Azure Portal > Monitor > Activity Log
    monitor

    -- Unsupported Scaling Path:

    Cross-tier scaling often requires a restart or fails silently. Scale within the same tier first (e.g., GP 2 vCore to GP 4 vCore).

    
    az postgres flexible-server update \
    
      --resource-group <rg> \
    
      --name <server> \
    
      --sku-name Standard_D4s_v3
    
    

    -- Maintenance or Engine Upgrade in Progress:

    
    az postgres flexible-server show --resource-group <rg> --name <server> --query "maintenanceWindow"
    
    

    -- VNet or NSG Misconfiguration:

    If in a VNet, check that NSGs and route tables allow required traffic for Azure control plane.

    -- Resource Locks or Policy Restrictions:

    az lock list --resource-group <rg>

    Check for reference - az postgres flexible-server

    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.