priority.html   [plain text]


<!--$Id: priority.so,v 1.2 2004/09/28 14:13: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 4.2: DB-&gt;set_cache_priority</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.4.2/del.html"><img src="../../images/prev.gif" alt="Prev"></a><a href="../toc.html"><img src="../../images/ref.gif" alt="Ref"></a><a href="../upgrade.4.2/verify.html"><img src="../../images/next.gif" alt="Next"></a>
</td></tr></table>
<p align=center><b>Release 4.2: DB-&gt;set_cache_priority</b></p>
<p>In previous releases, applications set the priority of a database's
pages in the Berkeley DB buffer cache with the DB-&gt;set_cache_priority
method.  This method is no longer available.  Applications wanting to
set database page priorities in the buffer cache should use the
<a href="../../api_c/memp_set_priority.html">DB_MPOOLFILE-&gt;set_priority</a> method instead.  The new call takes the same
arguments and behaves identically to the old call, except that a
<a href="../../api_c/mempfile_class.html">DB_MPOOLFILE</a> buffer cache file handle is used instead of the
<a href="../../api_c/db_class.html">DB</a> database handle.</p>
<table width="100%"><tr><td><br></td><td align=right><a href="../upgrade.4.2/del.html"><img src="../../images/prev.gif" alt="Prev"></a><a href="../toc.html"><img src="../../images/ref.gif" alt="Ref"></a><a href="../upgrade.4.2/verify.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>