From: Bruce Momjian Date: Sat, 29 Dec 2007 17:55:07 +0000 (+0000) Subject: Document how to control the disk write cache on Solaris. X-Git-Tag: REL8_3_RC1~27 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a84b605a8e235b5a0f7927b2ecc5601ddbfdefb0;p=postgresql Document how to control the disk write cache on Solaris. Zdenek Kotala --- diff --git a/doc/src/sgml/wal.sgml b/doc/src/sgml/wal.sgml index e459863d5e..090a133185 100644 --- a/doc/src/sgml/wal.sgml +++ b/doc/src/sgml/wal.sgml @@ -1,4 +1,4 @@ - + Reliability and the Write-Ahead Log @@ -65,10 +65,14 @@ write caching. On FreeBSD use atacontrol. (For SCSI disks use 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 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.