Re: How is statement level read consistency implemented?

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: How is statement level read consistency implemented?
Дата
Msg-id 20080422131014.GB5130@alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: How is statement level read consistency implemented?  ("Roberts, Jon" <Jon.Roberts@asurion.com>)
Ответы Re: How is statement level read consistency implemented?
Список pgsql-general
Roberts, Jon wrote:

> Back to PostgreSQL, when a vacuum is issued, the old deleted rows are
> removed.  This can be done with the autovacuum feature or manually.
>
> -Does vacuum make sure there are no long running queries referencing the
> deleted rows before it attempts to remove the old rows?

It does.

> -With autovacuum, does it skip these rows still being referenced in a
> transaction or does it wait?

It skips them, the idea being that a future vacuum will remove them.

--
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

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

Предыдущее
От: Thomas Kellerer
Дата:
Сообщение: Re: How is statement level read consistency implemented?
Следующее
От: "Roberts, Jon"
Дата:
Сообщение: Re: FW: Re: create temp in function