Re: Performance of autovacuum and full vacuum of database

From: "Matthew T(dot) O'Connor" <matthew(at)zeut(dot)net>
To: Vivek Khera <vivek(at)khera(dot)org>
Cc: PG-General General <pgsql-general(at)postgresql(dot)org>
Subject: Re: Performance of autovacuum and full vacuum of database
Date: 2005-11-11 16:25:14
Message-ID: 4374C5EA.7090100@zeut.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Vivek Khera wrote:
> 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.

With the release of 8.1 and it's integrated version of autovacuum, you
can now set per table settings for for vauum and analyze thresholds,
vacuum cost delay, and table enable / disable. This addresses what was
probably the largest deficiency with the old contrib version.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Robert Treat 2005-11-11 16:36:25 Re: A good postgresql book
Previous Message Vivek Khera 2005-11-11 16:04:57 Re: Performance of autovacuum and full vacuum of database