Environment Infrastructure
When building transactional applications, it is usually necessary to build an administrative infrastructure around the database environment. There are five components to this infrastructure, and each is supported by the Berkeley DB package in two different ways: a standalone utility and one or more library interfaces.
Deadlock detection: db_deadlock, lock_detect, DBENV→set_lk_detect
Checkpoints: db_checkpoint, txn_checkpoint
Database and log file archival: db_archive, log_archive
Log file removal: db_archive, log_archive
Recovery procedures: db_recover, DBENV→open
When writing multithreaded server applications and/or applications intended for download from the Web, it is usually simpler to create local threads that ...