#include <db.h> int DB_ENV->set_mp_tablesize(DB_ENV *dbenv, u_int32_t tablesize);
The DB_ENV->set_mp_tablesize()
method overrides the calculated hash tablesize. Tablesize is adjusted to a near prime number to enhance the hashing algorithm.
You must call this method only before the environment is opened.