|
1 | | -<!-- $PostgreSQL: pgsql/doc/src/sgml/wal.sgml,v 1.49 2007/12/10 22:08:36 momjian Exp $ --> |
| 1 | +<!-- $PostgreSQL: pgsql/doc/src/sgml/wal.sgml,v 1.50 2007/12/16 14:03:32 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</> write caching is |
69 | | - disabled by unchecking <literal>My Computer\Open\{select disk |
| 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 |
70 | 72 | drive}\Properties\Hardware\Properties\Policies\Enable write caching on |
71 | | - the disk</>. |
| 73 | + the disk</>. Also on Windows, <literal>fsync</> and |
| 74 | + <literal>fsync_writethrough</> never use write caching. |
72 | 75 | </para> |
73 | 76 |
|
74 | 77 | <para> |
|