mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-10-06 19:36:53 +02:00
Document that many solid-state drives have volatile write-back caches.
This commit is contained in:
parent
7363021df3
commit
de9ec65431
@ -1,4 +1,4 @@
|
|||||||
<!-- $PostgreSQL: pgsql/doc/src/sgml/wal.sgml,v 1.61 2010/02/03 17:25:06 momjian Exp $ -->
|
<!-- $PostgreSQL: pgsql/doc/src/sgml/wal.sgml,v 1.62 2010/02/20 18:28:37 momjian Exp $ -->
|
||||||
|
|
||||||
<chapter id="wal">
|
<chapter id="wal">
|
||||||
<title>Reliability and the Write-Ahead Log</title>
|
<title>Reliability and the Write-Ahead Log</title>
|
||||||
@ -59,7 +59,8 @@
|
|||||||
same concerns about data loss exist for write-back drive caches as
|
same concerns about data loss exist for write-back drive caches as
|
||||||
exist for disk controller caches. Consumer-grade IDE and SATA drives are
|
exist for disk controller caches. Consumer-grade IDE and SATA drives are
|
||||||
particularly likely to have write-back caches that will not survive a
|
particularly likely to have write-back caches that will not survive a
|
||||||
power failure. To check write caching on <productname>Linux</> use
|
power failure. Many solid-state drives also have volatile write-back
|
||||||
|
caches. To check write caching on <productname>Linux</> use
|
||||||
<command>hdparm -I</>; it is enabled if there is a <literal>*</> next
|
<command>hdparm -I</>; it is enabled if there is a <literal>*</> next
|
||||||
to <literal>Write cache</>; <command>hdparm -W</> to turn off
|
to <literal>Write cache</>; <command>hdparm -W</> to turn off
|
||||||
write caching. On <productname>FreeBSD</> use
|
write caching. On <productname>FreeBSD</> use
|
||||||
|
Loading…
Reference in New Issue
Block a user