DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

Berkeley DB: Databases and Related Methods

Database OperationsDescription
DbCreate a database handle
Db::associateAssociate a secondary index
Db::closeClose a database
Db::compactCompact a database
Db::cursorCreate a cursor
Db::delDelete items from a database
Db::err, Db::errxError message
Db::fdReturn a file descriptor from a database
Db::get, Db::pgetGet items from a database
Db::get_byteswappedReturn if the underlying database is in host order
Db::getenvReturn database environment handle
Db::get_mpfReturn underlying DbMpoolFile handle
Db::get_typeReturn the database type
Db::joinPerform a database join on cursors
Db::key_rangeReturn estimate of key location
Db::openOpen a database
Db::putStore items into a database
Db::removeRemove a database
Db::renameRename a database
Db::stat, Db::stat_printDatabase statistics
Db::syncFlush a database to stable storage
Db::truncateEmpty a database
Db::upgradeUpgrade a database
Db::verifyVerify/salvage a database
Database Configuration
Db::set_allocSet local space allocation functions
Db::set_cachesizeSet the database cache size
Db::set_dup_compareSet a duplicate comparison function
Db::set_encryptSet the database cryptographic key
Db::set_errcall, Db::set_msgcallSet error and informational message callback
Db::set_errfile, Db::set_msgfileSet error and informational message FILE
Db::set_error_stream, Db::set_message_streamSet error and informational message output stream
Db::set_errpfxSet error message prefix
Db::set_feedbackSet feedback callback
Db::set_flagsGeneral database configuration
Db::set_lorderSet the database byte order
Db::set_pagesizeSet the underlying database page size
Db::set_paniccallSet panic callback
Btree/Recno Configuration
Db::set_append_recnoSet record append callback
Db::set_bt_compareSet a Btree comparison function
Db::set_bt_minkeySet the minimum number of keys per Btree page
Db::set_bt_prefixSet a Btree prefix comparison function
Db::set_re_delimSet the variable-length record delimiter
Db::set_re_lenSet the fixed-length record length
Db::set_re_padSet the fixed-length record pad byte
Db::set_re_sourceSet the backing Recno text file
Hash Configuration
Db::set_h_ffactorSet the Hash table density
Db::set_h_hashSet a hashing function
Db::set_h_nelemSet the Hash table size
Queue Configuration
Db::set_q_extentsizeSet Queue database extent size

Copyright (c) 1996-2005 Sleepycat Software, Inc. - All rights reserved.