1<!--$Id: disk.so,v 1.9 2000/12/21 18:37:09 bostic Exp $--> 2<!--Copyright (c) 1997,2008 Oracle. All rights reserved.--> 3<!--See the file LICENSE for redistribution information.--> 4<html> 5<head> 6<title>Berkeley DB Reference Guide: Release 3.1: upgrade requirements</title> 7<meta name="description" content="Berkeley DB: An embedded database programmatic toolkit."> 8<meta name="keywords" content="embedded,database,programmatic,toolkit,btree,hash,hashing,transaction,transactions,locking,logging,access method,access methods,Java,C,C++"> 9</head> 10<body bgcolor=white> 11<table width="100%"><tr valign=top> 12<td><b><dl><dt>Berkeley DB Reference Guide:<dd>Upgrading Berkeley DB Applications</dl></b></td> 13<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> 14</td></tr></table> 15<p align=center><b>Release 3.1: upgrade requirements</b></p> 16<p>Log file formats and the Btree, Queue, Recno and Hash Access Method 17database formats changed in the Berkeley DB 3.1 release. (The on-disk 18Btree/Recno format changed from version 7 to version 8. The on-disk 19Hash format changed from version 6 to version 7. The on-disk Queue 20format changed from version 1 to version 2.) Until the underlying 21databases are upgraded, the <a href="../../api_c/db_open.html">DB->open</a> method will return a 22<a href="../../api_c/db_open.html#DB_OLD_VERSION">DB_OLD_VERSION</a> error.</p> 23<p>An additional flag, <a href="../../api_c/db_set_flags.html#DB_DUPSORT">DB_DUPSORT</a>, has been added to the 24<a href="../../api_c/db_upgrade.html">DB->upgrade</a> method for this upgrade. Please review the 25<a href="../../api_c/db_upgrade.html">DB->upgrade</a> documentation for further information.</p> 26<p>For further information on upgrading Berkeley DB installations, see 27<a href="../../ref/upgrade/process.html">Upgrading Berkeley DB 28installations</a>.</p> 29<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> 30</td></tr></table> 31<p><font size=1>Copyright (c) 1996,2008 Oracle. All rights reserved.</font> 32</body> 33</html> 34