Document how to control the disk write cache on Solaris.
authorBruce Momjian
Sat, 29 Dec 2007 17:55:07 +0000 (17:55 +0000)
committerBruce Momjian
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 @@
-
+
 
 
  Reliability and the Write-Ahead Log
    write caching.  On FreeBSD use
    atacontrol.  (For SCSI disks use 
    url="http://sg.torque.net/sg/sdparm.html">sdparm
-   to turn off WCE.)  On Windows if
-   wal_sync_method is open_datasync (the default),
-   write caching is disabled by unchecking My
-   Computer\Open\{select disk
+   to turn off WCE.)  On Solaris the disk
+   write cache is controlled by 
+   url="http://www.sun.com/bigadmin/content/submitted/format_utility.jsp">format
+   -e. (The Solaris ZFS file system is safe with
+   disk write-cache enabled because it issues its own disk cache flush
+   commands.)  On Windows if wal_sync_method
+   is open_datasync (the default), write caching is disabled
+   by unchecking My Computer\Open\{select disk
    drive}\Properties\Hardware\Properties\Policies\Enable write caching on
    the disk.  Also on Windows, fsync and
    fsync_writethrough never do write caching.