2I-Berkeley DB: DbEnv.set_mp_size[P

DbEnv.set_mp_size





import com.sleepycat.db.*;

&public void set_mp_size(long mp_size);





Description



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



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,DDbEnv.set_lg_max,PDbEnv.set_lk_conflicts,JDbEnv.set_lk_detect,HDbEnv.set_lk_modes,DDbEnv.set_lorder,NDbEnv.set_mp_mmapsize,DbEnv.set_mp_size,DDbEnv.set_tx_max,andFDbEnv.set_verbose.
ÿÿ