#include <db.h> int DB_ENV->set_mp_pagesize(DB_ENV *dbenv, u_int32_t pagesize);
The DB_ENV->set_mp_pagesize()
method sets the pagesize used to allocate the hash table and the number of mutexes expected to be needed by the buffer pool.
You must call this method only before the environment is opened.