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

Re: choosing backend



> What is the search that is not performing properly?

(&(uid=*)(objectClass=posixAccount))

time ldapsearch -h localhost '(&(uid=*)(objectClass=posixAccount))' >/dev/null

real    0m4.787s
user    0m0.019s
sys     0m0.020s

time ldapsearch -h localhost '(&(uid=*)(objectClass=posixAccount))' | grep 
"dn: " | wc -l
      77

real    0m5.229s
user    0m0.030s
sys     0m0.025s

So, search returns 77 entries and tooks 5.2 seconds to finish! That's 
unacceptable.

slapd.conf:

loglevel 2048

I have some access control lists. Could ACLs be the cause of poor performance?

Brane