Re: Improvement of procArray.xmin for VACUUM

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: Improvement of procArray.xmin for VACUUM
Дата
Msg-id 200703271417.l2REHf012470@momjian.us
обсуждение исходный текст
Ответ на Re: Improvement of procArray.xmin for VACUUM  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-patches
Tom Lane wrote:
> Bruce Momjian <bruce@momjian.us> writes:
> > Tom Lane wrote:
> >> Bruce Momjian <bruce@momjian.us> writes:
> >>> Well, my secondary addition was to start MyProc->xmin with the current
> >>> xid counter, rather than your own xid.
> >>
> >> Don't tell me you seriously believe that would work.
>
> > I do.  Please tell me why it will not.
>
> You can't have GlobalXmin greater than your own xid, else log space
> (particularly pg_subtrans) may be recycled too soon.

OK, so maybe GlobalXmin would have to be split into two new variables
that control log space and dead-row detection separately.

--
  Bruce Momjian  <bruce@momjian.us>          http://momjian.us
  EnterpriseDB                               http://www.enterprisedb.com

  + If your life is a hard drive, Christ can be your backup. +

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Improvement of procArray.xmin for VACUUM
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Fast CLUSTER