Debian Codegraph @

docs/upgrading/upgrade_3_1_disk.html

raw
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>Upgrade Requirements</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 Upgrade Guide" />
10 <link rel="up" href="upgrade_3_1_toc.html" title="Chapter 13. Upgrading Berkeley DB 3.0 applications to Berkeley DB 3.1" />
11 <link rel="prev" href="upgrade_3_1_logalloc.html" title="log file pre-allocation" />
12 <link rel="next" href="upgrade_3_0_toc.html" title="Chapter 14. Upgrading Berkeley DB 2.X applications to Berkeley DB 3.0" />
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">Upgrade Requirements</th>
22 </tr>
23 <tr>
24 <td width="20%" align="left"><a accesskey="p" href="upgrade_3_1_logalloc.html">Prev</a> </td>
25 <th width="60%" align="center">Chapter 13. Upgrading Berkeley DB 3.0 applications to Berkeley DB 3.1</th>
26 <td width="20%" align="right"> <a accesskey="n" href="upgrade_3_0_toc.html">Next</a></td>
27 </tr>
28 </table>
29 <hr />
30 </div>
31 <div class="sect1" lang="en" xml:lang="en">
32 <div class="titlepage">
33 <div>
34 <div>
35 <h2 class="title" style="clear: both"><a id="upgrade_3_1_disk"></a>Upgrade Requirements</h2>
36 </div>
37 </div>
38 </div>
39 <p>Log file formats and the Btree, Queue, Recno and Hash Access Method
40 database formats changed in the Berkeley DB 3.1 release. (The on-disk
41 Btree/Recno format changed from version 7 to version 8. The on-disk
42 Hash format changed from version 6 to version 7. The on-disk Queue
43 format changed from version 1 to version 2.) Until the underlying
44 databases are upgraded, the <a href="../api_reference/C/dbopen.html" class="olink">DB-&gt;open()</a> method will return a
45 <code class="literal">DB_OLD_VERSION</code> error.</p>
46 <p>An additional flag, <a href="../api_reference/C/dbset_flags.html#dbset_flags_DB_DUPSORT" class="olink">DB_DUPSORT</a>, has been added to the
47 <a href="../api_reference/C/dbupgrade.html" class="olink">DB-&gt;upgrade()</a> method for this upgrade. Please review the
48 <a href="../api_reference/C/dbupgrade.html" class="olink">DB-&gt;upgrade()</a> documentation for further information.</p>
49 <p>For further information on upgrading Berkeley DB installations, see
50 <a class="xref" href="upgrade_process.html" title="Chapter 2.  Upgrading from previous versions of Berkeley DB">
51 Upgrading from previous versions of Berkeley DB
52 </a>.</p>
53 </div>
54 <div class="navfooter">
55 <hr />
56 <table width="100%" summary="Navigation footer">
57 <tr>
58 <td width="40%" align="left"><a accesskey="p" href="upgrade_3_1_logalloc.html">Prev</a> </td>
59 <td width="20%" align="center">
60 <a accesskey="u" href="upgrade_3_1_toc.html">Up</a>
61 </td>
62 <td width="40%" align="right"> <a accesskey="n" href="upgrade_3_0_toc.html">Next</a></td>
63 </tr>
64 <tr>
65 <td width="40%" align="left" valign="top">log file pre-allocation </td>
66 <td width="20%" align="center">
67 <a accesskey="h" href="index.html">Home</a>
68 </td>
69 <td width="40%" align="right" valign="top"> Chapter 14. Upgrading Berkeley DB 2.X applications to Berkeley DB 3.0</td>
70 </tr>
71 </table>
72 </div>
73 </body>
74 </html>