[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: MaxDBs
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 machine. Yes, you can change
the number if you close and reopen the env, it's not persisted on disk. It's
just sizing an array in your MDB_env.
Ben Johnson
ben@skylandlabs.com <mailto:ben@skylandlabs.com>
--
-- Howard Chu
CTO, Symas Corp. http://www.symas.com
Director, Highland Sun http://highlandsun.com/hyc/
Chief Architect, OpenLDAP http://www.openldap.org/project/
- References:
- MaxDBs
- From: Ben Johnson <ben@skylandlabs.com>