[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: Small tip to speed up large imports with ldapadd
- To: "Karsten Heymann" <karsten.heymann@gmail.com>
- Subject: Re: Small tip to speed up large imports with ldapadd
- From: "Ralf Mattes" <rm@mh-freiburg.de>
- Date: Fri, 13 Oct 2017 15:43:54 +0200
- Cc: openldap-technical@openldap.org
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/simple; d=mh-freiburg.de; s=mail; t=1507902235; bh=5zY9OaHLlcrS0rtpobREUz6Xwlz3cuyv8eup8NKbDyQ=; h=In-Reply-To:To:From:Subject:Date:Cc:From; b=xryWGx3h8d84jMlk6S8pbsVM1IfrMsJw8iHux5crCfz1YL4hwIhpSIiYnkAveUlxc LppxO9e/2vqWtRtwn5FfTputqih54yPTSeMJEIMbeYpSqHVt5F5axuD/dZvjNqegMn GA4h/0SqwkZuG5eGitXPpH6mrwJsrUyaZncvT1zs=
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/simple; d=mh-freiburg.de; s=mail; t=1507902235; bh=5zY9OaHLlcrS0rtpobREUz6Xwlz3cuyv8eup8NKbDyQ=; h=In-Reply-To:To:From:Subject:Date:Cc:From; b=xryWGx3h8d84jMlk6S8pbsVM1IfrMsJw8iHux5crCfz1YL4hwIhpSIiYnkAveUlxc LppxO9e/2vqWtRtwn5FfTputqih54yPTSeMJEIMbeYpSqHVt5F5axuD/dZvjNqegMn GA4h/0SqwkZuG5eGitXPpH6mrwJsrUyaZncvT1zs=
- In-reply-to: <CAL017hDdb4RUaGq6Mih4JpJ-zwCRBmWyucXh1e8kC==0Dioiaw@mail.gmail.com>
- User-agent: SOGoMail 2.3.20
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