X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id D9368534D3 for ; Thu, 31 Mar 2005 23:13:48 +0100 (BST) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 91949-07 for ; Thu, 31 Mar 2005 22:13:40 +0000 (GMT) Received: from smtp103.rog.mail.re2.yahoo.com (smtp103.rog.mail.re2.yahoo.com [206.190.36.81]) by svr1.postgresql.org (Postfix) with SMTP id 6822852D44 for ; Thu, 31 Mar 2005 23:13:39 +0100 (BST) Received: from unknown (HELO phlogiston.dydns.org) (a.sullivan@rogers.com@216.75.167.195 with login) by smtp103.rog.mail.re2.yahoo.com with SMTP; 31 Mar 2005 22:13:41 -0000 Received: by phlogiston.dydns.org (Postfix, from userid 1000) id C26923F9C; Thu, 31 Mar 2005 17:13:35 -0500 (EST) Date: Thu, 31 Mar 2005 17:13:35 -0500 From: Andrew Sullivan To: "pgsql-performance@postgresql.org" Subject: Re: pg_autovacuum not having enough suction ? Message-ID: <20050331221335.GB19823@phlogiston.dyndns.org> Mail-Followup-To: "pgsql-performance@postgresql.org" References: <16180.1111792693@sss.pgh.pa.us> <200503252321.j2PNLO826150@candle.pha.pa.us> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200503252321.j2PNLO826150@candle.pha.pa.us> User-Agent: Mutt/1.5.6+20040907i X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.257 tagged_above=0 required=5 tests=AWL, TO_ADDRESS_EQ_REAL X-Spam-Level: X-Archive-Number: 200503/692 X-Sequence-Number: 11397 On Fri, Mar 25, 2005 at 06:21:24PM -0500, Bruce Momjian wrote: > > Can we issue a LOCK TABLE with a statement_timeout, and only do the > VACUUM FULL if we can get a lock quickly? That seems like a plan. I think someone else's remark in this thread is important, though: autovacuum shouldn't ever block other transactions, and this approach will definitely run that risk. A -- Andrew Sullivan | ajs@crankycanuck.ca A certain description of men are for getting out of debt, yet are against all taxes for raising money to pay it off. --Alexander Hamilton