Berkeley DB: Database Environments and Related Methods

Database Environment OperationsDescription
DbEnvCreate an environment handle
Db::getenvReturn Db's underlying DbEnv handle
DbEnv::closeClose an environment
DbEnv::dbremoveRemove a database
DbEnv::dbrenameRename a database
DbEnv::err, DbEnv::errxError message
DbEnv::failchkCheck for thread failure
DbEnv::fileid_resetReset database file IDs
DbEnv::get_homeReturn environment's home directory
DbEnv::get_open_flagsReturn flags with which the environment was opened
DbEnv::lsn_resetReset database file LSNs
DbEnv::openOpen an environment
DbEnv::removeRemove an environment
DbEnv::stat_printEnvironment statistics
DbEnv::strerrorError strings
DbEnv::versionReturn version information
Environment Configuration
DbEnv::set_allocSet local space allocation functions
DbEnv::set_app_dispatchConfigure application recovery
DbEnv::set_cachesizeSet the environment cache size
DbEnv::set_data_dirSet the environment data directory
DbEnv::set_encryptSet the environment cryptographic key
DbEnv::set_errcall, DbEnv::set_msgcallSet error and informational message callbacks
DbEnv::set_errfile, DbEnv::set_msgfileSet error and informational message FILE
DbEnv::set_error_stream, DbEnv::set_message_streamSet error and informational message output stream
DbEnv::set_errpfxSet error message prefix
DbEnv::set_event_notifySet event notification callback
DbEnv::set_feedbackSet feedback callback
DbEnv::set_flagsEnvironment configuration
DbEnv::set_isaliveSet thread is-alive callback
DbEnv::set_intermediate_dir_modeSet intermediate directory creation mode
DbEnv::set_rpc_serverEstablish an RPC server connection
DbEnv::set_shm_keySet system memory shared segment ID
DbEnv::set_thread_idSet thread of control ID function
DbEnv::set_thread_countSet approximate thread count
DbEnv::set_thread_id_stringSet thread of control ID format function
DbEnv::set_timeoutSet lock and transaction timeout
DbEnv::set_tmp_dirSet the environment temporary file directory
DbEnv::set_verboseSet verbose messages

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