--On Sunday, August 30, 2020 4:48 PM +0000 [email protected] wrote:

Search with filter "(abc=cn=foo,dc=bar)" returns close to the amount of
entries in the database (2M) as candidates, and is somewhat equally slow
than "(&(objectClass=someClass)(abc=cn=foo,dc=bar))", around 15 seconds.

However, search with filter "(abc=cn=bar,dc=baz)" returns a subset of the
index of abc and performs reasonably fast (1-2 seconds).

This is rather weird and I have no clue on what might be causing the
issue.

Can you provide:

a) The actual queries (filter, base, etc)

b) The schema definition of the attribute in question.

Thanks,
Quanah

--

Quanah Gibson-Mount
Product Architect
Symas Corporation
Packaged, certified, and supported LDAP solutions powered by OpenLDAP:
<http://www.symas.com>

Reply via email to