pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alvaro Herrera <alvherre@commandprompt.com>
To: Chris Hoover <revoohc@gmail.com>
Cc: pgsql-admin@postgresql.org Admin <pgsql-admin@postgresql.org>
Subject: Re: 8.3 Autovacuum Questions
Date: Mon, 14 Jul 2008 16:29:33 -0400
Message-ID: <20080714202933.GK4050@alvh.no-ip.org> (raw)
In-Reply-To: <1d219a6f0807141326p16d86505o84642b8d49fa6ad8@mail.gmail.com>
References: <1d219a6f0807141326p16d86505o84642b8d49fa6ad8@mail.gmail.com>

Chris Hoover escribió:
> I just have a couple of quick questions about 8.3 and Autovacuum.
> 
> 1.  When autovacuum chooses to vacuum a table, the entire table is vacuumed,
> and not just a specified percentage of the table.  Correct?

Yes.

> 2.  There is no way, without turning autovacuum off, of excluding
> vacuum/analyze during a specific period of time (say during a known peak
> usage period).

Nope, no way.  (You could have a script to update the
pg_autovacuum.enabled flag, and change it using cron.)

> 3.  If I have a PostgreSQL cluster with 10 databases, does
> autovacuum_max_workers=3 mean I have a possibility of 3 total workers or 30
> workers (i.e. autovacuum_max_workers * number of db's)?

3 workers total.

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.



view thread (3+ messages)  latest in thread

Message-ID: <20080714202933.GK4050@alvh.no-ip.org>
Permalink:  ../20080714202933.GK4050@alvh.no-ip.org/
Also on:    postgresql.org/message-id/20080714202933.GK4050@alvh.no-ip.org

 · 

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: alvherre@commandprompt.com, revoohc@gmail.com
  Subject: Re: 8.3 Autovacuum Questions
  In-Reply-To: <20080714202933.GK4050@alvh.no-ip.org>

* 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