]> granicus.if.org Git - postgresql/commitdiff
Document how to control the disk write cache on Solaris.
authorBruce Momjian <bruce@momjian.us>
Sat, 29 Dec 2007 17:55:07 +0000 (17:55 +0000)
committerBruce Momjian <bruce@momjian.us>
Sat, 29 Dec 2007 17:55:07 +0000 (17:55 +0000)
Zdenek Kotala

doc/src/sgml/wal.sgml

index e459863d5ef364075d1590be218a735b244cde63..090a133185fa923d84a3697305edbd3a0a5d2dd0 100644 (file)
@@ -1,4 +1,4 @@
-<!-- $PostgreSQL: pgsql/doc/src/sgml/wal.sgml,v 1.51 2007/12/16 14:05:12 momjian Exp $ -->
+<!-- $PostgreSQL: pgsql/doc/src/sgml/wal.sgml,v 1.52 2007/12/29 17:55:07 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</> if
-   <varname>wal_sync_method</> is <literal>open_datasync</> (the default),
-   write caching is disabled by unchecking <literal>My
-   Computer\Open\{select disk
+   to turn off <literal>WCE</>.)  On <productname>Solaris</> the disk
+   write cache is controlled by <ulink
+   url="http://www.sun.com/bigadmin/content/submitted/format_utility.jsp"><literal>format
+   -e</></ulink>. (The Solaris <acronym>ZFS</> file system is safe with
+   disk write-cache enabled because it issues its own disk cache flush
+   commands.)  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</>.  Also on Windows, <literal>fsync</> and
    <literal>fsync_writethrough</> never do write caching.