3I0Berkeley DB: DbInfo::set_pagesize[P

DbInfo::set_pagesize





#include <db_cxx.h>

"void DbInfo::set_pagesize(size_t);





Description

GSet the size of the pages used to hold items in the database, in bytes.JThe minimum page size is 512 bytes and the maximum page size is 64K bytes.@If pagesize is not explicitly set, a page size is selected based,on the underlying filesystem I/O block size.KThe automatically selected size has a lower limit of 512 bytes and an upperlimit of 16K bytes.

8For information on tuning the Berkeley DB page size, see?Selecting a page size.



Class

4DbInfo



See Also

NDbInfo::set_bt_compare,LDbInfo::set_bt_maxkey,LDbInfo::set_bt_minkey,LDbInfo::set_bt_prefix,LDbInfo::set_cachesize,HDbInfo::set_compare,DDbInfo::set_flags,LDbInfo::set_h_ffactor,FDbInfo::set_h_hash,HDbInfo::set_h_nelem,FDbInfo::set_lorder,FDbInfo::set_malloc,DbInfo::set_pagesize,JDbInfo::set_re_delim,FDbInfo::set_re_len,EDbInfo::set_re_padandLDbInfo::set_re_source.
ÿÿ