Re: Performance of autovacuum and full vacuum of database

From: Vivek Khera <vivek(at)khera(dot)org>
To: PG-General General <pgsql-general(at)postgresql(dot)org>
Subject: Re: Performance of autovacuum and full vacuum of database
Date: 2005-11-11 16:04:57
Message-ID: 588038D8-B5BF-496F-9E6F-E1383E390DD6@khera.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


On Nov 10, 2005, at 3:43 PM, Matthew T. O'Connor wrote:

> Yes exactly, and if you find that pg_autovacuum is never or not
> often enough firing off vacuum comands, then you will need to play
> with the threshold settings. The default thresholds for
> pg_autovacuum are too conservative for most people, so you may very
> well have to do this.

Another issue with autovacuum (haven't investigated the 8.1 version
yet) is that you can't make different threshhold settings for
different tables. For example, I have some tables that are a handful
of rows but are updated bazillions of times per day, and other tables
with 10's of millions of rows updated perhaps 100k times per day.
autovacuum would go several days without vacuuming some of the
tables, which was just bad...

I don't think it is suitable for all situations.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Matthew T. O'Connor 2005-11-11 16:25:14 Re: Performance of autovacuum and full vacuum of database
Previous Message Florian G. Pflug 2005-11-11 15:34:44 I'm getting "ERROR: unsupported type: 17296"