On Fri, 17 May 2013, David F. Skoll wrote:
On Fri, 17 May 2013 08:58:53 -0700
Quanah Gibson-Mount <qua...@zimbra.com> wrote:
Personally I wish SA supported LMDB.
We've had very good luck with CDB, Dan Bernstein's "constant database"
format. Reads are unbelievably fast.
The only downside to CDB is that you cannot update a CDB file. You need
to generate a new one from scratch. Still, even that is quick enough that
we use it.
One of my colleagues benchmarked CDB versus Berkeley DB and the difference
was dramatic: http://www.dmo.ca/blog/benchmarking-hash-databases-on-large-data/
CDB was about 6-7 times as fast on random reads as Berkeley DB.
If CDB is read-only, how do you store the a-time values on lookups so you
know which tokens aren't being used to facilitate expiry?
--
Dave Funk University of Iowa
<dbfunk (at) engineering.uiowa.edu> College of Engineering
319/335-5751 FAX: 319/384-0549 1256 Seamans Center
Sys_admin/Postmaster/cell_admin Iowa City, IA 52242-1527
#include <std_disclaimer.h>
Better is not better, 'standard' is better. B{