June 2001
Intermediate to advanced
688 pages
19h 18m
English
The two aspects of logging that may be configured are the size of log files on disk and the size of the log buffer in memory. The DBENV→set_lg_max interface specifies the individual log file size for all 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 too low can potentially cause problems because 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.
The DBENV→set_lg_bsize interface specifies the size of the in-memory log buffer, in ...