samba-technical@lists.samba.org
[Top] [All Lists]

LDB_SCOPE_ONELEVEL without full traversal?

Subject: LDB_SCOPE_ONELEVEL without full traversal?
From: Volker Lendecke
Date: Tue, 5 Dec 2006 18:32:28 +0100
Hi!

Right now I'm looking at putting the registry into ldb. One
operation that I need fast is a LDB_SCOPE_ONELEVEL search to
enumerate keys and values. Looking at the ldb_tdb code to me
it appears that this boils down to a full scan of the ldb.
For a large registry this might become a performance issue.

Is that assumption right? And if not, what do I have to do
to get around this tdb scan?

Thanks,

Volker
<Prev in Thread] Current Thread [Next in Thread>