In a future release of Berkeley DB, it will be possible to specify a a maximum number of keys to be stored on a page as part of the db_open call to open the database, specifically by setting the bt_maxkey element of the DB_INFO structure.