aboutsummaryrefslogtreecommitdiff
path: root/doc/src
diff options
context:
space:
mode:
Diffstat (limited to 'doc/src')
-rw-r--r--doc/src/sgml/config.sgml9
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index b56070b0fb9..fa8de0161e6 100644
--- a/doc/src/sgml/config.sgml
+++ b/doc/src/sgml/config.sgml
@@ -1697,6 +1697,15 @@ include 'filename'
</para>
<para>
+ For reliable recovery when changing a cluster from
+ <varname>fsync</varname> off to on, it is necessary to force all
+ modified buffers in the kernel to durable storage. This can be
+ done while the cluster is shutdown or while fsync is on by running
+ <command>initdb --sync-only</command>, running <command>sync</>,
+ unmounting the file system, or rebooting the server.
+ </para>
+
+ <para>
In many situations, turning off <xref linkend="guc-synchronous-commit">
for noncritical transactions can provide much of the potential
performance benefit of turning off <varname>fsync</varname>, without