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

Re: Database access to .gdbm files



Hi,

On Wednesday 22 October 2003 21:13, Fox Flanders wrote:
> When doing an LDAP query (cn=*) to return all 14,000 of my users, it takes
> 1 minute 40 seconds using perl-ldap.  This to me seems very slow compared
> to the time it would take a database to do the same query.  I have very
> generous cache sizes, large enough to place the whole thing in memory.

Did you cross-check with the ldapsearch command that came with OpenLDAP ?
It might be a perl-ldap issue. AFAIK perl-ldap is pure Perl which sometimes 
may be slower than compiled C code.

Peter

-- 
Peter Marschall
eMail: peter@adpm.de