Database Environment | Description |
---|---|
db_env_create | Create an environment handle |
DB_ENV->close | Close an environment |
DB_ENV->err | Error message with error string |
DB_ENV->errx | Error message |
DB_ENV->open | Open an environment |
DB_ENV->remove | Remove an environment |
DB_ENV->set_alloc | Set local space allocation functions |
DB_ENV->set_cachesize | Set the environment cache size |
DB_ENV->set_data_dir | Set the environment data directory |
DB_ENV->set_errcall | Set error message callback |
DB_ENV->set_errfile | Set error message FILE |
DB_ENV->set_errpfx | Set error message prefix |
DB_ENV->set_feedback | Set feedback callback |
DB_ENV->set_flags | Environment configuration |
DB_ENV->set_mutexlocks | Turn off mutual exclusion locking |
DB_ENV->set_paniccall | Set panic callback |
DB_ENV->set_recovery_init | Set recovery initialization callback |
DB_ENV->set_rpc_server | Establish an RPC server connection |
DB_ENV->set_shm_key | Set system memory shared segment ID |
DB_ENV->set_tmp_dir | Set the environment temporary file directory |
DB_ENV->set_verbose | Set verbose messages |
db_strerror | Error strings |
db_version | Return version information |
Database Operations | Description |
db_create | Create a database handle |
DB->associate | Associate a secondary index |
DB->close | Close a database |
DB->del | Delete items from a database |
DB->err | Error message with error string |
DB->errx | Error message |
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_alloc | Set local space allocation functions |
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_cachesize | Set the database cache size |
DB->set_dup_compare | Set a duplicate comparison function |
DB->set_errcall | Set error message callback |
DB->set_errfile | Set error message FILE |
DB->set_errpfx | Set error message prefix |
DB->set_feedback | Set feedback callback |
DB->set_flags | General database configuration |
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 |
DB->set_lorder | Set the database byte order |
DB->set_pagesize | Set the underlying database page size |
DB->set_paniccall | Set panic callback |
DB->set_q_extentsize | Set Queue database extent size |
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 |
DB->stat | Return 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 Cursors | Description |
DB->cursor | Open a cursor into a database |
DBcursor->c_close | Close a cursor |
DBcursor->c_count | Return count of duplicates |
DBcursor->c_del | Delete by cursor |
DBcursor->c_dup | Duplicate a cursor |
DBcursor->c_get, DBcursor->c_pget | Retrieve by cursor |
DBcursor->c_put | Store by cursor |
Lock Manager | Description |
DB_ENV->set_lk_conflicts | Set lock conflicts matrix |
DB_ENV->set_lk_detect | Set automatic deadlock detection |
DB_ENV->set_lk_max | Set maximum number of locks (Deprecated) |
DB_ENV->set_lk_max_lockers | Set maximum number of lockers |
DB_ENV->set_lk_max_locks | Set maximum number of locks |
DB_ENV->set_lk_max_objects | Set maximum number of lock objects |
lock_detect | Perform deadlock detection |
lock_get | Acquire a lock |
lock_id | Acquire a locker ID |
lock_put | Release a lock |
lock_stat | Return lock subsystem statistics |
lock_vec | Acquire/release locks |
Log Manager | Description |
DB_ENV->set_lg_bsize | Set log buffer size |
DB_ENV->set_lg_dir | Set the environment logging directory |
DB_ENV->set_lg_max | Set log file size |
DB_ENV->set_lg_regionmax | Set logging region size |
log_archive | List log and database files |
log_compare | Compare two Log Sequence Numbers |
log_file | Map Log Sequence Numbers to log files |
log_flush | Flush log records |
log_get | Get a log record |
log_put | Write a log record |
log_register | Register a filename with the log manager |
log_stat | Return log subsystem statistics |
log_unregister | Unregister a filename with the log manager |
Buffer Pool | Description |
DB_ENV->set_cachesize | Set the environment cache size |
DB_ENV->set_mp_mmapsize | Set maximum mapped-in database file size |
memp_fclose | Close a file in a buffer pool |
memp_fget | Get a page from a file in a buffer pool |
memp_fopen | Open a file in a buffer pool |
memp_fput | Return a page to a buffer pool |
memp_fset | Modify meta information for buffer pool page |
memp_fsync | Flush pages from a file in a buffer pool |
memp_register | Register input/output functions for a file in a buffer pool |
memp_stat | Return buffer pool statistics |
memp_sync | Flush pages from a buffer pool |
memp_trickle | Trickle flush pages from a buffer pool |
Transaction Manager | Description |
DB_ENV->set_tx_max | Set maximum number of transactions |
DB_ENV->set_tx_recover | Set transaction abort recover function |
DB_ENV->set_tx_timestamp | Set recovery timestamp |
txn_abort | Abort a transaction |
txn_begin | Begin a transaction |
txn_checkpoint | Checkpoint the transaction subsystem |
txn_commit | Commit a transaction |
txn_discard | Discard a prepared but not resolved transaction handle |
txn_id | Return a transaction ID |
txn_prepare | Prepare a transaction for commit |
txn_recover | Distributed transaction recovery |
txn_stat | Return transaction subsystem statistics |
Historic Interfaces | Description |
dbm | UNIX Dbm/Ndbm Interfaces |
hsearch | UNIX Hsearch Interfaces |
Data Structures | Description |
DBT | Key/Data Pairs |
DB_MULTIPLE_INIT | Bulk Retrieval |
DB_LSN | DB_LSN structures |
DB Library Configuration | Description |
db_env_set_pageyield | Yield the processor on each page access |
db_env_set_panicstate | Reset panic state |
db_env_set_region_init | Fault in shared regions on initial access |
db_env_set_tas_spins | Set the number of test-and-set spins |
DB System Call Configuration | Description |
db_env_set_func_close | Replace underlying Berkeley DB system interfaces |
db_env_set_func_dirfree | |
db_env_set_func_dirlist | |
db_env_set_func_exists | |
db_env_set_func_free | |
db_env_set_func_fsync | |
db_env_set_func_ioinfo | |
db_env_set_func_malloc | |
db_env_set_func_map | |
db_env_set_func_open | |
db_env_set_func_read | |
db_env_set_func_realloc | |
db_env_set_func_rename | |
db_env_set_func_seek | |
db_env_set_func_sleep | |
db_env_set_func_unlink | |
db_env_set_func_unmap | |
db_env_set_func_write | |
db_env_set_func_yield |