Turning off Autovacuum

Поиск
Список
Период
Сортировка
От Steven Flatt
Тема Turning off Autovacuum
Дата
Msg-id 357fa7590703050800u5954e55fyc806ee19fb1f161@mail.gmail.com
обсуждение исходный текст
Ответы Re: Turning off Autovacuum  (Tomas Vondra <tv@fuzzy.cz>)
Список pgsql-performance
Not quite a performance question, but I can't seem to find a simple answer to this.  We're using 8.1.4 and the autovacuum daemon is running every 40 seconds cycling between 3 databases.  What is the easiest way to disable the autovacuumer for a minute or two, do some other work, then re-enable it?  Do I have to modify postgresql.conf and send a HUP signal to pick up the changes? 
 
I figured this would work but I can't find a reason why not:
 
# show autovacuum;
 autovacuum
------------
 on
(1 row)

# set autovacuum to off;
ERROR:  parameter "autovacuum" cannot be changed now

In postgresql.conf:

autovacuum = on

Thanks,

Steve

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

Предыдущее
От: "A. Kretschmer"
Дата:
Сообщение: Re: Estimate the size of the SQL file generated by pg_dump utility
Следующее
От: Tom Lane
Дата:
Сообщение: Re: PostgreSQL 8.2.3 VACUUM Timings/Performance