|
1 |
| -<!-- $PostgreSQL: pgsql/doc/src/sgml/wal.sgml,v 1.47 2007/12/10 14:05:05 momjian Exp $ --> |
| 1 | +<!-- $PostgreSQL: pgsql/doc/src/sgml/wal.sgml,v 1.48 2007/12/10 14:51:10 momjian Exp $ --> |
2 | 2 |
|
3 | 3 | <chapter id="wal">
|
4 | 4 | <title>Reliability and the Write-Ahead Log</title>
|
|
57 | 57 | And finally, most disk drives have caches. Some are write-through
|
58 | 58 | while some are write-back, and the
|
59 | 59 | same concerns about data loss exist for write-back drive caches as
|
60 |
| - exist for disk controller caches. Consumer-grade IDE drives are |
| 60 | + exist for disk controller caches. Consumer-grade IDEand SATAdrives are |
61 | 61 | particularly likely to have write-back caches that will not survive a
|
62 | 62 | power failure. To check write caching on <productname>Linux</> use
|
63 | 63 | <command>hdparm -I</>; it is enabled if there is a <literal>*</> next
|
64 |
| - to <literal>Write cache</>. <command>hdparm -W</>canto turn off |
| 64 | + to <literal>Write cache</>. <command>hdparm -W</> to turn off |
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>
|
|