pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: John Lister <john.lister-ps@kickstone.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: controlling autovacuum during the day.
Date: Wed, 17 Dec 2008 08:47:05 -0500
Message-ID: <27759.1229521625@sss.pgh.pa.us> (raw)
In-Reply-To: <2BB7361E57C4417A975C0474610BA4C3@squarepi.com>
References: <2BB7361E57C4417A975C0474610BA4C3@squarepi.com>

"John Lister" <john.lister-ps@kickstone.com> writes:
> I'd like to use autovacuum to clean up the tables rather than schedule a 
> full vacuum with cron as it will be more selective/intelligent about what 
> gets cleaned. But is it possible to stop it running during peak/office 
> hours?

No.  Instead, set the vacuum cost parameters to make it run slow enough
to not interfere too much with your work.

			regards, tom lane



view thread (14+ messages)  latest in thread

Message-ID: <27759.1229521625@sss.pgh.pa.us>
Permalink:  ../27759.1229521625@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/27759.1229521625@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: tgl@sss.pgh.pa.us, john.lister-ps@kickstone.com
  Subject: Re: controlling autovacuum during the day.
  In-Reply-To: <27759.1229521625@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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