Re: The vacuum-ignore-vacuum patch

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: The vacuum-ignore-vacuum patch
Дата
Msg-id 20070.1154094988@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: The vacuum-ignore-vacuum patch  (Alvaro Herrera <alvherre@commandprompt.com>)
Список pgsql-hackers
Alvaro Herrera <alvherre@commandprompt.com> writes:
> Tom Lane wrote:
>> Uh, why?

> Because it's used to determine the Xmin that our vacuum will use.  If
> there is a transaction whose Xmin calculation included the Xid of a
> transaction running vacuum, we have gained nothing from directly
> excluding said vacuum's Xid, because it will affect us anyway indirectly
> via that transaction's Xmin.

But the patch changes things so that *everyone* excludes the vacuum from
their xmin.  Or at least I thought that was the plan.
        regards, tom lane


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

Предыдущее
От: Csaba Nagy
Дата:
Сообщение: Re: [CORE] Attack against postgresql.org ...
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: [PATCHES] pgstattuple extension for indexes