2I.Berkeley DB: DbEnv::set_mp_size[P

DbEnv::set_mp_size





#include <db_cxx.h>

void DbEnv::set_mp_size(size_t);





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

2DbEnv



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,FDbEnv::set_errfile,NDbEnv::set_error_model,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,KDbEnv::set_tx_recoverandFDbEnv::set_verbose.
ÿÿ