Re: problems with "Shared Memory and Semaphores" section of docs
Andres Freund <andres@anarazel.de>
From: Andres Freund <andres@anarazel.de>
To: "Imseih (AWS), Sami" <simseih@amazon.com>
Cc: Nathan Bossart <nathandbossart@gmail.com>, Tom Lane <tgl@sss.pgh.pa.us>, Justin Pryzby <pryzby@telsasoft.com>, "pgsql-hackers@postgresql.org" <pgsql-hackers@postgresql.org>
Date: 2024-05-17T19:28:20Z
Lists: pgsql-hackers
Hi, On 2024-05-17 18:30:08 +0000, Imseih (AWS), Sami wrote: > > The advantage of the GUC is that its value could be seen before trying to > > actually start the server. > > Only if they have a sample in postgresql.conf file, right? > A GUC like shared_memory_size_in_huge_pages will not be. You can query gucs with -C. E.g. postgres -D pgdev-dev -c shared_buffers=16MB -C shared_memory_size_in_huge_pages 13 postgres -D pgdev-dev -c shared_buffers=16MB -c huge_page_size=1GB -C shared_memory_size_in_huge_pages 1 Which is very useful to be able to actually configure that number of huge pages. I don't think a system view or such would not help here. Greetings, Andres Freund
Commits
-
Introduce num_os_semaphores GUC.
- 0dcaea569034 18.0 landed
-
Fix documentation for POSIX semaphores.
- da565f3a4a2e 16.4 landed
- bb8425491cb7 15.8 landed
- 8111e80c5d39 17.0 landed
- 78fe33742dcc 12.20 landed
- 771b1b00bc60 13.16 landed
- 030ea3961f26 14.13 landed
-
Fix documentation for System V semaphores.
- f1884f57570c 15.8 landed
- d0c11ea29846 14.13 landed
- 65b8c401af0a 16.4 landed
- 4ebe51a5fbc3 17.0 landed
- 1d5c5ae8e555 13.16 landed
- 09d7caad32d8 12.20 landed