diff options
author | Robert Haas <rhaas@postgresql.org> | 2013-10-09 21:05:02 -0400 |
---|---|---|
committer | Robert Haas <rhaas@postgresql.org> | 2013-10-09 21:05:02 -0400 |
commit | 0ac5e5a7e152504c71ce2168acc9cef7fde7893c (patch) | |
tree | 9060ae6a71ae9b7ce5fda85846d3060cdc215432 /doc/src | |
parent | f566515192461acd8d9c232f48ddac3fc965cfd8 (diff) | |
download | postgresql-0ac5e5a7e152504c71ce2168acc9cef7fde7893c.tar.gz postgresql-0ac5e5a7e152504c71ce2168acc9cef7fde7893c.zip |
Allow dynamic allocation of shared memory segments.
Patch by myself and Amit Kapila. Design help from Noah Misch. Review
by Andres Freund.
Diffstat (limited to 'doc/src')
-rw-r--r-- | doc/src/sgml/config.sgml | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml index e8e8e6f8fcd..77a9303933d 100644 --- a/doc/src/sgml/config.sgml +++ b/doc/src/sgml/config.sgml @@ -1194,6 +1194,32 @@ include 'filename' </listitem> </varlistentry> + <varlistentry id="guc-dynamic-shared-memory-type" xreflabel="dynamic_shared_memory_type"> + <term><varname>dynamic_shared_memory_type</varname> (<type>enum</type>)</term> + <indexterm> + <primary><varname>dynamic_shared_memory_type</> configuration parameter</primary> + </indexterm> + <listitem> + <para> + Specifies the dynamic shared memory implementation that the server + should use. Possible values are <literal>posix</> (for POSIX shared + memory allocated using <literal>shm_open</>), <literal>sysv</literal> + (for System V shared memory allocated via <literal>shmget</>), + <literal>windows</> (for Windows shared memory), <literal>mmap</> + (to simulate shared memory using memory-mapped files stored in the + data directory), and <literal>none</> (to disable this feature). + Not all values are supported on all platforms; the first supported + option is the default for that platform. The use of the + <literal>mmap</> option, which is not the default on any platform, + is generally discouraged because the operating system may write + modified pages back to disk repeatedly, increasing system I/O load; + however, it may be useful for debugging, when the + <literal>pg_dynshmem</> directory is stored on a RAM disk, or when + other shared memory facilities are not available. + </para> + </listitem> + </varlistentry> + </variablelist> </sect2> |