Full_Name: Meike Stone
Submission from: (NULL) (220.127.116.11)
I have a directory with about 2,000,000 objects at all.
In one conteiner (basedn for search) are about 84,000 objects
but only one of this is a person with objectclass=inetOrgperson.
I have about 420,000 objectclass=inetOrgperson.
The search with the specified basedn where only the one inetOrgperson
is located needs about 5 minutes ...
Sorry, digging further into the code I see I was mistaken. The two indices are
being combined correctly and the code works in my own tests.
The search looks up the scope index (IDs of all the entries in the target
scope) and the filter indices and computes their intersection. Not sure why
this would be so slow in your case.
-- Howard Chu
CTO, Symas Corp. http://www.symas.com
Director, Highland Sun http://highlandsun.com/hyc/
Chief Architect, OpenLDAP http://www.openldap.org/project/