Skip to content

Commit 932e62f

Browse files
authored
Merge pull request #78826 from rachel-msft/edits6519a
Update limits and replica
2 parents cd26721 + 0767a21 commit 932e62f

File tree

2 files changed

+7
-8
lines changed

2 files changed

+7
-8
lines changed

articles/postgresql/concepts-limits.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,11 @@ author: rachel-msft
55
ms.author: raagyema
66
ms.service: postgresql
77
ms.topic: conceptual
8-
ms.date: 5/6/2019
8+
ms.date: 06/05/2019
99
---
1010
# Limitations in Azure Database for PostgreSQL - Single Server
11-
The following sections describe capacity and functional limits in the database service.
11+
The following sections describe capacity and functional limits in the database service. If you'd like to learn about resource (compute, memory, storage) tiers, see the [pricing tiers](concepts-pricing-tiers.md) article.
12+
1213

1314
## Maximum connections
1415
The maximum number of connections per pricing tier and vCores are as follows:

articles/postgresql/concepts-read-replicas.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ author: rachel-msft
55
ms.author: raagyema
66
ms.service: postgresql
77
ms.topic: conceptual
8-
ms.date: 5/6/2019
8+
ms.date: 06/05/2019
99
---
1010

1111
# Read replicas in Azure Database for PostgreSQL - Single Server
@@ -55,18 +55,16 @@ psql -h myreplica.postgres.database.azure.com -U myadmin@myreplica -d postgres
5555
At the prompt, enter the password for the user account.
5656

5757
## Monitor replication
58-
Azure Database for PostgreSQL provides the **Max Lag Across Replicas** metric in Azure Monitor. This metric is available on the master server only. The metric shows the lag in bytes between the master and the most-lagging replica.
58+
Azure Database for PostgreSQL provides two metrics for monitoring replication. The two metrics are **Max Lag Across Replicas** and **Replica Lag**. Learn how to view these metrics see in the **Monitor a replica** section of the [read replica how-to article](howto-read-replicas-portal.md).
5959

60-
Azure Database for PostgreSQL also provides the **Replica Lag** metric in Azure Monitor. This metric is available for replicas only.
60+
The **Max Lag Across Replicas** metric shows the lag in bytes between the master and the most-lagging replica. This metric is available on the master server only.
6161

62-
The metric is calculated from the `pg_stat_wal_receiver` view:
62+
The **Replica Lag** metric shows the time since the last replayed transaction. If there are no transactions occurring on your master server, the metric reflects this time lag. This metric is available for replica servers only. Replica Lag is calculated from the `pg_stat_wal_receiver` view:
6363

6464
```SQL
6565
EXTRACT (EPOCH FROM now() - pg_last_xact_replay_timestamp());
6666
```
6767

68-
The Replica Lag metric shows the time since the last replayed transaction. If there are no transactions occurring on your master server, the metric reflects this time lag.
69-
7068
Set an alert to inform you when the replica lag reaches a value that isn’t acceptable for your workload.
7169

7270
For additional insight, query the master server directly to get the replication lag in bytes on all replicas.

0 commit comments

Comments
 (0)