]> granicus.if.org Git - postgresql/commitdiff
Update write-cache docs to mention windows behavior for various
authorBruce Momjian <bruce@momjian.us>
Sun, 16 Dec 2007 14:03:32 +0000 (14:03 +0000)
committerBruce Momjian <bruce@momjian.us>
Sun, 16 Dec 2007 14:03:32 +0000 (14:03 +0000)
fsync_methods.

Magnus.

doc/src/sgml/wal.sgml

index d1228fdc40ce5790814781b7784e0422fcf72904..467c8d46095c64d5c9ecf7412d4c6d72e7219aa5 100644 (file)
@@ -1,4 +1,4 @@
-<!-- $PostgreSQL: pgsql/doc/src/sgml/wal.sgml,v 1.49 2007/12/10 22:08:36 momjian Exp $ -->
+<!-- $PostgreSQL: pgsql/doc/src/sgml/wal.sgml,v 1.50 2007/12/16 14:03:32 momjian Exp $ -->
 
 <chapter id="wal">
  <title>Reliability and the Write-Ahead Log</title>
    write caching.  On <productname>FreeBSD</> use
    <application>atacontrol</>.  (For SCSI disks use <ulink
    url="http://sg.torque.net/sg/sdparm.html"><application>sdparm</></ulink>
-   to turn off <literal>WCE</>.)  On <productname>Windows</> write caching is
-   disabled by unchecking <literal>My Computer\Open\{select disk
+   to turn off <literal>WCE</>.)  On <productname>Windows</> if
+   <varname>wal_sync_method</> is <literal>open_datasync</> (the default),
+   write caching is disabled by unchecking <literal>My
+   Computer\Open\{select disk
    drive}\Properties\Hardware\Properties\Policies\Enable write caching on
-   the disk</>.
+   the disk</>.  Also on Windows, <literal>fsync</> and
+   <literal>fsync_writethrough</> never use write caching.
   </para>
 
   <para>