Berkeley DB: Database Environments and Related Methods

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

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