[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Bulk queries on a largish directory: sloooooow
Hiya,
I'm currently busy developping a radius daemon that gets it's accounts
from a OpenLDAP based directory server. For various reasons that
go beyond the scope of this mail I decided to query the DS (Directory Server
:)
for _all_ the entries for a given base & scope, e.g.:
(login=*)
When there are about 400000 entries in a LDBM backended OpenLDAP
server this takes _ages_. With the standard timelimit the query will even
time out.
Is there any solution to this, a better backend, an optimization in the
handling
of * queries, etc ?
Apart from using ldbmcat.. thats a bit too low level or breaking up the
query
in e.g. (login=0*) , (login=1*) , (login=2*) , making these queries parallel
(asynchronous). I've done all this already and it still takes ages.
TIA,
/\lbert
/------------------------------------------------------------------------\
| Albert Siersema aka loonatic | Deception and evil hide behind glass, |
| albert@friendly.net | contorted into reality for some (la) |
\------------------------------------------------------------------------/