LDB_SCOPE_ONELEVEL without full traversal?

Volker Lendecke Volker.Lendecke at SerNet.DE
Tue Dec 5 17:32:28 GMT 2006


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20061205/0c4d7fa0/attachment.bin


More information about the samba-technical mailing list