[Date Prev][Date Next]
Re: Slow replication in mirrormode
--On Thursday, October 29, 2009 5:02 PM +0100 Peter Mogensen <email@example.com>
I've moved to new (FAST*) hardware and I was testing how long it took for
a empty mirrormode server to catch up with the other one. (like after a
complete failure of one of the nodes)
I'm using a database where id2entry.bdb is ~6.6Gb. and it's taking
surprisingly long time.
After 18 hours it has gotten around 1/4 of the way.
I'm wondering if I could speed it up by loading an LDIF backup on the
empty server before I start it.
Yep. This is the recommended method for large databases.
Are there anything special I should take into account, like regarding
entryCSN and options to slapdadd when I load the backup?
You should make sure and use the -q flag, and make sure you have a properly
configured DB_CONFIG file that will hold the entire DB (not just the
id2entry.bdb file size). In addition, if you go over 8GB in size, you'll
likely want to use a shared memory key instead of an on disk cache.
Principal Software Engineer
Zimbra :: the leader in open source messaging and collaboration