Re: can't stop autovacuum by HUP'ing the server
| От | Joshua Drake |
|---|---|
| Тема | Re: can't stop autovacuum by HUP'ing the server |
| Дата | |
| Msg-id | 20080826102537.1821f3a0@jd-laptop обсуждение исходный текст |
| Ответ на | Re: can't stop autovacuum by HUP'ing the server ("Dave Cramer" <pg@fastcrypt.com>) |
| Список | pgsql-hackers |
On Tue, 26 Aug 2008 12:58:59 -0400 "Dave Cramer" <pg@fastcrypt.com> wrote: > > Well, I'm willing to help debug this, however this is a busy > production database and I need to be able to turn it off for a few > hours a day. Would changing autovacuum_freeze_max_age be a solution ? Populate the table pg_autovacuum with all your relations and the defaults from the postgresql.conf. Then set enabled to FALSE on all the tuples. When you are ready to turn autovacuum back on, set it to TRUE. Joshua D. Drake -- The PostgreSQL Company since 1997: http://www.commandprompt.com/ PostgreSQL Community Conference: http://www.postgresqlconference.org/ United States PostgreSQL Association: http://www.postgresql.us/ Donate to the PostgreSQL Project: http://www.postgresql.org/about/donate
В списке pgsql-hackers по дате отправления: