Berkeley DB: DbEnv::set_lg_max
Полезная информация


#include <db_cxx.h>

void DbEnv::set_lg_max(u_int32_t);


Set the maximum size of a single file in the log, in bytes. Because DbLsn file offsets are unsigned 4-byte values, the set value may not be larger than the maximum unsigned 4-byte value.

If the value is set to 0, a default value of 10Mb. is used.

See Log File Limits for more information.



See Also

DbEnv::appinit, DbEnv::appexit, DbEnv::version, DbEnv::get_lg_info, DbEnv::get_lk_info, DbEnv::get_mp_info, DbEnv::get_tx_info, dbenv_set_data_dir, DbEnv::set_errcall, DbEnv::set_errfile, DbEnv::set_error_model, DbEnv::set_error_stream, DbEnv::set_errpfx, DbEnv::set_lg_max, DbEnv::set_lk_conflicts, DbEnv::set_lk_detect, DbEnv::set_lk_modes, DbEnv::set_lorder, DbEnv::set_mp_mmapsize, DbEnv::set_mp_size, DbEnv::set_tx_max, DbEnv::set_tx_recover and DbEnv::set_verbose.