ldb speed

tridge at samba.org tridge at samba.org
Mon Oct 30 22:46:29 GMT 2006


 > This holds true if you move one OU, but if you move 100 objects (select
 > and drag) you have 100 renames. So you end up with the inefficient way.

If what goes over the wire is 100 separate renames, then yes, it will
be slower, as it will be 100 separate transactions. If what goes over
the wire is one rename of a subtree then we should be able to do it in
a single pass.

 > I agree on this principle, just trying to find out what's best.
 > For example, how do you deal with references outside the tree?

ldb+tdb has just about no knowledge of 'trees', so I don't really know
what you mean by a 'reference outside the tree'. Certainly a reference
between different ldap subtrees is no different then references within
some arbitrary subtree.

Maybe you mean references between ldap servers? 

 > We may just choose to ignore these, but than we may have to deal with
 > broken refs, or worst the wrong object (after 2 renames a->b c->a)

I don't understand this. Can you give a more specific example?

Cheers, Tridge

More information about the samba-technical mailing list