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

Re: import is slow on Solaris



Peter Fabian wrote:

> We just installed 1.2.7 on Solaris 2.6 and noticed that importing ldif
> files using the command below is incredibly slow:
>
> ldapadd -D "cn=xxx" -w yyy -f  test.ldif
>
> test.ldif is roughly  40 mb. the import took over 2 hours. the machine
> has over 1GB RAM and 2 CPU
>
> is there any faster way of build import?
>

You can tune ldapadd (be aware of the data integrity implications):

http://www.OpenLDAP.org/faq/data/cache/192.html

Or do a offline database creation as described in the managers guide:

http://www.umich.edu/~dirsvcs/ldap/doc/guides/slapd/8.html#RTFToC41

Regards, Tom

--
Tom Helmer Jensen, System Manager, Computer Science
Roskilde University. Building 42.1, P.O. BOX 260, DK-4000 Denmark
WWW: http://www.dat.ruc.dk/~thelmer   E-mail: mailto://thelmer@ruc.dk
Voice: +45 4674 3829   Fax: +45 4674 3072  Private: +45 3876 1506