Skip to content

Commit 678a600

Browse files
authored
Merge pull request #189807 from jonels-msft/hsc-user-conns
Focus on *user* connections in our limits article
2 parents 55a2946 + 1cee4cf commit 678a600

File tree

1 file changed

+12
-17
lines changed

1 file changed

+12
-17
lines changed

articles/postgresql/hyperscale/reference-limits.md

Lines changed: 12 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ ms.author: jonels
66
ms.service: postgresql
77
ms.subservice: hyperscale-citus
88
ms.topic: conceptual
9-
ms.date: 01/14/2022
9+
ms.date: 02/25/2022
1010
---
1111

1212
# Azure Database for PostgreSQL – Hyperscale (Citus) limits and limitations
@@ -29,22 +29,17 @@ Every PostgreSQL connection (even idle ones) uses at least 10 MB of memory, so
2929
it's important to limit simultaneous connections. Here are the limits we chose
3030
to keep nodes healthy:
3131

32-
* Coordinator node
33-
* Maximum connections
34-
* 300 for 0-3 vCores
35-
* 500 for 4-15 vCores
36-
* 1000 for 16+ vCores
37-
* Maximum user connections
38-
* 297 for 0-3 vCores
39-
* 497 for 4-15 vCores
40-
* 997 for 16+ vCores
41-
* Worker node
42-
* Maximum connections
43-
* 600
44-
45-
Attempts to connect beyond these limits will fail with an error. The system
46-
reserves three connections for monitoring nodes, which is why there are three
47-
fewer connections available for user queries than connections total.
32+
* Maximum connections per node
33+
* 300 for 0-3 vCores
34+
* 500 for 4-15 vCores
35+
* 1000 for 16+ vCores
36+
37+
The connection limits above are for *user* connections (`max_connections` minus
38+
`superuser_reserved_connections`). We reserve extra connections for
39+
administration and recovery.
40+
41+
The limits apply to both worker nodes and the coordinator node. Attempts to
42+
connect beyond these limits will fail with an error.
4843

4944
#### Connection pooling
5045

0 commit comments

Comments
 (0)