Re: How about a option to disable autovacuum cancellation on lock conflict?

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: How about a option to disable autovacuum cancellation on lock conflict?
Дата
Msg-id CA+TgmoaB8rnqM9fvKbER59S7VbSYvOO8ADnsV4exon3W3KqV9g@mail.gmail.com
обсуждение исходный текст
Ответ на Re: How about a option to disable autovacuum cancellation on lock conflict?  (Jim Nasby <Jim.Nasby@BlueTreble.com>)
Ответы Re: How about a option to disable autovacuum cancellation on lock conflict?  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Список pgsql-hackers
On Sat, Nov 29, 2014 at 11:46 PM, Jim Nasby <Jim.Nasby@bluetreble.com> wrote:
> What do you mean by "never succeed"? Is it skipping a large number of pages?
> Might re-trying the locks within the same vacuum help, or are the user locks
> too persistent?

You are confused.  He's talking about the relation-level lock that
vacuum attempts to take before doing any work at all on a given table,
not the per-page cleanup locks that it takes while processing each
page.  If the relation-level lock can't be acquired, the whole table
is skipped.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company



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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: Review of GetUserId() Usage
Следующее
От: Воронин Дмитрий
Дата:
Сообщение: Getting references for OID