Doc: shared_memory_size_in_huge_pages with the "SHOW" command.

From: Seino Yuki <seinoyu(at)oss(dot)nttdata(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Doc: shared_memory_size_in_huge_pages with the "SHOW" command.
Date: 2024-10-11 08:25:04
Message-ID: 420584fd274f9ec4f337da55ffb3b790@oss.nttdata.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hello,

Add a reference method for shared_memory_size_in_huge_pages
with the "SHOW" command.

The current documentation explains the use of the postgres -C command,
but this method may be limited in DBaaS or managed service environments.
In particular, CloudNativePG does not allow the server to be stopped,
making the execution of $ postgres -C impossible.

Alternatively, the "SHOW" command can be used, though the documentation
states,
"Note that the server must be shut down to view this runtime-computed
parameter.[1]"
This wording could be misunderstood to imply that the parameter cannot
be accessed
while the server is running.

[1] -
https://www.postgresql.org/docs/devel/kernel-resources.html#LINUX-HUGE-PAGES

Regards,
--
Yuki Seino
NTT DATA CORPORATION

Attachment Content-Type Size
v1-0001-shared_memory_size_in_huge_pages_using_show.patch text/x-diff 809 bytes

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Ebru Aydin Gol 2024-10-11 08:27:18 Re: RFC: Additional Directory for Extensions
Previous Message Bertrand Drouvot 2024-10-11 08:18:58 Re: BF mamba failure