Contents
shared_memory_size_in_huge_pages
A preset configuration parameter reporting the number of huge pages needed
shared_memory_size_in_huge_pages
is a preset configuration parameter reporting the number of huge pages
needed for the main shared memory area, based on the specified huge_page_size
.
shared_memory_size_in_huge_pages
was added in PostgreSQL 15.
Usage
On Linux systems, shared_memory_size_in_huge_pages
is computed at runtime if huge pages
are available.
If huge pages are not available, or on systems other than Linux, the reported value is always -1
.
Change history
- PostgreSQL 15
- added (commit 43c1c4f6)
References
- PostgreSQL documentation: shared_memory_size_in_huge_pages
Categories
See also
shared_memory_size, huge_page, huge_page_size