Re: Read consistency when using synchronous_commit=off

Поиск
Список
Период
Сортировка
От Ravi Krishna
Тема Re: Read consistency when using synchronous_commit=off
Дата
Msg-id 1547615808.3470705.1635837968.2703BA66@webmail.messagingengine.com
обсуждение исходный текст
Ответ на Re: Read consistency when using synchronous_commit=off  (pshadangi <pshadangi@gmail.com>)
Ответы Re: Read consistency when using synchronous_commit=off  (pshadangi <pshadangi@gmail.com>)
Список pgsql-general
Sorry I misunderstood.  The term "read consistency" is generally used either in the context of isolation level or in the context of slaves.

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 ?


You are good.  All transactions update buffer cache too, along with WAL buffer and hence other sessions can immediately see the changes. synchronous_commit=off will only reduce the fsync calls, which makes them less crash safe, but the database consistency is not compromised.
  



В списке pgsql-general по дате отправления:

Предыдущее
От: pshadangi
Дата:
Сообщение: Re: Read consistency when using synchronous_commit=off
Следующее
От: Pavel Stehule
Дата:
Сообщение: Re: Oracke BLOB to Postgres BYTEA using ora2pg