Is there an upper limit to mdb_env_set_maxdbs()? And what's the overhead for
adding additional DBs? Can I change this number once it's set if I close and
reopen the env?
Ben Johnson
b...@skylandlabs.com
Ben Johnson wrote:
Is there an upper limit to mdb_env_set_maxdbs()? And what's the overhead for
adding additional DBs? Can I change this number once it's set if I close and
reopen the env?
The upper limit is the upper limit of an unsigned int.
The overhead is about 96 bytes per DB on a 64 bit
Ben Johnson writes:
Is there an upper limit to mdb_env_set_maxdbs()?
In theory INT_MAX or memory limits (see below), not that it'd be a good
idea to go that high.
And what's the overhead for adding additional DBs?
Around 60 bytes malloc init overhead per DB for each txn and env, or
half that
I wrote:
And what's the overhead for adding additional DBs?
Around 60 bytes malloc init overhead (...)
Ignore me, Howard knows better. I guess I should count again.
--
Hallvard