From 8ba346283335f7ee5bac2e904c2daad49a204c7c Mon Sep 17 00:00:00 2001 From: Robert Haas Date: Thu, 16 May 2024 08:44:27 -0400 Subject: Document that increasing max_connections uses more resources. Roberto Mello Discussion: http://postgr.es/m/CAKz==bJBCWrvN77fmuZ2XqD3jazWEb=E80AA4Yv9C9tQ61YDdQ@mail.gmail.com --- doc/src/sgml/config.sgml | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'doc/src') diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml index 3777cfa52a7..698169afdb6 100644 --- a/doc/src/sgml/config.sgml +++ b/doc/src/sgml/config.sgml @@ -707,6 +707,12 @@ include_dir 'conf.d' only be set at server start. + + PostgreSQL sizes certain resources based directly on the value of + max_connections. Increasing its value leads to + higher allocation of those resources, including shared memory. + + When running a standby server, you must set this parameter to the same or higher value than on the primary server. Otherwise, queries -- cgit v1.2.3