Re: Prepared transactions vs novice DBAs, again

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: Prepared transactions vs novice DBAs, again
Дата
Msg-id 603c8f070904221415p58f01ec8t45d7d34f934941bf@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Prepared transactions vs novice DBAs, again  (Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>)
Ответы Re: Prepared transactions vs novice DBAs, again  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Wed, Apr 22, 2009 at 2:58 PM, Heikki Linnakangas
<heikki.linnakangas@enterprisedb.com> wrote:
> Tom Lane wrote:
>>
>> Does a prepared xact still block vacuum cleanup in HEAD, or has that
>> been fixed since 8.2?
>
> It still does. A prepared xact is just like a idle-in-transaction backend as
> far as vacuum is concerned.

Is that really necessary? It's true that you can't vacuum away any
rows whose xmin is that of the prepared xact, but it seems like you
wouldn't need to keep rows just because they were *visible* to the
prepared xact.  Once prepared, it's no longer capable of reading them.

...Robert


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Prepared transactions vs novice DBAs, again
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Prepared transactions vs novice DBAs, again