Berkeley DB: Berkeley DB: Databases and Related Methods
Description: Berkeley DB: An embedded database programmatic toolkit.
Keywords: embedded,database,programmatic,toolkit,btree,hash,hashing,transaction,transactions,locking,logging,access method,access methods,Java,C,C++

Berkeley DB: Databases and Related Methods

Database Operations | Description
--- | ---
Db | Create a database handle
Db::associate | Associate a secondary index
Db::close | Close a database
Db::compact | Compact a database
Db::cursor | Create a cursor
Db::del | Delete items from a database
Db::err, Db::errx | Error message
Db::exists | Return if an item appears in a database
Db::fd | Return a file descriptor from a database
Db::get, Db::pget | Get items from a database
Db::get_byteswapped | Return if the underlying database is in host order
Db::get_type | Return the database type
Db::join | Perform a database join on cursors
Db::key_range | Return estimate of key location
Db::open | Open a database
Db::put | Store items into a database
Db::remove | Remove a database
Db::rename | Rename a database
Db::set_priority | Set cache page priority
Db::stat, Db::stat_print | Database statistics
Db::sync | Flush a database to stable storage
Db::truncate | Empty a database
Db::upgrade | Upgrade a database
Db::verify | Verify/salvage a database
Database Configuration |
Db::set_alloc | Set local space allocation functions
Db::set_cachesize | Set the database cache size
Db::set_dup_compare | Set a duplicate comparison function
Db::set_encrypt | Set the database cryptographic key
Db::set_errcall, Db::set_msgcall | Set error and informational message callback
Db::set_errfile, Db::set_msgfile | Set error and informational message FILE
Db::set_error_stream, Db::set_message_stream | Set error and informational message output stream
Db::set_errpfx | Set error message prefix
Db::set_feedback | Set feedback callback
Db::set_flags | General database configuration
Db::set_lorder | Set the database byte order
Db::set_pagesize | Set the underlying database page size
Btree/Recno Configuration |
Db::set_append_recno | Set record append callback
Db::set_bt_compare | Set a Btree comparison function
Db::set_bt_minkey | Set the minimum number of keys per Btree page
Db::set_bt_prefix | Set a Btree prefix comparison function
Db::set_re_delim | Set the variable-length record delimiter
Db::set_re_len | Set the fixed-length record length
Db::set_re_pad | Set the fixed-length record pad byte
Db::set_re_source | Set the backing Recno text file
Hash Configuration |
Db::set_h_compare | Set a Hash comparison function
Db::set_h_ffactor | Set the Hash table density
Db::set_h_hash | Set a hashing function
Db::set_h_nelem | Set the Hash table size
Queue Configuration |
Db::set_q_extentsize | Set Queue database extent size

Copyright (c) 1996,2008 Oracle. All rights reserved.