Re: Parameter - shared_memory_size

From: Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at>
To: Jayadevan M <maymala(dot)jayadevan(at)gmail(dot)com>, "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Parameter - shared_memory_size
Date: 2025-01-10 08:05:47
Message-ID: 0afb859dabc47de3460fde28867d95ae71415fe7.camel@cybertec.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Vladlen Popolitov 2025-01-10 09:13:05 Re: Postgres do not support tinyint?
Previous Message Jayadevan M 2025-01-10 06:44:36 Parameter - shared_memory_size