|
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 $ --> |
2 | 2 |
|
3 | 3 | <chapter id="wal">
|
4 | 4 | <title>Reliability and the Write-Ahead Log</title>
|
|
65 | 65 | write caching. On <productname>FreeBSD</> use
|
66 | 66 | <application>atacontrol</>. (For SCSI disks use <ulink
|
67 | 67 | 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 |
72 | 76 | drive}\Properties\Hardware\Properties\Policies\Enable write caching on
|
73 | 77 | the disk</>. Also on Windows, <literal>fsync</> and
|
74 | 78 | <literal>fsync_writethrough</> never do write caching.
|
|