Re: Fast massive ldif load

Emmanuel Lecharny <[email protected]>
Newsgroups gmane.network.openldap.general
Message-ID <[email protected]>
Quanah Gibson-Mount wrote:
>
>
> --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.

The LDIF file is only 200Mb large. It should be a matter of minutes to 
load it on a decent machine, even when using the standard parameters :)

-- 
--
cordialement, regards,
Emmanuel Lécharny
www.iktek.com
directory.apache.org
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.