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

Re: optimal mdb flags

--On Tuesday, January 07, 2014 7:15 PM -0800 "Paul B. Henson" <henson@acm.org> wrote:

So if it's not obvious, we're working on migrating our openldap deployment
to mdb from hdb :), I apologize for the flurry of questions, this will be
the last, at least for today ;).

I'm trying to evaluate the optimal configuration for mdb; it seems like
for the most part you can just set maxsize and move on if you don't have
performance issues, but one flag I've seen frequently mentioned for
improving performance is writemap. This seems like a win all around,
unless there is some bug that results in erroneous writes into the mapped
region, in which case it could potentially cause major database
corruption. For those that have been running mdb in the field for a
while, are you using writemap? Have you ever run into any corruption
because of it?

I use writemap and nometasync. I've never encountered corruption because of using writemap.



Quanah Gibson-Mount
Architect - Server
Zimbra, Inc.
Zimbra ::  the leader in open source messaging and collaboration