Re: Potential deadlock with auto-analyze

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: Potential deadlock with auto-analyze
Дата
Msg-id 20080609152412.GD5026@alvh.no-ip.org
обсуждение исходный текст
Ответ на Potential deadlock with auto-analyze  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Tom Lane wrote:

> If that's the right diagnosis, we probably ought to try to fix DROP
> INDEX to not do that, since it could deadlock against any number of
> things not just autovac.  But there's another question here: can we
> make autovac lose the deadlock war, instead of the user process?

Hmm, I thought autovacuum was already supposed to lose on deadlock.
Perhaps it's only considering VACUUM though and not analyze ... [checks]
nope, that doesn't seem to be it.

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


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

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: Re: pg_dump restore time and Foreign Keys
Следующее
От: Tom Lane
Дата:
Сообщение: Re: pg_dump restore time and Foreign Keys