From 64b3d98baaf96afea815b0c37ff918f02fda11c9 Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Sat, 6 Dec 2008 21:34:27 +0000 Subject: [PATCH] Document that non-data journaling is a recommended mount option. --- doc/src/sgml/wal.sgml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/doc/src/sgml/wal.sgml b/doc/src/sgml/wal.sgml index 907e9c8762..7ae6c053d7 100644 --- a/doc/src/sgml/wal.sgml +++ b/doc/src/sgml/wal.sgml @@ -135,6 +135,21 @@ roll-forward recovery, also known as REDO.) + + + Because WAL restores database file + contents after a crash, it is not necessary to use a + journaled filesystem; in fact, journaling overhead can + reduce performance. For best performance, turn off + data journaling as a filesystem mount + option, e.g. use data=writeback on Linux. + Meta-data journaling (e.g. file creation and directory + modification) is still desirable for faster rebooting after + a crash. + + + + Using WAL results in a significantly reduced number of disk writes, because only the log -- 2.39.5