pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
How to turn off autovacuum
2+ messages / 2 participants
[nested] [flat]

* How to turn off autovacuum
@ 2006-03-22 19:10  Chris Hoover <revoohc@gmail.com>
  0 siblings, 1 reply; 2+ messages in thread

From: Chris Hoover @ 2006-03-22 19:10 UTC (permalink / raw)
  To: pgsql-admin

Question, if I turn on autovacuum in PG 8.1, how do I turn it off?

The reason behind this question is that we would love to turn it on and try
it in our production systems.  However, if we find that it is causing to
much i/o load, we need to be able to turn it off on a moments notice with
out stopping the database.

Is this possible?

Thanks,

Chris

^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: How to turn off autovacuum
@ 2006-03-22 19:35  Tom Lane <tgl@sss.pgh.pa.us>
  parent: Chris Hoover <revoohc@gmail.com>
  0 siblings, 0 replies; 2+ messages in thread

From: Tom Lane @ 2006-03-22 19:35 UTC (permalink / raw)
  To: Chris Hoover <revoohc@gmail.com>; +Cc: pgsql-admin

"Chris Hoover" <revoohc@gmail.com> writes:
> Question, if I turn on autovacuum in PG 8.1, how do I turn it off?

> The reason behind this question is that we would love to turn it on and try
> it in our production systems.  However, if we find that it is causing to
> much i/o load, we need to be able to turn it off on a moments notice with
> out stopping the database.

Not a problem, you can change the autovacuum parameters with just a
SIGHUP to the postmaster, no need to restart anything.

If you really mean you want to kill it NOW, rather than letting the
current autovac pass finish out, I think a SIGINT to the autovac
process will take care of it.

			regards, tom lane



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2006-03-22 19:35 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2006-03-22 19:10 How to turn off autovacuum Chris Hoover <revoohc@gmail.com>
2006-03-22 19:35 ` Tom Lane <tgl@sss.pgh.pa.us>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox