Re: temporarily stop autovacuum

Поиск
Список
Период
Сортировка
От Bernd Helmle
Тема Re: temporarily stop autovacuum
Дата
Msg-id 0CBDFB72109208B183692428@teje
обсуждение исходный текст
Ответ на Re: temporarily stop autovacuum  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers
--On Mittwoch, Februar 11, 2009 13:18:11 -0500 Robert Haas 
<robertmhaas@gmail.com> wrote:

> In any case it's not difficult to write a script that loops over all
> of your tables with ALTER TABLE.  It's probably not as fast as a
> single UPDATE statement, but I suspect you'd need to have an enormous
> number of tables for that to matter much.

Agreed, we often recommend this for all kinds of GRANTs, REVOKEs and so on. 
But while we don't have (yet) any facility to achieve this behavior with 
these commands, for autovacuum, a possible solution exists, and although a 
crude temporarily one, i know people seeing pg_autovacuum as a feature to 
do exactly this kind of maintenance.


--  Thanks
                   Bernd


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

Предыдущее
От: "Tao Ma"
Дата:
Сообщение: some questions about SELECT FOR UPDATE/SHARE
Следующее
От: Greg Stark
Дата:
Сообщение: Re: WIP: fix SET WITHOUT OIDS, add SET WITH OIDS