Berkeley DB: DbEnv.set_lg_max
Google

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

DbEnv.set_lg_max


import com.sleepycat.db.*;

public void set_lg_max(int lg_max);

Description

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.

Class

DbEnv

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_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, and DbEnv.set_verbose.