[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Ldap performance : help needed



Michael Ströder wrote:
Jonas Kellens wrote:
On 29-09-14 17:00, Michael Ströder wrote:
I'd first check indexing configuration.
I have tried reducing this to the following, but the performance stays the same :

# Indices to maintain for this database
index objectClass                       eq,pres
index ou,cn,sn,telephoneNumber          eq,pres,sub

Then I'd recommend to check whether your configured ACLs are really causing
the bad performance.

Remember that by default, a substring index only works for substrings of 3-4 characters long, minimum. So searching for (sn=t*) will not use the index unless you change the index minimum length and reindex the DB.

--
  -- Howard Chu
  CTO, Symas Corp.           http://www.symas.com
  Director, Highland Sun     http://highlandsun.com/hyc/
  Chief Architect, OpenLDAP  http://www.openldap.org/project/