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

Slow query with deref always and scope one



hi,

I don't know if that's normal, but some query are very slow.

slapd 2.2.23 (Debian Sarge)
backend bdb (4.2)

nearly 20000 entry in database
128 Mo cache
index   objectClass     eq

I doesn't use alias.

search :
base <uid=AO30,ou=people,dc=educagri,dc=fr>
filter: (objectClass=*)

deref : always

scope base
real    0m0.015s
user    0m0.003s
sys     0m0.006s

scope one
real    0m2.235s   <-------
user    0m0.004s
sys     0m0.003s

scope sub
real    0m0.015s
user    0m0.005s
sys     0m0.003s



deref : find

scope base
real    0m0.015s
user    0m0.005s
sys     0m0.003s

scope one
real    0m0.012s
user    0m0.004s
sys     0m0.005s

scope sub
real    0m0.015s
user    0m0.006s
sys     0m0.005s


Should I try an uprgade ? (maxderefdepth to 0 doesn't help)

Thank's in advance,

	Thomas