1<!--$Id: priority.so,v 1.2 2004/09/28 14:13: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 4.2: DB->set_cache_priority</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.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> 14</td></tr></table> 15<p align=center><b>Release 4.2: DB->set_cache_priority</b></p> 16<p>In previous releases, applications set the priority of a database's 17pages in the Berkeley DB buffer cache with the DB->set_cache_priority 18method. This method is no longer available. Applications wanting to 19set database page priorities in the buffer cache should use the 20<a href="/api_c/memp_set_priority.html">DB_MPOOLFILE->set_priority</a> method instead. The new call takes the same 21arguments and behaves identically to the old call, except that a 22<a href="/api_c/mempfile_class.html">DB_MPOOLFILE</a> buffer cache file handle is used instead of the 23<a href="/api_c/db_class.html">DB</a> database handle.</p> 24<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> 25</td></tr></table> 26<p><font size=1>Copyright (c) 1996,2008 Oracle. All rights reserved.</font> 27</body> 28</html> 29