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


import com.sleepycat.db.*;

public void set_pagesize(long pagesize);


Set the size of the pages used to hold items in the database, in bytes. The 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. The automatically selected size has a lower limit of 512 bytes and an upper limit of 16K bytes.

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



See Also

DbInfo.set_bt_compare, DbInfo.set_bt_maxkey, DbInfo.set_bt_minkey, DbInfo.set_bt_prefix, DbInfo.set_cachesize, DbInfo.set_compare, DbInfo.set_flags, DbInfo.set_h_ffactor, DbInfo.set_h_hash, DbInfo.set_h_nelem, DbInfo.set_lorder, DbInfo.set_malloc, DbInfo.set_pagesize, DbInfo.set_re_delim, DbInfo.set_re_len, DbInfo.set_re_pad and DbInfo.set_re_source.