--On October 7, 2009 3:32:51 PM -0400 Aaron Richton <[email protected]> wrote:

On Wed, 7 Oct 2009, iz1ksw iz1ksw wrote:

What is the fastest way (in terms of openldap settings) to perform a
massive load (~200MB ldif file) of data into openldap directory?

Try "slapadd -q" (read slapadd(8) man page to get started).

slapadd -q is important, but so is having a large enough BDB cache in the DB_CONFIG file, plus setting the right number of tool threads. I took a load down from 17 hours to less than 2 hours adjusting all of those correctly and adding -q.

--Quanah

--

Quanah Gibson-Mount
Principal Software Engineer
Zimbra, Inc
--------------------
Zimbra ::  the leader in open source messaging and collaboration

Reply via email to