Share via

My Azure Database for PostgreSQL flexible server is stuck in 'Starting' state

DataHub DataHub 0 Reputation points
2026-03-07T15:32:53.35+00:00

Because of a storage capacity issue, my server is unable to start, and is not responding. The storage percent of is at 99.871%.

I woud like to rescale the storage so that I'm able to start it again. However the storage scaling options are disabled.

How to increase the storage size to 64 Gib?

Azure Database for PostgreSQL

1 answer

Sort by: Most helpful
  1. Saraswathi Devadula 15,685 Reputation points Microsoft External Staff Moderator
    2026-03-08T06:31:54.74+00:00

    Hi @DataHub DataHub

    You cannot scale storage while the server is stuck in the “Starting” state. The fix is to enable storage autogrow or manually increase storage through the Azure portal/CLI once the server is responsive again.

    If the portal options are disable, you can scale using azure CLI and rest API.

    az postgres flexible-server update --resource-group <resource_group> --name <server> --storage-size <storage_size>
    
    PATCH https://management.azure.com/subscriptions/<sub-id>/resourceGroups/<rg>/providers/Microsoft.DBforPostgreSQL/flexibleServers/<server-name>?api-version=2021-06-01
    {
      "properties": {
        "storage": {
          "storageSizeGB": 64
        }
      }
    }
    

    To prevent these kinds of issues in future, please follow the below**
    Enable Storage Autogrow**: This automatically increases storage when usage nears capacity.

    Monitor Usage Alerts: Set alerts at 80–90% usage to avoid hitting the critical threshold.

    https://docs.azure.cn/en-us/postgresql/scale/how-to-scale-storage-size?utm_source=copilot.com&tabs=portal-scale-storage-size-ssd%2Cportal-scale-storage-size-ssd-v2

    0 comments No comments

Your answer

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