Re: allowing VACUUM to be cancelled for conflicting locks

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: allowing VACUUM to be cancelled for conflicting locks
Дата
Msg-id 20140428155231.GK25695@eldon.alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: allowing VACUUM to be cancelled for conflicting locks  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: allowing VACUUM to be cancelled for conflicting locks  (Claudio Freire <klaussfreire@gmail.com>)
Список pgsql-hackers
Tom Lane wrote:
> Abhijit Menon-Sen <ams@2ndquadrant.com> writes:
> > In the past, we've had situations where "everything is hung" turned out
> > to be because of a script that ran manual VACUUM that was holding some
> > lock. It's admittedly not a huge problem, but it might be useful if a
> > manual VACUUM could be cancelled the way autovacuum can be.
> 
> I think the real answer to that is "stop using manual VACUUM".

As much as I'm a fan of autovacuum, that's not always possible.

-- 
Álvaro Herrera                http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services



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

Предыдущее
От: Simon Riggs
Дата:
Сообщение: Re: Implied BETWEEN from join quals
Следующее
От: Tom Lane
Дата:
Сообщение: Re: includedir_internal headers are not self-contained