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

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: (view raw, whole thread or download thread mbox)
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


pgsql-performance by date

Next:From: Mark LewisDate: 2007-10-16 14:33:15
Subject: Re: Autovacuum running out of memory
Previous:From: Scott MarloweDate: 2007-10-16 14:22:54
Subject: Re: Autovacuum running out of memory

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