X-Original-To: pgsql-general-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id 877699DC814 for ; Fri, 27 Jan 2006 00:36:15 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 49977-08 for ; Fri, 27 Jan 2006 00:36:14 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from snappy.tocr.com (snappy.tocr.com [64.34.164.72]) by postgresql.org (Postfix) with ESMTP id 6F4F79DCA30 for ; Fri, 27 Jan 2006 00:36:13 -0400 (AST) Received: by snappy.tocr.com (Postfix, from userid 48) id 018B7950120; Thu, 26 Jan 2006 22:48:11 -0500 (EST) Received: from 71.40.140.99 (SquirrelMail authenticated user matthew) by mail.tocr.com with HTTP; Thu, 26 Jan 2006 22:48:11 -0500 (EST) Message-ID: <5143.71.40.140.99.1138333691.squirrel@mail.tocr.com> In-Reply-To: <24593.1138311692@sss.pgh.pa.us> References: <002a01c622ac$41555af0$1f12fea9@homisco.local> <5071.71.40.140.99.1138304142.squirrel@mail.tocr.com> <20060126204430.GA97564@winnie.fuhr.org> <24593.1138311692@sss.pgh.pa.us> Date: Thu, 26 Jan 2006 22:48:11 -0500 (EST) Subject: Re: VACUUM Question From: "Matthew T. O'Connor" To: "Tom Lane" Cc: "Michael Fuhr" , "Matthew T. O'Connor" , "Oisin Glynn" , "pgsql general" User-Agent: SquirrelMail/1.4.4-1.FC2.2.legacy MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.096 required=5 tests=[AWL=0.096] X-Spam-Score: 0.096 X-Spam-Level: X-Archive-Number: 200601/1424 X-Sequence-Number: 90369 > Also, somebody made a real good point about rolled-back insertions. > Even if the only command you ever apply to the table is INSERT, you > could still have dead rows in the table if some of those transactions > occasionally roll back. hmm... That's true. I don't think autovacuum doesn't anything to account for the concept of rolledback inserts. I suppose in most real world situations that number is going to be small enough to be ignored, but not in all cases. Is there anyway for the stats system to report the information about rolledback inserts? In fact autovacuum probably has a similar deficiency for rolled back deletes but not a rolled back update. Anyone think this is enough of an issue that it needs more attention? Matt