Can autovac try to lock multiple tables at once?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Can autovac try to lock multiple tables at once?
Дата
Msg-id 18495.1181769783@sss.pgh.pa.us
обсуждение исходный текст
Ответы Re: Can autovac try to lock multiple tables at once?  (Alvaro Herrera <alvherre@commandprompt.com>)
Список pgsql-hackers
$subject would be bad because of potential deadlocks against other
transactions that might try to exclusive-lock more than one table.

We should be OK for actual vacuum operations, but I think that if
autovac chooses to just ANALYZE multiple tables, it will do it in
one transaction and accumulate locks.  Probably the use_own_xacts
logic in vacuum() ought to special-case IsAutoVacuumWorkerProcess.
        regards, tom lane


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

Предыдущее
От: "Joshua D. Drake"
Дата:
Сообщение: Re: EXPLAIN omits schema?
Следующее
От: "Florian G. Pflug"
Дата:
Сообщение: Re: EXPLAIN omits schema?