Berkeley DB: DbInfo::set_h_nelem
Description: Berkeley DB: An embedded database programmatic toolkit.
Keywords: embedded,database,programmatic,toolkit,b+tree,btr ee,hash,hashing,transaction,transactions,locking,logging,access method,access me thods,java,C,C++

# DbInfo::set_h_nelem

`

###

    #include <db_cxx.h>

    void DbInfo::set_h_nelem(u_int32_t);

# Description

Set an estimate of the final size of the hash table. If not set or set too low, hash tables will still expand gracefully as keys are entered, although a slight performance degradation may be noticed.

# Class

DbInfo

# See Also

DbInfo::set_bt_compare, DbInfo::set_bt_maxkey, DbInfo::set_bt_minkey, DbInfo::set_bt_prefix, DbInfo::set_cachesize, DbInfo::set_compare, DbInfo::set_flags, DbInfo::set_h_ffactor, DbInfo::set_h_hash, DbInfo::set_h_nelem, DbInfo::set_lorder, DbInfo::set_malloc, DbInfo::set_pagesize, DbInfo::set_re_delim, DbInfo::set_re_len, DbInfo::set_re_pad and DbInfo::set_re_source.`