1
0
mirror of https://github.com/postgres/postgres.git synced 2025-06-05 23:56:58 +03:00

Document that increasing max_connections uses more resources.

Roberto Mello

Discussion: http://postgr.es/m/CAKz==bJBCWrvN77fmuZ2XqD3jazWEb=E80AA4Yv9C9tQ61YDdQ@mail.gmail.com
This commit is contained in:
Robert Haas 2024-05-16 08:44:27 -04:00
parent fa65a022db
commit 8ba3462833

View File

@ -707,6 +707,12 @@ include_dir 'conf.d'
only be set at server start. only be set at server start.
</para> </para>
<para>
PostgreSQL sizes certain resources based directly on the value of
<varname>max_connections</varname>. Increasing its value leads to
higher allocation of those resources, including shared memory.
</para>
<para> <para>
When running a standby server, you must set this parameter to the When running a standby server, you must set this parameter to the
same or higher value than on the primary server. Otherwise, queries same or higher value than on the primary server. Otherwise, queries