Re: No long-lived transaction, still can't delete tuples

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: No long-lived transaction, still can't delete tuples
Дата
Msg-id 25105.1019743015@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: No long-lived transaction, still can't delete tuples  (Lincoln Yeoh <lyeoh@pop.jaring.my>)
Ответы Re: No long-lived transaction, still can't delete tuples  (Lincoln Yeoh <lyeoh@pop.jaring.my>)
Список pgsql-general
Lincoln Yeoh <lyeoh@pop.jaring.my> writes:
> At 06:59 PM 4/24/02 -0400, Tom Lane wrote:
>> Until client A returns from his lunch break, you'll not be able to
>> vacuum the trash that client B generated, even though B has committed
>> his changes.

> Does just a BEGIN without anything else hold up vacuum? It doesn't seem to
> for 7.1.3. Whereas a BEGIN followed by a select from a table holds up
> vacuum once vacuum reaches the relevant table.

You're confusing obtaining a lock with determining xmin for tuple
removal purposes.

> BEGIN followed by select
> (1), causes vacuum to stop with:
> ERROR:  Parent tuple was not found

Oh?  If you have a repeatable example of that, I'd like to see it.

            regards, tom lane

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

Предыдущее
От: Martijn van Oosterhout
Дата:
Сообщение: Re: How to deal with crashes?
Следующее
От: David Link
Дата:
Сообщение: Re: Why is outer Join way quicker?