1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
|
<! "@(#)h_nelem.so 10.1 (Sleepycat) 10/20/98">
<!Copyright 1997, 1998 by Sleepycat Software, Inc. All rights reserved.>
<html>
<body bgcolor=white>
<head>
<title>Berkeley DB Reference Guide: Access Methods</title>
<meta name="description" content="Berkeley DB: An embedded database programmatic toolkit.">
<meta name="keywords" content="embedded,database,programmatic,toolkit,b+tree,btr
ee,hash,hashing,transaction,transactions,locking,logging,access method,access me
thods,java,C,C++">
</head>
<h3>Berkeley DB Reference Guide: Access Methods</h3>
<p>
<h1 align=center>Hash table size (h_nelem)</h1>
<p>
The anticipated number of elements in the hash table can be specified as
part of the <a href="../../api_c/Db/open.html">db_open</a> call to open the database, specifically by
setting the <a href="../../api_c/DbInfo/info.html#h_nelem">h_nelem</a> element of the DB_INFO structure. If
not specified, or set too low, hash tables will expand gracefully as keys
are entered, although a slight performance degradation may be noticed.
<p>
<a href="../../ref/am/h_hash.html"><img src="../../images/prev.gif"></a>
<a href="../../ref/toc.html"><img src="../../images/toc.gif"></a>
<a href="../../ref/am/h_dup.html"><img src="../../images/next.gif"></a>
</tt>
</body>
</html>
|