Berkeley DB: C Interface by Function
Description: Berkeley DB: An embedded database programmatic toolkit.
Keywords: embedded,database,programmatic,toolkit,b+tree,btr ee,hash,hashing,transaction,transactions,locking,logging,access method,access me thods,java,C,C++

# C Interface by Function

Database Environment Functions | Description
--- | ---
db_appinit | Open a Berkeley DB environment
db_appexit | Close a Berkeley DB environment
db_version | Berkeley DB version information
Database Functions | Description
db_open | Open a database
DB->close | Close a database
DB->cursor | Open a cursor into a database
DB->del | Delete items from a database
DB->fd | Return a file descriptor from a database
DB->get | Get items from a database
DB->join | Perform a database join on cursors
DB->put | Store items into a database
DB->stat | Return database statistics
DB->sync | Flush a database to stable storage
Database Cursor Functions | Description
DBcursor->c_close | Close a cursor
DBcursor->c_del | Delete by cursor
DBcursor->c_get | Retrieve by cursor
DBcursor->c_put | Store by cursor
Lock Manager Functions | Description
lock_close | Close a lock region
lock_detect | Perform deadlock detection
lock_get | Acquire a lock
lock_id | Acquire a locker ID
lock_open | Open a lock region
lock_put | Release a lock
lock_stat | Return lock region statistics
lock_unlink | Remove a lock region
lock_vec | Acquire/release locks
Log Manager Functions | Description
log_archive | List log and database files.
log_close | Close a log region.
log_compare | Compare two DB_LSNs.
log_file | Map DB_LSNs to log file names.
log_flush | Flush log records.
log_get | Get a log record.
log_open | Open a log region.
log_put | Put a log record.
log_register | Register a file name with the log manager.
log_stat | Return log region statistics.
log_unlink | Remove a log region.
log_unregister | Unregister a file name with the log manager.
Buffer Pool Functions | Description
memp_close | Close a buffer pool.
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 from a buffer pool.
memp_fset | Modify meta information for buffer pool page.
memp_fsync | Flush pages from a file in a buffer pool.
memp_open | Open 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.
memp_unlink | Remove a buffer pool
Transaction Manager Functions | Description
txn_abort | Abort a transaction
txn_begin | Begin a transaction
txn_checkpoint | Checkpoint the transaction region
txn_close | Close a transaction region
txn_commit | Commit a transaction
txn_id | Return a transaction ID
txn_open | Open a transaction region
txn_prepare | Prepare a transaction for commit
txn_stat | Return transaction region statistics
txn_unlink | Remove a transaction region
DB Library Configuration | Description
db_jump_set | Configure DB library functions
db_value_set | Configure DB library information
Historic Interfaces | Description
dbm | UNIX Dbm/Ndbm Interfaces
hsearch | UNIX Hsearch Interfaces