ldb one-level search performance issue

Andrew Bartlett abartlet at samba.org
Tue May 22 19:09:03 UTC 2018


On Tue, 2018-05-22 at 20:52 +0200, Stefan Metzmacher wrote:
> 
> And there's a 'tim-ldb-fix' branch with
> ldb: One-level search was incorrectly falling back to full DB scan

Yes.  If a search using a one-level index was could not be resolved
using the index records, it would fall back to a full scan.  This is a
regression introduced when we tried to fix the DNS performance issue
around Christmas by adding the intersection between the one-level and
filter index.

> Do we also need that for 1.4.0?

Yes.

> And maybe also in older releases?

Yes.

Andrew Bartlett

-- 
Andrew Bartlett                       http://samba.org/~abartlet/
Authentication Developer, Samba Team  http://samba.org
Samba Developer, Catalyst IT          http://catalyst.net.nz/services/samba




More information about the samba-technical mailing list