[Date Prev][Date Next]
RE: a better search?
I have added the index's to my slapd.conf file as suggested below.
However, my performance has barely increased. What could I be doing wrong.
Should I play around with the cache settings in the slapd.conf? It is still
taking around 60secs to complete this search.
Thanks to all who have responded.
> -----Original Message-----
> From: Simon Murcott [SMTP:email@example.com]
> Sent: Monday, November 08, 1999 1:42 PM
> To: firstname.lastname@example.org
> Cc: openldap-software@OpenLDAP.org
> Subject: Re: a better search?
> On Mon, 8 Nov 1999 email@example.com wrote:
> I am experiencing some long search times when trying to do a search
> on one directory that contains about 4500 entries. This particular
> returns only 1 attribute, which contains a unix UID, for every DN
> This is needed to find the next available UID. However, this one
> search is
> taking up to about 2 mins to complete. I am using Net::LDAP perl
> which I understand may not be the best performer but have no other
> due to the platforms I work on. Does OpenLDAP have the ability to have
> store procedures as RDMS do? Or is there a convenient way to run a
> on the server through another process? Any information would be
> Are you caching the uid and uidnumber indexes?
> I have not had any speed problems myself with the perl modules. For
> reference a
> query like
> across a database of 2000 entries on a SPARCstation 5 takes 2 seconds
> other users on it doing stuff). This query would not complete within the
> timeout until I got the caching correct.
> Simon Murcott
> Optimation New Zealand Limited (part of the Mentum Group)
> Level 4, Exchange Place, Willeston Street, Wellington, New Zealand
> Phone +64 4 4727218, Fax +64 4 4727219, Mobile 025 405821