1<!--"$Id: 2.3.12.html,v 1.5 2007/05/17 18:17:18 bostic Exp $ (Sleepycat) $Date: 2007/05/17 18:17:18 $"--> 2<html> 3<head> 4<title>The Berkeley DB Package: Interface Changes introduced in DB 2.3.12</title> 5<meta name="description" content="DB: A database programmatic toolkit."> 6<meta name="keywords" content="embedded,database,programmatic,toolkit,b+tree,btree,hash,hashing,transaction,transactions,locking,logging,access method,access methods"> 7</head> 8<body bgcolor=white> 9 10<h3 align=center>Interface Changes introduced in DB 2.3.12:</h3> 11 12<ol> 13 14<li> 15A new DB interface, <b>db_jump_set</b>(), has been added. The 16<b>db_jump_set</b> function enables applications to replace underlying 17DB library functionality by replacing entries in a function call jump 18table. This interface is intended for applications needing to do 19run-time linking to specific underlying libraries, for example, for 20systems where the malloc(3) that the application will use is not known 21until run-time. The <b>db_yield</b> field previously found in the 22DB_ENV structure has been removed, and its functionality incorporated 23into the db_jump_set function. 24<p> 25<font color=red> 26The removal of the db_yield field is NOT transparent to applications. 27</font> 28Applications should be converted from using the db_yield field to 29calling the <b>db_jump_set</b>() function with the DB_FUNC_YIELD 30flag. 31If you have a support contract with Sleepycat Software, please contact 32us for further information and assistance in migrating applications 33from previous releases of DB to this release. 34<p> 35See db_jump(3) for more information. 36 37<p><li> 38A new memory pool interface, <b>memp_trickle</b>(), has been added. 39The <b>memp_trickle</b> function permits an application to ensure 40that a certain percentage of the pages in the shared memory pool 41remain clean at all times, so that there are always buffers available 42for reading in new pages from the backing files. 43<p> 44See db_mpool(3) for more information. 45 46<p><li> 47A new log region interface, <b>log_stat</b>(), has been added. 48The <b>log_stat</b> function returns statistical information about 49the log region. 50The <b>db_stat</b>(1) utility has been updated to optionally display 51this information. 52<p> 53See db_log(3) for more information. 54 55<p><li> 56There have been various additions to the memory pool statistics 57structure, as returned by <b>memp_stat</b>() and displayed by 58<b>db_stat</b>(1). 59Applications using the memory pool statistics interface will need 60to be recompiled for this release. 61<p> 62See db_mpool(3) for more information. 63 64</ol> 65</body> 66</html> 67