Re: controlling autovacuum during the day.

Поиск
Список
Период
Сортировка
От John Lister
Тема Re: controlling autovacuum during the day.
Дата
Msg-id 2BB7361E57C4417A975C0474610BA4C3@squarepi.com
обсуждение исходный текст
Ответы Re: controlling autovacuum during the day.  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-admin
I'd like to use autovacuum to clean up the tables rather than schedule a
full vacuum with cron as it will be more selective/intelligent about what
gets cleaned. But is it possible to stop it running during peak/office
hours?

I've seen a post mention using pg_autovacuum.enabled to do this, but this
appears to be on a per table basis... I'd like to do this across the board,
without restarting the db. Is this possible or do i need to insert every
table into pg_autovacuum and run a script that sets the enabled flag as
appropriate?

Thanks
--

Got needs? Get Goblin'! - http://www.pricegoblin.co.uk/


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

Предыдущее
От: Michael Monnerie
Дата:
Сообщение: Re: pgCluster and PostgreSQL
Следующее
От: Tom Lane
Дата:
Сообщение: Re: controlling autovacuum during the day.