On 30-09-14 17:15, Howard Chu wrote:
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.

Hello Howard,

can you tell me where I can change the index minimum length or point me to the right documentation ?

Searching for "openldap index length" on google does not give much usefull results.

I can only find info on set_cachesize in the DB_CONFIG file.

Kind regards,