Hi, I am new to openldap and I am trying to use it for 50 million records. I am using slapadd to add this data but it is processing around 1 million records in 5 hour. So this will take days to stage properly. I will have to update database every 20 days with about 10 million records. I wish to know what enhancements I have to do in my setup considering following configurations. I am using openldap 2.4.16 with Berkley DB 4.5.20 on CentOS linux OS 32 bit machine with 4GB RAM. slapd.conf :
include /usr/local/etc/openldap/schema/core.schema include /usr/local/etc/openldap/schema/xyz.schema
pidfile /usr/local/var/run/slapd.pid argsfile /usr/local/var/run/slapd.args
backend bdb
database bdb suffix "o=sgi,c=us" rootdn "o=sgi,c=us" checkpoint 128 15
rootpw xyz
directory /usr/local/var/openldap-data
index objectClass eq index attribute1 eq index attribute2 eq
DBCONFIG: set_cachesize 1 268435456 1 set_flags DB_LOG_AUTOREMOVE
Regards, Ashok Kumar