OID Bulkload VS ldapadd
Dears,
I was wondering, what is the added advantage of OID bulkload tool over ldapadd, when adding a bulk of users.
Based on my testing, I tried both methods to import around 750-770 users, using the same ldif file, and here's the results:
(I used the unix 'time' command to calculate the accurate time for executing both commands)
- Using ldapadd --> real 0m13.387s -- approximately 13.5 seconds.
- Using bulkload --> Check + Generate steps real 0m6.189s -- approximately 6 seconds.
Load real 0m13.319s -- approximately 13.5 seconds.
-------------------------------------------------------------------------------------------------------
Total 19.5 seconds
As you may see, the overall time is greater when using bulkload. So now the question is, if bulkload is preferred over ldapadd, then what's the advantages ? (keeping in mind that ldapadd may be executed while OID is on-line, opposing to bulkload where you have to bring OID down and execute it, then bring OID on-line when finished.)