pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Stéphane Schildknecht <stephane.schildknecht@postgresqlfr.org>
Cc: pgsql-performance@postgresql.org <pgsql-performance@postgresql.org>
Subject: Re: Vacuum goes worse
Date: Tue, 16 Oct 2007 10:26:08 -0400
Message-ID: <15640.1192544768@sss.pgh.pa.us> (raw)
In-Reply-To: <47147AD8.9010704@postgresqlfr.org>
References: <47147AD8.9010704@postgresqlfr.org>

=?ISO-8859-1?Q?St=E9phane_Schildknecht?= <stephane.schildknecht@postgresqlfr.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



view thread (20+ messages)  latest in thread

Message-ID: <15640.1192544768@sss.pgh.pa.us>
Permalink:  ../15640.1192544768@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/15640.1192544768@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: tgl@sss.pgh.pa.us, stephane.schildknecht@postgresqlfr.org
  Subject: Re: Vacuum goes worse
  In-Reply-To: <15640.1192544768@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox