"High Availability and Failover Configuration in PostgreSQL Flexible Server"

Priyanka Mamidiyala 0 Reputation points
2025-06-16T16:50:13.0233333+00:00

How can I configure automatic failover and high availability in Azure Database for PostgreSQL Flexible Server, and what are the recovery time objectives (RTO) in case of a zone failure?"

Azure Database for PostgreSQL
{count} votes

1 answer

Sort by: Most helpful
  1. Sai Raghunadh M 4,210 Reputation points Microsoft External Staff Moderator
    2025-06-16T17:34:38.59+00:00

    Hi @ Priyanka Mamidiyala

    To configure automatic failover and high availability in Azure Database for PostgreSQL Flexible Server, you can use zone-redundant high availability (HA), which deploys a standby replica in a different availability zone.

    Key Steps for Automatic Failover

    Enable high availability during server creation.

    Choose zone-redundant HA for optimal resilience.

    The system uses synchronous replication, ensuring no data loss.

    In case of primary server failure, the standby automatically takes over.

    Recovery Time Objectives (RTO)

    For zone failures, failover typically happens within a few minutes, minimizing downtime.

    For cross-region recovery, manual intervention may be required.

    For more details, you can check Microsoft’s documentation:

    Azure PostgreSQL Flexible Server High Availability.

    Hope this helps. Do let us know if you any further queries.


    If this answers your query, do click Accept Answer and Yes for was this answer helpful. And, if you have any further query do let us know.


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.