Re: [HACKERS] Concurrent VACUUM: first results

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [HACKERS] Concurrent VACUUM: first results
Дата
Msg-id 14895.943598178@sss.pgh.pa.us
обсуждение исходный текст
Ответ на RE: [HACKERS] Concurrent VACUUM: first results  ("Hiroshi Inoue" <Inoue@tpf.co.jp>)
Список pgsql-hackers
"Hiroshi Inoue" <Inoue@tpf.co.jp> writes:
>> I wonder whether there isn't a cleaner way to do this.

> I think there exists another reason.
> We couldn't delete index tuples for deleted but not yet committed
> heap tuples.

My first thought was "Good point".  But my second was "why should
vacuum need to deal with that case?".  If vacuum grabs an exclusive
lock on a relation, it should *not* ever see tuples with uncertain
commit status, no?

> If we could start another transaction without releasing exclusive
> lock for the target relation,it would be better.

Seems like that might be doable, if we really do need it.
        regards, tom lane


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

Предыдущее
От: "Hiroshi Inoue"
Дата:
Сообщение: RE: [HACKERS] Concurrent VACUUM: first results
Следующее
От: Vadim Mikheev
Дата:
Сообщение: Re: [HACKERS] Concurrent VACUUM: first results