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

DbEnv.set_mp_size


import com.sleepycat.db.*;

public void set_mp_size(long mp_size);

Description

Set the suggested size of the shared memory buffer pool, i.e., the cache, in bytes. This should be the size of the normal working data set of the application, with some small amount of additional memory for unusual situations. (Note, the working set is not the same as the number of simultaneously referenced pages, and should be quite a bit larger!) The value specified may not be less than 20K bytes. If no value is specified, the default is 128K bytes (16 8K byte pages).

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.