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

Re: mdb database protected against any power cut?

I wrote:
>Francois Gnu writes:
>> Is the mechanism of recovery mdb database working fine?
> MDB needs no recovery.  You may lose the last commit or two, but the
> database will be consistent if the filesystem is correct.

Whoops - to clarify: You may lose the _last_ one or two commits, until
they get flushed to disk.  The one in progress, and maybe the last
successful commit.  Not just any random commit:-)

You can set up checkpointing to limit how long the last successful
commit can be endangered.  ...unless I read the code wrong.  The
manpage says "checkpoint" is only needed with "dbnosync".  Hmm.