Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commita84b605

Browse files
committed
Document how to control the disk write cache on Solaris.
Zdenek Kotala
1 parent7dab896 commita84b605

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)

[8]ページ先頭

©2009-2025 Movatter.jp