pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ravi Krishna <srkrishna@fastmail.com>
To: pgsql-general@lists.postgresql.org
Subject: Re: Read consistency when using synchronous_commit=off
Date: Tue, 15 Jan 2019 06:54:38 -0500
Message-ID: <1547553278.1840928.1635056376.7E488891@webmail.messagingengine.com> (raw)
In-Reply-To: <0422a97d-59c6-5812-2ba9-7687c564ad94@portavita.eu>
References: <CAA+OQsSRuQX8vaDV0=v5x9U0Vcj_1G71aTCQ7wx+YBE==uHvEQ@mail.gmail.com>
	<5609bb8f-ee85-5e1b-9cb3-7a4ec5458f81@portavita.eu>
	<0422a97d-59c6-5812-2ba9-7687c564ad94@portavita.eu>


> I m not sure other clients are able to read from WAL buffer, therefore
> i m not sure the data is available to other clients at that specific
> point in time.
No.  On the standby the buffer cache has to be populated with the
updates before other client sessions can read it.  AFAIK other client
sessions do not read WAL buffers.
That is why synchronous_commit=ON option is there.

view thread (8+ messages)  latest in thread

Message-ID: <1547553278.1840928.1635056376.7E488891@webmail.messagingengine.com>
Permalink:  ../1547553278.1840928.1635056376.7E488891@webmail.messagingengine.com/
Also on:    postgresql.org/message-id/1547553278.1840928.1635056376.7E488891@webmail.messagingengine.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: srkrishna@fastmail.com
  Subject: Re: Read consistency when using synchronous_commit=off
  In-Reply-To: <1547553278.1840928.1635056376.7E488891@webmail.messagingengine.com>
  References: <CAA+OQsSRuQX8vaDV0=v5x9U0Vcj_1G71aTCQ7wx+YBE==uHvEQ@mail.gmail.com> <5609bb8f-ee85-5e1b-9cb3-7a4ec5458f81@portavita.eu> <0422a97d-59c6-5812-2ba9-7687c564ad94@portavita.eu> <1547553278.1840928.1635056376.7E488891@webmail.messagingengine.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox