v1-0001-shared_memory_size_in_huge_pages_using_show.patch
text/x-diff
Filename: v1-0001-shared_memory_size_in_huge_pages_using_show.patch
Type: text/x-diff
Part: 0
Patch
Format: unified
Series: patch v1-0001
| File | + | − |
|---|---|---|
| doc/src/sgml/runtime.sgml | 11 | 0 |
diff --git a/doc/src/sgml/runtime.sgml b/doc/src/sgml/runtime.sgml
index 2c4d5ef640..aaac025c90 100644
--- a/doc/src/sgml/runtime.sgml
+++ b/doc/src/sgml/runtime.sgml
@@ -1441,6 +1441,17 @@ $ <userinput>grep ^Hugepagesize /proc/meminfo</userinput>
Hugepagesize: 2048 kB
$ <userinput>ls /sys/kernel/mm/hugepages</userinput>
hugepages-1048576kB hugepages-2048kB
+</programlisting>
+
+ If the server is running, this parameter can be viewed using the
+ <command>SHOW</command> command.
+ This might look like:
+<programlisting>
+postgres=# <userinput>SHOW shared_memory_size_in_huge_pages;</userinput>
+ shared_memory_size_in_huge_pages
+----------------------------------
+ 3170
+(1 row)
</programlisting>
In this example the default is 2MB, but you can also explicitly request