| From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
|---|---|
| To: | Richard van den Berg <richard(dot)vandenberg(at)trust-factory(dot)com> |
| Cc: | pgsql-general(at)postgresql(dot)org |
| Subject: | Re: Temporary disable autovacuum in pgsql 8.1.0 |
| Date: | 2005-12-06 14:49:28 |
| Message-ID: | 29965.1133880568@sss.pgh.pa.us |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
Richard van den Berg <richard(dot)vandenberg(at)trust-factory(dot)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
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Markus Wollny | 2005-12-06 14:54:27 | Re: Unicode Corruption and upgrading to 8.0.4. to 8.1 |
| Previous Message | Tom Lane | 2005-12-06 14:45:59 | Re: Memory Leakage Problem |