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/postgresql/flexible-server/concepts-high-availability.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ author: sr-msft
6
6
ms.service: postgresql
7
7
ms.subservice: flexible-server
8
8
ms.topic: conceptual
9
-
ms.date: 08/03/2022
9
+
ms.date: 11/05/2022
10
10
---
11
11
12
12
# High availability concepts in Azure Database for PostgreSQL - Flexible Server
@@ -116,7 +116,7 @@ Unplanned outages include software bugs or infrastructure component failures tha
116
116
>[!NOTE]
117
117
> Flexible servers configured with zone-redundant high availability provide a recovery point objective (RPO) of **Zero** (no data loss). The recovery time objective (RTO) is expected to be **less than 120s** in typical cases. However, depending on the activity in the primary database server at the time of the failover, the failover may take longer.
118
118
119
-
After the failover, while a new standby server is being provisioned, applications can still connect to the primary server and proceed with their read/write operations. Once the standby server is established, it will start recovering the logs that were generated after the failover.
119
+
After the failover, while a new standby server is being provisioned (which usually takes 5-10 minutes), applications can still connect to the primary server and proceed with their read/write operations. Once the standby server is established, it will start recovering the logs that were generated after the failover.
Copy file name to clipboardExpand all lines: articles/postgresql/flexible-server/concepts-limits.md
+4-2Lines changed: 4 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ author: sunilagarwal
6
6
ms.service: postgresql
7
7
ms.subservice: flexible-server
8
8
ms.topic: conceptual
9
-
ms.date: 11/30/2021
9
+
ms.date: 11/05/2022
10
10
---
11
11
12
12
# Limits in Azure Database for PostgreSQL - Flexible Server
@@ -68,6 +68,8 @@ A PostgreSQL connection, even idle, can occupy about 10 MB of memory. Also, crea
68
68
- Currently, storage auto-grow feature isn't available. You can monitor the usage and increase the storage to a higher size.
69
69
- When the storage usage reaches 95% or if the available capacity is less than 5 GiB, the server is automatically switched to **read-only mode** to avoid errors associated with disk-full situations.
70
70
- We recommend to set alert rules for `storage used` or `storage percent` when they exceed certain thresholds so that you can proactively take action such as increasing the storage size. For example, you can set an alert if the storage percent exceeds 80% usage.
71
+
- If you are using logical replication, then you must drop the logical replication slot in the primary server if the corresponding subscriber no longer exists. Otherwise the WAL files start to get accumulated in the primary filling up the storage. If the storage threshold exceeds certain threshold and if the logical replication slot is not in use (due to non-available subscriber), Flexible server automatically drops that unused logical replication slot. That action releases accumulated WAL files and avoids your server becoming unavailable due to storage getting filled situation.
72
+
71
73
72
74
### Networking
73
75
@@ -82,7 +84,7 @@ A PostgreSQL connection, even idle, can occupy about 10 MB of memory. Also, crea
82
84
83
85
### Availability zones
84
86
85
-
- Manually moving servers to a different availability zone is currently not supported.
87
+
- Manually moving servers to a different availability zone is currently not supported. However, you can enable HA using the preferred AZ as the standby zone. Once established, you can failover to the standby and subsequently disable HA.
Azure Database for PostgreSQL - Flexible Server supports the following logical data extraction and replication methodologies:
17
17
1.**Logical replication**
@@ -35,8 +35,6 @@ Logical replication:
35
35
Logical decoding:
36
36
* Extracts changes across all tables in a database.
37
37
38
-
>[!NOTE]
39
-
> As at this time, Flexible server does not support cross-region read replicas. Depending on the type of workload, you may choose to use logical replication feature for cross-region disaster recovery (DR) purpose.
40
38
41
39
## Pre-requisites for logical replication and logical decoding
42
40
@@ -105,7 +103,6 @@ Visit the PostgreSQL documentation to understand more about [logical replication
105
103
106
104
Here is an example of configuring pglogical at the provider database server and the subscriber. Refer to [pglogical extension documentation](https://github.com/2ndQuadrant/pglogical#usage) for more details. Also make sure you have performed pre-requisite tasks listed above.
107
105
108
-
109
106
1. Install pglogical extension in the database in both the provider and the subscriber database servers.
110
107
```SQL
111
108
\C myDB
@@ -241,9 +238,11 @@ SELECT * FROM pg_replication_slots;
241
238
242
239
## Limitations
243
240
***Logical replication** limitations apply as documented [here](https://www.postgresql.org/docs/12/logical-replication-restrictions.html).
244
-
***Read replicas** - Azure Database for PostgreSQL read replicas are not currently supported with flexible servers.
245
241
***Slots and HA failover** - Logical replication slots on the primary server are not available on the standby server in your secondary AZ. This situation applies to you if your server uses the zone-redundant high availability option. In the event of a failover to the standby server, logical replication slots will not be available on the standby.
246
242
243
+
>[!IMPORTANT]
244
+
> You must drop the logical replication slot in the primary server if the corresponding subscriber no longer exists. Otherwise the WAL files start to get accumulated in the primary filling up the storage. If the storage threshold exceeds certain threshold and if the logical replication slot is not in use (due to non-available subscriber), Flexible server automatically drops that unused logical replication slot. That action releases accumulated WAL files and avoids your server becoming unavailable due to storage getting filled situation.
245
+
247
246
## Next steps
248
247
* Learn more about [networking options](concepts-networking.md)
249
248
* Learn about [extensions](concepts-extensions.md) available in flexible server
0 commit comments