DbEnv::txn_checkpoint |
|
#include <db_cxx.h>int DbEnv::txn_checkpoint(u_int32_t kbyte, u_int32_t min, u_int32_t flags) const;
The DbEnv::txn_checkpoint method flushes the underlying memory pool, writes a checkpoint record to the log, and then flushes the log.
The DbEnv::txn_checkpoint method either returns a non-zero error value or throws an exception that encapsulates a non-zero error value on failure, and returns 0 on success.
DbEnv::set_tx_timestamp |
|
#include <db_cxx.h>int DbEnv::set_tx_timestamp(time_t *timestamp);
int DbEnv::get_tx_timestamp(time_t *timestampp);
Recover to the time specified by timestamp rather than to the most current possible date.
Once a database environment has been upgraded to a new version of Berkeley DB involving a log format change (see Upgrading Berkeley DB installations), it is no longer possib