Re: perfromance impact of vacuum

From: "Matthew T(dot) O'Connor" <matthew(at)zeut(dot)net>
To: "Jay O'Connor" <joconnor(at)cybermesa(dot)com>
Cc: PostgreSQL List <pgsql-general(at)postgresql(dot)org>
Subject: Re: perfromance impact of vacuum
Date: 2003-07-15 03:41:23
Message-ID: 1058240483.8589.10.camel@zeutrh9
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Mon, 2003-07-14 at 17:13, Jay O'Connor wrote:
> What impact in performance does vacuum have on an active database? I'm
> being asked about this...or rather...someone is questioning the use of
> postgresql because of this

There is no easy answer to this question, other than if you vacuum
appropriately (not to often, or too infrequently) the net impact on
system performance is a win. A database system that doesn't require a
vacuum type process still has to do the same work, it just does it at
transaction time, postgres defers this work until vacuum is run, which
is typically done at off peak times.

As the author of the pg_autovacuum daemon in 7.4 contrib, I would
suggest you try it :-) The primary advantage of the daemon is that it
monitors activity and when needed, vacuums specific tables, not whole
databases. The thresholds that dictate when vacuums occur can be set at
runtime, and should allow you to get it performing the way you want. If
you have any questions or problems let me know. I am always interested
in hearing about others real world experiences.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Matthew T. O'Connor 2003-07-15 03:44:57 Re: PostgreSQL/Hermes 0.1.0 RC4, call for testers
Previous Message Chris Travers 2003-07-15 03:33:32 PostgreSQL/Hermes 0.1.0 RC4, call for testers