Re: synchronous_commit and mvcc

From: Greg Stark <gsstark(at)mit(dot)edu>
To: Kelly Burkhart <kelly(dot)burkhart(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: synchronous_commit and mvcc
Date: 2009-08-12 19:35:51
Message-ID: 407d949e0908121235m228de482ib4bef3095a2c66d7@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Wed, Aug 12, 2009 at 8:28 PM, Kelly Burkhart<kelly(dot)burkhart(at)gmail(dot)com> wrote:
> Hello,
>
> We have synchronous_commit=off in our postgresql.conf file.  Does this
> setting affect mvcc?

If you don't have a crash then there is absolutely no difference from
the clients' point of view (besides speed).

If you have a crash you could lose the last 200ms of commits but if
that happens you'll lose them in a "consistent" way. You can't find
the results of one transaction committed afterwards but not some other
transaction which came earlier.

--
greg
http://mit.edu/~gsstark/resume.pdf

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Andy Colson 2009-08-12 19:40:51 Re: synchronous_commit and mvcc
Previous Message Kelly Burkhart 2009-08-12 19:28:27 synchronous_commit and mvcc