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

Re: ldapadd still slow, even with tweaks?

"John Morrissey" <jwm@horde.net> wrote...
> I'm trying to import a large number of entries (~200,000) into an OpenLDAP
> 2.0.7 directory (installed from RPMs, openldap-servers-2.0.7-14) under
> 2.4.x. I'm basically feeding a very large ldif to ldapadd. However,
> performance is less than spectacular; about 6,000 entries every half-hour.
> CPU util stays low (10-15% cpu util on an otherwise-quiescent machine) and
> the machine's got plenty of RAM for db caching.

use (~/sbin/)slapadd to create the db. it write's the db files on it's own
 so shut down slapd first) and is _much_ faster than adding data with
ldapadd via slapd.