disk.html   [plain text]


<!--$Id: disk.so,v 1.9 2000/12/21 18:37:09 bostic Exp $-->
<!--Copyright (c) 1997,2008 Oracle.  All rights reserved.-->
<!--See the file LICENSE for redistribution information.-->
<html>
<head>
<title>Berkeley DB Reference Guide: Release 3.1: upgrade requirements</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>Upgrading Berkeley DB Applications</dl></b></td>
<td align=right><a href="../upgrade.3.1/logalloc.html"><img src="../../images/prev.gif" alt="Prev"></a><a href="../toc.html"><img src="../../images/ref.gif" alt="Ref"></a><a href="../upgrade.3.2/intro.html"><img src="../../images/next.gif" alt="Next"></a>
</td></tr></table>
<p align=center><b>Release 3.1: upgrade requirements</b></p>
<p>Log file formats and the Btree, Queue, Recno and Hash Access Method
database formats changed in the Berkeley DB 3.1 release.  (The on-disk
Btree/Recno format changed from version 7 to version 8.  The on-disk
Hash format changed from version 6 to version 7.  The on-disk Queue
format changed from version 1 to version 2.)  Until the underlying
databases are upgraded, the <a href="../../api_c/db_open.html">DB-&gt;open</a> method will return a
<a href="../../api_c/db_open.html#DB_OLD_VERSION">DB_OLD_VERSION</a> error.</p>
<p>An additional flag, <a href="../../api_c/db_set_flags.html#DB_DUPSORT">DB_DUPSORT</a>, has been added to the
<a href="../../api_c/db_upgrade.html">DB-&gt;upgrade</a> method for this upgrade.   Please review the
<a href="../../api_c/db_upgrade.html">DB-&gt;upgrade</a> documentation for further information.</p>
<p>For further information on upgrading Berkeley DB installations, see
<a href="../../ref/upgrade/process.html">Upgrading Berkeley DB
installations</a>.</p>
<table width="100%"><tr><td><br></td><td align=right><a href="../upgrade.3.1/logalloc.html"><img src="../../images/prev.gif" alt="Prev"></a><a href="../toc.html"><img src="../../images/ref.gif" alt="Ref"></a><a href="../upgrade.3.2/intro.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>