Re: cheaper snapshots

Поиск
Список
Период
Сортировка
От Kevin Grittner
Тема Re: cheaper snapshots
Дата
Msg-id 4E319653020000250003F896@gw.wicourts.gov
обсуждение исходный текст
Ответ на Re: cheaper snapshots  (Jeff Davis <pgsql@j-davis.com>)
Ответы Re: cheaper snapshots  ("Kevin Grittner" <Kevin.Grittner@wicourts.gov>)
Список pgsql-hackers
Jeff Davis <pgsql@j-davis.com> wrote:
> Wouldn't the same issue exist if one transaction is waiting for
> sync rep (synchronous_commit=on), and another is waiting for just
> a WAL flush (synchronous_commit=local)? I don't think that a
> synchronous_commit=off is required.
I think you're right -- basically, to make visibility atomic with
commit and allow a fast snapshot build based on that order, any new
commit request would need to block behind any pending request,
regardless of that setting.  At least, no way around that is
apparent to me.
-Kevin


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

Предыдущее
От: Jeff Davis
Дата:
Сообщение: Re: cheaper snapshots
Следующее
От: "Kevin Grittner"
Дата:
Сообщение: Re: cheaper snapshots