Skip to content

Commit a84b605

Browse files
committed
Document how to control the disk write cache on Solaris.
Zdenek Kotala
1 parent 7dab896 commit a84b605

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

doc/src/sgml/wal.sgml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!-- $PostgreSQL: pgsql/doc/src/sgml/wal.sgml,v 1.51 2007/12/16 14:05:12 momjian Exp $ -->
1+
<!-- $PostgreSQL: pgsql/doc/src/sgml/wal.sgml,v 1.52 2007/12/29 17:55:07 momjian Exp $ -->
22

33
<chapter id="wal">
44
<title>Reliability and the Write-Ahead Log</title>
@@ -65,10 +65,14 @@
6565
write caching. On <productname>FreeBSD</> use
6666
<application>atacontrol</>. (For SCSI disks use <ulink
6767
url="http://sg.torque.net/sg/sdparm.html"><application>sdparm</></ulink>
68-
to turn off <literal>WCE</>.) On <productname>Windows</> if
69-
<varname>wal_sync_method</> is <literal>open_datasync</> (the default),
70-
write caching is disabled by unchecking <literal>My
71-
Computer\Open\{select disk
68+
to turn off <literal>WCE</>.) On <productname>Solaris</> the disk
69+
write cache is controlled by <ulink
70+
url="http://www.sun.com/bigadmin/content/submitted/format_utility.jsp"><literal>format
71+
-e</></ulink>. (The Solaris <acronym>ZFS</> file system is safe with
72+
disk write-cache enabled because it issues its own disk cache flush
73+
commands.) On <productname>Windows</> if <varname>wal_sync_method</>
74+
is <literal>open_datasync</> (the default), write caching is disabled
75+
by unchecking <literal>My Computer\Open\{select disk
7276
drive}\Properties\Hardware\Properties\Policies\Enable write caching on
7377
the disk</>. Also on Windows, <literal>fsync</> and
7478
<literal>fsync_writethrough</> never do write caching.

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy