ldb speed
simo
idra at samba.org
Mon Oct 30 23:13:14 GMT 2006
On Tue, 2006-10-31 at 10:10 +1100, tridge at samba.org wrote:
> Simo,
>
> I really think this discussion of making rename fast is completely
> pointless. This discussion started with the point that our most common
> operation, a simple single record search, is about 5x slower than it
> should be. Let's please fix that and forget about speeding up one of
> our rarest operations.
Yes we got derailed, so let's move on on working on the core ldb right
now.
> We don't even implement the member/memberof stuff yet and we don't have a
> benchmark for it. If you want to design something to go fast then the
> very first thing you do is write a test that shows just how fast it
> already goes. With indexing on member or memberOf I suspect a very
> simple implementation using our current structures will be easily fast
> enough.
>
> Once you demonstrate a use case that goes slow and is plausible in a
> real situation then I will delighted to discuss with you how to fix
> it.
Well member/memberOf case is not anymore a case of being fast/slow, but
let's discuss that another time.
Simo.
--
Simo Sorce
Samba Team GPL Compliance Officer
email: idra at samba.org
http://samba.org
More information about the samba-technical
mailing list