--On Friday, October 13, 2017 5:44 PM +0200 Karsten Heymann karsten.heymann@gmail.com wrote:
Hi Quanah,
2017-10-13 16:15 GMT+02:00 Quanah Gibson-Mount quanah@symas.com:
Why not just set dbnosync option as documented in the slapd-mdb(5)/slapd-bdb(5)/slapd-hdb(5) man pages?
I tried that as well, and it made the import faster, but at least in my setup using eatmydata still was a *lot* faster.
Another option, which I didn't think about when building my test setup, would have been to put the data directory into a ram disk during the import and move it to disk afterwards.
Either way, each variant seem quite similiar with regard to what effort they take, so I'm quite happy with my setup.
If you're using back-mdb, you could play with the writemap environment flag as well.
--Quanah
--
Quanah Gibson-Mount Product Architect Symas Corporation Packaged, certified, and supported LDAP solutions powered by OpenLDAP: http://www.symas.com
openldap-technical@openldap.org