Berkeley DB Reference Guide: Release 4.7: Log configuration
Description: Berkeley DB: An embedded database programmatic toolkit.
Keywords: embedded,database,programmatic,toolkit,btree,hash,hashing,transaction,transactions,locking,logging,access method,access methods,Java,C,C++

Berkeley DB Reference Guide: Upgrading Berkeley DB Applications |

Release 4.7: Log configuration

In the Berkeley DB 4.7 release, the logging subsystem is configured using the DB_ENV->log_set_config method instead of the previously used DB_ENV->set_flags method.

The DB_ENV->set_flags method no longer accepts the flags DB_DIRECT_LOG, DB_DSYNC_LOG, DB_LOG_INMEMORY or DB_LOG_AUTOREMOVE. Applications should be modified to use the equivalent flags accepted by the DB_ENV->log_set_config method.

Previous DB_ENV->set_flags flag | Replacement DB_ENV->log_set_config flag
--- | ---
DB_DIRECT_LOG | DB_LOG_DIRECT
DB_DSYNC_LOG | DB_LOG_DSYNC
DB_LOG_INMEMORY | DB_LOG_IN_MEMORY
DB_LOG_AUTOREMOVE | DB_LOG_AUTO_REMOVE

Copyright (c) 1996,2008 Oracle. All rights reserved.