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

Re: there is any bulkload tool for openLDAP



Thank you for your response.
In the performance aspect, the script which does :
-rm database_file 
- slapadd -f ldifffile

must be better than : ldapmodify to suppress 90K entries (of 200 bytes each)  and ldapadd new 90K entries, am I wrong ?

Which I wonder is, is there any benchmark for slapdd ?

Ha Minh NGUYEN

----- Original Message ----- 
From: "Bjørn Ove Grøtan" <bjorn.grotan@itea.ntnu.no>
To: "Ha Minh NGUYEN" <hanguyen@capgemini.fr>
Sent: Friday, May 16, 2003 6:11 PM
Subject: Re: there is any bulkload tool for openLDAP


> Ha Minh NGUYEN:
> > Hello everybody,
> > 
> > I would like to know if there is any bulkload for openLDAP which does :
> > - suppress the current database,
> rm -rf /path/to/databasefiles
> 
> > - bulkload data from an LDIF file to create the new one.
> slapadd -f mybulkload.ldif
> 
> > Which performance this tool offers ?
> doesn't get any better. Though it stops if it get parse-error on your
> LDIF-file, or wrong value of attributes and such.
> 
> I suggest writing a small shell-script for doing this.. 3-15 lines
> should do it quite nicely :)
> --
> Mvh
> 
> Bjørn Ove Grøtan
> "Resistance is futile.  You will be assimilated."