You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/reliability/reliability-postgresql-flexible-server.md
+10-16Lines changed: 10 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -34,30 +34,22 @@ Azure Database for PostgreSQL - Flexible Server supports both [zone-redundant an
34
34
You can choose the region and the availability zones for both primary and standby servers. The standby replica server is provisioned in the chosen availability zone in the same region with a similar compute, storage, and network configuration as the primary server. Data files and transaction log files (write-ahead logs, a.k.a WAL) are stored on locally redundant storage (LRS) within each availability zone, automatically storing **three** data copies. A zone-redundant configuration provides physical isolation of the entire stack between primary and standby servers.
35
35
36
36
:::image type="content" source="~/reusable-content/ce-skilling/azure/media/postgresql/concepts-zone-redundant-high-availability-architecture.png" alt-text="Pictures illustrating redundant high availability architecture." lightbox="~/reusable-content/ce-skilling/azure/media/postgresql/concepts-zone-redundant-high-availability-architecture.png":::
37
+
38
+
The **zone-redundant** option is only available in [regions that have support for availability zones](/azure/postgresql/flexible-server/overview#azure-regions).
39
+
40
+
Zone-redundant is **not** supported for:
41
+
1. Burstable compute tier.
42
+
2. Regions with single-zone availability.
37
43
38
44
-**Zonal**. Choose a zonal deployment when you want to achieve the highest level of availability within a single availability zone, but with the lowest network latency. You can choose the region and the availability zone to deploy both your primary database server. A standby replica server is *automatically* provisioned and managed in the *same* availability zone - with similar compute, storage, and network configuration - as the primary server. A zonal configuration protects your databases from node-level failures and also helps with reducing application downtime during planned and unplanned downtime events. Data from the primary server is replicated to the standby replica in synchronous mode. In the event of any disruption to the primary server, the server is automatically failed over to the standby replica.
39
45
40
46
:::image type="content" source="./media/postgresql/concepts-same-zone-high-availability-architecture.png" alt-text="Pictures illustrating zonal high availability architecture." lightbox="./media/postgresql/concepts-same-zone-high-availability-architecture.png":::
41
47
48
+
The **zonal** deployment option is available in all [Azure regions](/azure/postgresql/flexible-server/overview#azure-regions) where you can deploy Flexible Server.
49
+
42
50
> [!NOTE]
43
51
> Both zonal and zone-redundant deployment models architecturally behave the same. Various discussions in the following sections apply to both unless called out otherwise.
44
52
45
-
### Prerequisites
46
-
47
-
**Zone redundancy:**
48
-
49
-
- The **zone-redundancy** option is only available in [regions that support availability zones](/azure/postgresql/flexible-server/overview#azure-regions).
50
-
51
-
- Zone-redundancy is **not** supported for:
52
-
53
-
- Azure Database for PostgreSQL – Single Server SKU.
54
-
- Burstable compute tier.
55
-
- Regions with single-zone availability.
56
-
57
-
**Zonal:**
58
-
59
-
- The **zonal** deployment option is available in all [Azure regions](/azure/postgresql/flexible-server/overview#azure-regions) where you can deploy Flexible Server.
60
-
61
53
### High availability features
62
54
63
55
- A standby replica is deployed in the same VM configuration - including vCores, storage, network settings - as the primary server.
@@ -80,6 +72,8 @@ Azure Database for PostgreSQL - Flexible Server supports both [zone-redundant an
80
72
81
73
- Periodic maintenance activities such as minor version upgrades happen at the standby first and, to reduce downtime, the standby is promoted to primary so that workloads can keep on, while the maintenance tasks are applied on the remaining node.
82
74
75
+
> [!NOTE]
76
+
> To ensure High-Availability (HA) functions properly, you should configure the `max_replication_slots` and `max_wal_senders` server parameters. HA requires 4 of each to handle failovers and seamless upgrades. For HA with 5 read replicas and 12 logical replication slots, set both parameters to 21, as each read replica and logical replication slot requires 1 of each, plus the 4 needed for HA.
0 commit comments