Skip to content

Commit 253fa73

Browse files
committed
Update journaling performance docs based on comments by Michael Renner.
1 parent 5932915 commit 253fa73

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

doc/src/sgml/wal.sgml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!-- $PostgreSQL: pgsql/doc/src/sgml/wal.sgml,v 1.54 2008/12/06 21:34:27 momjian Exp $ -->
1+
<!-- $PostgreSQL: pgsql/doc/src/sgml/wal.sgml,v 1.55 2008/12/10 11:05:49 momjian Exp $ -->
22

33
<chapter id="wal">
44
<title>Reliability and the Write-Ahead Log</title>
@@ -139,13 +139,13 @@
139139
<para>
140140
Because <acronym>WAL</acronym> restores database file
141141
contents after a crash, it is not necessary to use a
142-
journaled filesystem; in fact, journaling overhead can
143-
reduce performance. For best performance, turn off
144-
<emphasis>data</emphasis> journaling as a filesystem mount
145-
option, e.g. use <literal>data=writeback</> on Linux.
146-
Meta-data journaling (e.g. file creation and directory
147-
modification) is still desirable for faster rebooting after
148-
a crash.
142+
journaled filesystem for reliability. In fact, journaling
143+
overhead can reduce performance, especially if journaling
144+
causes file system <emphasis>data</emphasis> to be flushed
145+
to disk. Fortunately, data flushing during journaling can
146+
often be disabled with a filesystem mount option, e.g.
147+
<literal>data=writeback</> on a Linux ext3 file system.
148+
Journaled file systems do improve boot speed after a crash.
149149
</para>
150150
</tip>
151151

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy