Skip site navigation (1) Skip section navigation (2)

Re: 8.3 Autovacuum Questions

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Chris Hoover <revoohc(at)gmail(dot)com>
Cc: "pgsql-admin(at)postgresql(dot)org Admin" <pgsql-admin(at)postgresql(dot)org>
Subject: Re: 8.3 Autovacuum Questions
Date: 2008-07-14 20:29:33
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-admin
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?


> 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                      
The PostgreSQL Company - Command Prompt, Inc.

In response to


pgsql-admin by date

Next:From: Chris HooverDate: 2008-07-14 20:34:41
Subject: Re: 8.3 Autovacuum Questions
Previous:From: Chris HooverDate: 2008-07-14 20:26:08
Subject: 8.3 Autovacuum Questions

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group