Received: from localhost (unknown [200.46.204.182]) by postgresql.org (Postfix) with ESMTP id BC42F9FB491 for ; Tue, 16 Oct 2007 11:26:13 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.182]) (amavisd-maia, port 10024) with ESMTP id 00894-05 for ; Tue, 16 Oct 2007 11:26:05 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by postgresql.org (Postfix) with ESMTP id B44469FB5E1 for ; Tue, 16 Oct 2007 11:26:10 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.1/8.14.1) with ESMTP id l9GEQ8Hl015641; Tue, 16 Oct 2007 10:26:09 -0400 (EDT) To: =?ISO-8859-1?Q?St=E9phane_Schildknecht?= cc: "pgsql-performance@postgresql.org" Subject: Re: Vacuum goes worse In-reply-to: <47147AD8.9010704@postgresqlfr.org> References: <47147AD8.9010704@postgresqlfr.org> Comments: In-reply-to =?ISO-8859-1?Q?St=E9phane_Schildknecht?= message dated "Tue, 16 Oct 2007 10:48:24 +0200" Date: Tue, 16 Oct 2007 10:26:08 -0400 Message-ID: <15640.1192544768@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200710/179 X-Sequence-Number: 27201 =?ISO-8859-1?Q?St=E9phane_Schildknecht?= 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