Re: WIP patch for latestCompletedXid method of computing snapshot xmax

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: WIP patch for latestCompletedXid method of computing snapshot xmax
Дата
Msg-id 18533.1189351373@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: WIP patch for latestCompletedXid method of computing snapshot xmax  ("Florian G. Pflug" <fgp@phlo.org>)
Ответы Re: WIP patch for latestCompletedXid method of computing snapshot xmax  ("Florian G. Pflug" <fgp@phlo.org>)
Список pgsql-patches
"Florian G. Pflug" <fgp@phlo.org> writes:
> This guarantee enables a few optimizations. First, as you say in the
> comments, finding the largest xid when committing becomes trivial. But more
> important, if we can assume that the proc array xid cache is always
> sorted, we can get ride of the exclusive lock during subxact abort.

No, we can't, because subxact abort still has to advance latestCompletedXid.

            regards, tom lane

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

Предыдущее
От: Simon Riggs
Дата:
Сообщение: Re: HOT patch - version 15
Следующее
От: "Sibte Abbas"
Дата:
Сообщение: psql slash# command