Re: Vacuum goes worse

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Stéphane Schildknecht <stephane(dot)schildknecht(at)postgresqlfr(dot)org>
Cc: "pgsql-performance(at)postgresql(dot)org" <pgsql-performance(at)postgresql(dot)org>
Subject: Re: Vacuum goes worse
Date: 2007-10-16 14:26:08
Message-ID: 15640.1192544768@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

=?ISO-8859-1?Q?St=E9phane_Schildknecht?= <stephane(dot)schildknecht(at)postgresqlfr(dot)org> writes:
> For some times, we have a vacuuming process on a specific table that
> goes slower and slower. In fact, it took some 3 minutes a month ago, and
> now it take almost 20 minutes. But, if one day it take so many time, it
> is possible that on the day after it will only take 4 minutes...

> I know the table in concern had 450000 tuples two months ago and now has
> more than 700000 tuples in it.

The real question is how often do rows get updated? I suspect you
probably need to vacuum this table more than once a day.

regards, tom lane

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Mark Lewis 2007-10-16 14:33:15 Re: Autovacuum running out of memory
Previous Message Scott Marlowe 2007-10-16 14:22:54 Re: Autovacuum running out of memory