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

ldapsearch slow with +110000 entries


I added almost 110,000 entries using slapadd. Ok, it took "only" 43
minutes on a dual Pentium II 450MHz, 1GB RAM. Openldap 2.0.21 and RedHat

After slapadd I tried to make some searches, but every search took too
long. So, I run slapindex and tried again with time to measure how much
time would take each one: each search took about 4 to 5 minutes to

Even after add cachesize 100000 and dbcachesize	10000000, the times were
3 minutes for the this search and 2 minutes for the rest.

Am I missing something? Is it the expect time for this size of

My Configuration:
include		/etc/openldap/schema/core.schema
include		/etc/openldap/schema/cosine.schema
include		/etc/openldap/schema/inetorgperson.schema
include		/etc/openldap/schema/nis.schema
include		/etc/openldap/schema/redhat/rfc822-MailMember.schema
include		/etc/openldap/schema/redhat/autofs.schema
include		/etc/openldap/schema/redhat/kerberosobject.schema

database	ldbm
suffix		"dc=mycompany,dc=com"
cachesize 	100000
dbcachesize	10000000
rootdn		"cn=Manager,dc=mycompany,dc=com"
rootpw		{crypt}xxxxxxx
directory	/var/lib/ldap

index	objectClass,uid,uidNumber,gidNumber,memberUid	eq
index	cn,mail,surname,givenname			eq,subinitial



"Let the source be with you" - Tux