1I,Berkeley DB: DbEnv.set_lg_max[P

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.lBecause 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 Limitsfor more information.



Class

3DbEnv



See Also

>DbEnv.appinit,>DbEnv.appexit,>DbEnv.version,FDbEnv.get_lg_info,FDbEnv.get_lk_info,FDbEnv.get_mp_info,FDbEnv.get_tx_info,dbenv_set_data_dir,FDbEnv.set_errcall,PDbEnv.set_error_stream,DDbEnv.set_errpfx,DbEnv.set_lg_max,PDbEnv.set_lk_conflicts,JDbEnv.set_lk_detect,HDbEnv.set_lk_modes,DDbEnv.set_lorder,NDbEnv.set_mp_mmapsize,FDbEnv.set_mp_size,DDbEnv.set_tx_max,andFDbEnv.set_verbose.
ÿÿ