From: | pshadangi <pshadangi(at)gmail(dot)com> |
---|---|
To: | pgsql-general(at)lists(dot)postgresql(dot)org |
Subject: | Re: Read consistency when using synchronous_commit=off |
Date: | 2019-01-16 05:02:54 |
Message-ID: | CAA+OQsQAQtN8Wk+PACjMxBz-5FzRSpcEp8MYb3Sx=R=qJsvNRg@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
> After better thinking, I have to reply to myself since I m not entirely
sure of my previous question. (I m digging into the docs, but i do not want
to mislead you in the meanwhile)
Yes, I was not able to get some statement regarding this in the docs,
please let me know if you find something. Thanks.
> 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.
We don't have standby instance, as I have mentioned we are using just one
instance of postgres serving local clients running on the same machine, do
you know in this case what is the behavior ?
On Tue, Jan 15, 2019 at 5:24 PM Ravi Krishna <srkrishna(at)fastmail(dot)com> wrote:
>
> > 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.
>
>
>
From | Date | Subject | |
---|---|---|---|
Next Message | Ravi Krishna | 2019-01-16 05:16:48 | Re: Read consistency when using synchronous_commit=off |
Previous Message | Daevor The Devoted | 2019-01-16 00:57:27 | Re: Can anyone please provide me list of customers using postgreSQL |