Re: Temporary disable autovacuum in pgsql 8.1.0
От | Tom Lane |
---|---|
Тема | Re: Temporary disable autovacuum in pgsql 8.1.0 |
Дата | |
Msg-id | 29965.1133880568@sss.pgh.pa.us обсуждение исходный текст |
Ответ на | Temporary disable autovacuum in pgsql 8.1.0 (Richard van den Berg <richard.vandenberg@trust-factory.com>) |
Ответы |
Re: Temporary disable autovacuum in pgsql 8.1.0
|
Список | pgsql-general |
Richard van den Berg <richard.vandenberg@trust-factory.com> writes: > We are in the process of upgrading our 400GB database from PostgreSQL > 7.4.7 to 8.1.0. During the pg_restore I noticed that the autovacuum > process was slowing things down significantly. I should have disabled it > in postgresql.conf before starting the restore (duh). > Not wanting to restart the restore, I searched for a method of disabling > autovacuum on the fly. I found the solution based on the hints I found > at http://archives.postgresql.org/pgsql-patches/2004-06/msg00414.php Couldn't you have just set autovacuum = off in postgresql.conf? (Unlike some other things, this setting can be changed after postmaster start.) regards, tom lane
В списке pgsql-general по дате отправления: