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

Re: Small tip to speed up large imports with ldapadd



Am Freitag, 13. Oktober 2017 15:18 CEST, Karsten Heymann <karsten.heymann@gmail.com> schrieb:

> <....>
> As I don't care for data consistency *while* importing (if the import
> should abort, I can alway restart the process), I'm stopping the regular
> slapd and run it manually under the control of 'eatmydata', a little tool
> that LD_PRELOAD's all filesystem sync operations to noops. This has
> increased the speed of my import tests by several orders of magnitude.

This might be a stupid question or I don't undersand your  goal, but if you
shut down you operational server, why don't you use 'slapadd' (optionally with
the '-q -s' option in case you know your input is consistent)?

Cheers, Ralf Mattes