[Date Prev][Date Next]
Database access to .gdbm files
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.
I am using version 2.0.25 with ldbm as it comes packaged with RedHat 8.0.
My files are stored in /var/lib/ldap as *.gdbm.
Is there an additional way to get to those gdbm files via perl scripts
(dbi?) or an odbc driver? The long query times I am getting are
unacceptable but I would like to keep the ldap front end on the data.