Skip to content

Comment on MDBM – High-speed databaseparent

Comments

"We abandoned them in favor of B-trees in OpenLDAP 2.2 because extensive benchmarking showed that BDB's B-trees were faster than its hash implementation at very large data sizes."

Didn't bdb's linear hashing scheme extend the size of the hash table enough to keep it at the required loadfactor?

http://www.openldap.org/lists/openldap-devel/200401/msg00074...

Our experience with it shows that resizing was itself a very expensive operation.

Thanks for the reply. Interesting that linear hashing had such a big effect, seeing as it is meant to be a slowly-occurring process that only happens when the average load factor of all buckets exceeds a threshold. I guess that was back in 2004 though. Wonder if the same performance is still applicable?

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.