0I:Berkeley DB Reference Guide: Access Methods[P4

Berkeley DB Reference Guide: Access Methods



8

Minimum keys per page (bt_minkey)



HA minimum number of keys to be stored on a page can be specified as parthof the db_open call to open the database, specifically by settingdthe bt_minkey element of the DB_INFO structure.

DThis number is not an absolute minimum, rather it is a guideline andCmore or less keys may be stored on a page than the value specified.DWhat the implementation does is to divide the page size by the valueFspecified to determine a maximum key length, and keys which are largerFthan that size are stored in overflow pages instead of in the standardBtree leaf pages.

/If no value is specified, a value of 2 is used.

KAKÿÿ