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

question with slapadd and slapindex

after i used slapcat all the entries into an LDIF file  :ldif
i use slapadd and slapindex to reconstruct LDAP datebase
first , i edit slapd.conf and remove all index directon such as objectclass
then run 
/usr/local/sbin/slapadd -f /usr/local/etc/openldap/slapd.conf -l  ldif
but this process is too slowly, almost cost an hour!
in ldif file ,about 40,000 entries!
i run over red hat 7.2 with openldap 2.1.19 and Berkeley DB 4.1
also hardware is not too bad!
Can anybody else tell me some method to improve this process!
Thanks ahead!