Debian Codegraph @

docs/programmer_reference/program_cache.html

raw symbols SCIP
1 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3 <html xmlns="http://www.w3.org/1999/xhtml">
4 <head>
5 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
6 <title>Disk drive caches</title>
7 <link rel="stylesheet" href="gettingStarted.css" type="text/css" />
8 <meta name="generator" content="DocBook XSL Stylesheets V1.73.2" />
9 <link rel="start" href="index.html" title="Berkeley DB Programmer's Reference Guide" />
10 <link rel="up" href="program.html" title="Chapter 15.  Programmer Notes" />
11 <link rel="prev" href="program_ram.html" title="Memory-only or Flash configurations" />
12 <link rel="next" href="program_copy.html" title="Copying or moving databases" />
13 </head>
14 <body>
15 <div xmlns="" class="navheader">
16 <div class="libver">
17 <p>Library Version 11.2.5.3</p>
18 </div>
19 <table width="100%" summary="Navigation header">
20 <tr>
21 <th colspan="3" align="center">Disk drive caches</th>
22 </tr>
23 <tr>
24 <td width="20%" align="left"><a accesskey="p" href="program_ram.html">Prev</a> </td>
25 <th width="60%" align="center">Chapter 15. 
26 Programmer Notes
27 </th>
28 <td width="20%" align="right"> <a accesskey="n" href="program_copy.html">Next</a></td>
29 </tr>
30 </table>
31 <hr />
32 </div>
33 <div class="sect1" lang="en" xml:lang="en">
34 <div class="titlepage">
35 <div>
36 <div>
37 <h2 class="title" style="clear: both"><a id="program_cache"></a>Disk drive caches</h2>
38 </div>
39 </div>
40 </div>
41 <p>Many disk drives contain onboard caches. Some of these drives include
42 battery-backup or other functionality that guarantees that all cached
43 data will be completely written if the power fails. These drives can
44 offer substantial performance improvements over drives without caching
45 support. However, some caching drives rely on capacitors or other
46 mechanisms that guarantee only that the write of the current sector
47 will complete. These drives can endanger your database and potentially
48 cause corruption of your data.</p>
49 <p>To avoid losing your data, make sure the caching on your disk drives is
50 properly configured so the drive will never report that data has been written
51 unless the data is guaranteed to be written in the face of a power failure.
52 Many times, this means that write-caching on the disk drive must
53 be disabled.</p>
54 </div>
55 <div class="navfooter">
56 <hr />
57 <table width="100%" summary="Navigation footer">
58 <tr>
59 <td width="40%" align="left"><a accesskey="p" href="program_ram.html">Prev</a> </td>
60 <td width="20%" align="center">
61 <a accesskey="u" href="program.html">Up</a>
62 </td>
63 <td width="40%" align="right"> <a accesskey="n" href="program_copy.html">Next</a></td>
64 </tr>
65 <tr>
66 <td width="40%" align="left" valign="top">Memory-only or Flash configurations </td>
67 <td width="20%" align="center">
68 <a accesskey="h" href="index.html">Home</a>
69 </td>
70 <td width="40%" align="right" valign="top"> Copying or moving databases</td>
71 </tr>
72 </table>
73 </div>
74 </body>
75 </html>