[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: speed of LDAP?



On Fri, Mar 02, 2001 at 04:28:48PM +1100, Brian May wrote:
> >>>>> "Jeremy" == Jeremy T Bouse <undrgrid@toons.UnderGrid.net> writes:
> 
>     Jeremy> Brian, Here's the same commands ran from my workstation
>     Jeremy> against the LDAP running on another server (! 
>     Jeremy> localhost)...
> 
>     Jeremy> real 0m0.475s user 0m0.070s sys 0m0.050s
> 
>     Jeremy>  real 0m0.114s user 0m0.030s sys 0m0.080s
> 
> much faster. What version of slapd did you use?
> 
> 
> For me, the version is stable is much faster then unstable.  This is
> the main reason I am concerned.
> 

The unstable version was recently changed to overcome some problem in
the way indexing is done. In short, indexing does not work unless you
explicitly list objectClass as an index in the slapd.conf, and create
the index.

If you do a new install of slapd, that should be fixed.

-- 
 -----------=======-=-======-=========-----------=====------------=-=------
/  Ben Collins  --  ...on that fantastic voyage...  --  Debian GNU/Linux   \
`  bcollins@debian.org  --  bcollins@openldap.org  --  bcollins@linux.com  '
 `---=========------=======-------------=-=-----=-===-======-------=--=---'



Reply to: