Skip to content

Commit 900f84e

Browse files
committed
Update write-cache docs to mention windows behavior for various
fsync_methods. Magnus.
1 parent d6a18f4 commit 900f84e

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

doc/src/sgml/wal.sgml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!-- $PostgreSQL: pgsql/doc/src/sgml/wal.sgml,v 1.49 2007/12/10 22:08:36 momjian Exp $ -->
1+
<!-- $PostgreSQL: pgsql/doc/src/sgml/wal.sgml,v 1.50 2007/12/16 14:03:32 momjian Exp $ -->
22

33
<chapter id="wal">
44
<title>Reliability and the Write-Ahead Log</title>
@@ -65,10 +65,13 @@
6565
write caching. On <productname>FreeBSD</> use
6666
<application>atacontrol</>. (For SCSI disks use <ulink
6767
url="http://sg.torque.net/sg/sdparm.html"><application>sdparm</></ulink>
68-
to turn off <literal>WCE</>.) On <productname>Windows</> write caching is
69-
disabled by unchecking <literal>My Computer\Open\{select disk
68+
to turn off <literal>WCE</>.) On <productname>Windows</> if
69+
<varname>wal_sync_method</> is <literal>open_datasync</> (the default),
70+
write caching is disabled by unchecking <literal>My
71+
Computer\Open\{select disk
7072
drive}\Properties\Hardware\Properties\Policies\Enable write caching on
71-
the disk</>.
73+
the disk</>. Also on Windows, <literal>fsync</> and
74+
<literal>fsync_writethrough</> never use write caching.
7275
</para>
7376

7477
<para>

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