[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: differences between openldap-1.2.5 and 1.2.9
At 02:17 PM 3/9/00 -0600, Randy Kunkee wrote:
>At some point (approximately) around 1.2.6, there was a change in some
>indexing that dramatically increased the time for the following search
>to take place.
1.2.8, to be exact.
>There are only two leafs under uid=1DF,o=my.org. Why does the first
>search take so long?
No index. Add one if you think it would help...
>I have noticed from looking at the code before that
>if the base of the search is not the same as the suffix of the directory,
>then it is used as the means of selecting candidates for filtering.
Exactly.
>My guess before further investigation is that it doesn't know when to
>stop, so the rest of the database is searched, even though after the
>first two candidates, the DN being tested is no longer under the requested
>base.
It has to check all candidates. Without an DN subsstring
index, no filter addition doesn't help to eliminate candidates.