<!--$Id: cache.so,v 10.3 2002/09/26 01:38:32 bostic Exp $-->
<!--Copyright (c) 1997,2008 Oracle. All rights reserved.-->
<!--See the file LICENSE for redistribution information.-->
<html>
<head>
<title>Berkeley DB Reference Guide: Disk drive caches</title>
<meta name="description" content="Berkeley DB: An embedded database programmatic toolkit.">
<meta name="keywords" content="embedded,database,programmatic,toolkit,btree,hash,hashing,transaction,transactions,locking,logging,access method,access methods,Java,C,C++">
</head>
<body bgcolor=white>
<table width="100%"><tr valign=top>
<td><b><dl><dt>Berkeley DB Reference Guide:<dd>Programmer Notes</dl></b></td>
<td align=right><a href="../program/ram.html"><img src="../../images/prev.gif" alt="Prev"></a><a href="../toc.html"><img src="../../images/ref.gif" alt="Ref"></a><a href="../program/copy.html"><img src="../../images/next.gif" alt="Next"></a>
</td></tr></table>
<p align=center><b>Disk drive caches</b></p>
<p>Many disk drives contain onboard caches. Some of these drives include
battery-backup or other functionality that guarantees that all cached
data will be completely written if the power fails. These drives can
offer substantial performance improvements over drives without caching
support. However, some caching drives rely on capacitors or other
mechanisms that guarantee only that the write of the current sector
will complete. These drives can endanger your database and potentially
cause corruption of your data.</p>
<p>To avoid losing your data, make sure the caching on your disk drives is
properly configured so the drive will never report that data has been written
unless the data is guaranteed to be written in the face of a power failure.
Many times, this means that write-caching on the disk drive must
be disabled.</p>
<table width="100%"><tr><td><br></td><td align=right><a href="../program/ram.html"><img src="../../images/prev.gif" alt="Prev"></a><a href="../toc.html"><img src="../../images/ref.gif" alt="Ref"></a><a href="../program/copy.html"><img src="../../images/next.gif" alt="Next"></a>
</td></tr></table>
<p><font size=1>Copyright (c) 1996,2008 Oracle. All rights reserved.</font>
</body>
</html>
Copyright 2K16 - 2K18 Indonesian Hacker Rulez