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 1605af84283797e9ea37984f801771b4001a0ada..24758b80535bede1ff2b224f7161aac43ef85d7f 100644 (file)
    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.