[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: Ldap performance : help needed
On 29-09-14 17:00, Michael Ströder wrote:
Jonas Kellens wrote:
It seems that when there is a query with filter "telephoneNumber" and a search
for "cn sn" the search goes faster (no delay between query and answer) :
[..]
So how can I get the same speed (with no delay) when filter is "sn" ?
I'd first check indexing configuration.
Ciao, Michael.
Hello,
thank you for your answer.
My indexes are as follow :
# Indices to maintain for this database
index objectClass eq,pres
index ou,cn,mail,surname,givenname eq,pres,sub
index uidNumber,gidNumber,loginShell eq,pres
index uid,memberUid eq,pres,sub
index nisMapName,nisMapEntry eq,pres,sub
index telephoneNumber eq,pres,sub
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
And yes, I did the slapindex :
[root@slap admin]# slapindex -f slapd.conf -b "dc=mydomain" cn sn
telephoneNumber
Help is appreciated.
Kind regards,
Jonas.