Berkeley DB Reference Guide: Logging Subsystem
Google

ee,hash,hashing,transaction,transactions,locking,logging,access method,access me thods,java,C,C++">

Berkeley DB Reference Guide: Logging Subsystem

Configuring logging

There is only a single parameter used in configuring logging, the size of individual log files. Setting the lg_max field in the DB_ENV structure specifies the individual log file size for all of the applications sharing the Berkeley DB environment.

Setting the log file size is largely a matter of convenience, and a reflection of the application's preferences in backup media and frequency. However, setting the log file size to an unrealistically low size could potentially cause problems as it would be possible to run out of log sequence numbers, which requires a full archival and application restart to reset. See Log file limits for more information.