[PATCH] GUID index for LDB

Volker Lendecke Volker.Lendecke at SerNet.DE
Tue Sep 12 20:47:30 UTC 2017


On Wed, Sep 13, 2017 at 06:46:28AM +1200, Andrew Bartlett wrote:
> Sorry, I should have given some context to that.  I'm being asked by
> clients to evaluate LMDB as a backend choice because the apparent DB
> size (2.4GB) of a large AD domain (100k user, or for example less users
> and more jpegPhoto) is too close to comfort to the 4GB limit of TDB.  

What's the real content of the db? "tdbtool <db> info" would be great.
2.4GB is the indicated file size, how much data is actually in there?
But probably we could optimize transactions to waste less disk space.
Also, if ldb adopted dbwrap, it might be simpler to shard across more
than one tdb.

Also, with tdb now having solved many of the problems that tdb2 was
set out to solve with a completely new implementation, just doing
8-byte offsets should be a lot easier than a complete rewrite.

Volker

-- 
SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-370000-0, fax: +49-551-370000-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen
http://www.sernet.de, mailto:kontakt at sernet.de



More information about the samba-technical mailing list