Re: Parameter - shared_memory_size - Mailing list pgsql-general

From Laurenz Albe
Subject Re: Parameter - shared_memory_size
Date
Msg-id 0afb859dabc47de3460fde28867d95ae71415fe7.camel@cybertec.at
Whole thread Raw
In response to Parameter - shared_memory_size  (Jayadevan M <maymala.jayadevan@gmail.com>)
List pgsql-general
On Fri, 2025-01-10 at 12:14 +0530, Jayadevan M wrote:
> I am trying to understand the parameter shared_memory_size. It is a static parameter
> that reports the size of the shared memory area. Does that imply that the value may
> change depending on the memory used by the server?

No, that value will never change.
It is set once after the start of the server, after the server has allocated
shared buffers and other shared memory segments, and after the modules in
"shared_preload_libraries" have had a chance to allocate shared memory too.

Yours,
Laurenz Albe



pgsql-general by date:

Previous
From: Jayadevan M
Date:
Subject: Parameter - shared_memory_size
Next
From: Vladlen Popolitov
Date:
Subject: Re: Postgres do not support tinyint?