0I8Berkeley DB Reference Guide: Architecture[P2

Berkeley DB Reference Guide: Architecture



Subsystems



KAs described in the previous section, the Berkeley DB library is made up of"five major subsystems, as follows:

_

Access Methods
The access methods subsystem is made up of general-purpose support forJcreating and accessing database files formatted as B+tree's, Hashed files,Hand fixed- and variable-length records. These modules are useful in theDabsence of transactions for processes that need fast, formatted file}support. See db_open and DB->cursor for more information.^

Locking
The locking subsystem is a general-purpose lock manager used by Berkeley DB.OThis module is useful in the absence of the rest of the Berkeley DB package for>processes that require a fast, configurable lock manager. SeeMlock_open for more information.^

Logging
The logging subsystem is the logging support used to support the Berkeley DBJtransaction model. It is largely specific to the Berkeley DB package, andlunlikely to be used elsewhere. See log_open for more information.[

Memory Pool
The memory pool subsystem is the general-purpose shared memory bufferSpool used by Berkeley DB. This module is useful outside of the Berkeley DB packageEfor processes that require page-oriented, cached, shared file access.OSee memp_open for more information.b

Transactions
The transaction subsystem implements the Berkeley DB transaction model. Itsis largely specific to the Berkeley DB package. See txn_open for more information.


GAMÿÿ