From ca802c5b705c6342553efebdb8dddf6bd1ddc2de Mon Sep 17 00:00:00 2001 From: Takashi Menjo Date: Thu, 30 Sep 2021 12:51:56 +0900 Subject: [PATCH v9 07/10] Update document --- doc/src/sgml/config.sgml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml index 7a48973b3c..200cc2f6f4 100644 --- a/doc/src/sgml/config.sgml +++ b/doc/src/sgml/config.sgml @@ -3241,6 +3241,33 @@ include_dir 'conf.d' + + wal_pmem_map (boolean) + + wal_pmem_map configuration parameter + + + + + If set to on, this parameter causes WAL files to be + memory-mapped and used as WAL buffer pages. The WAL files in pg_wal + directory (or the directory given by initdb -X + option) should be on persistent memory (PMEM) and + the filesystem for those files should support the Direct + Access (DAX) feature. wal_sync_method + for the primary server is ignored and WAL updates are forced out to + PMEM in a more optimal way which avoids calling into the kernel. + min_wal_size should be multiple of the size of a + WAL file, and wal_buffers is ignored and set to + the equivalent of min_wal_size. + + + This parameter can only be set at server start. The default is + off. + + + + wal_writer_delay (integer) -- 2.25.1