Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id AC3F59FA312 for ; Fri, 31 Aug 2007 13:12:27 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 55275-08 for ; Fri, 31 Aug 2007 13:12:03 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from lists.commandprompt.com (host-254.commandprompt.net [207.173.203.254]) by postgresql.org (Postfix) with ESMTP id 93DFF9FA001 for ; Fri, 31 Aug 2007 13:12:02 -0300 (ADT) Received: from perhan.alvh.no-ip.org (201-220-104-109.bk9-dsl.surnet.cl [201.220.104.109]) (authenticated bits=0) by lists.commandprompt.com (8.13.7/8.13.6) with ESMTP id l7VGC1Je022698; Fri, 31 Aug 2007 09:12:02 -0700 Received: by perhan.alvh.no-ip.org (Postfix, from userid 1000) id E81EE47C5F; Fri, 31 Aug 2007 12:11:58 -0400 (CLT) Date: Fri, 31 Aug 2007 12:11:58 -0400 From: Alvaro Herrera To: Pallav Kalva Cc: Tom Lane , pgsql-performance@postgresql.org Subject: Re: 8.2 Autovacuum BUG ? Message-ID: <20070831161158.GD8046@alvh.no-ip.org> References: <46D83427.60001@livedatagroup.com> <25038.1188574775@sss.pgh.pa.us> <46D83C50.3040409@livedatagroup.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <46D83C50.3040409@livedatagroup.com> User-Agent: Mutt/1.5.16 (2007-06-11) X-Virus-Scanned: ClamAV 0.91.1/4110/Thu Aug 30 16:49:40 2007 on projects.commandprompt.com X-Virus-Status: Clean X-Greylist: Sender succeded SMTP AUTH authentication, not delayed by milter-greylist-1.6 (lists.commandprompt.com [192.168.2.159]); Fri, 31 Aug 2007 09:12:02 -0700 (PDT) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200708/399 X-Sequence-Number: 26529 Pallav Kalva wrote: > Tom Lane wrote: >> Probably represents freezing of old tuples, which is a WAL-logged >> operation as of 8.2. Is it likely that the data is 200M transactions >> old? >> > If nothing changed on these tables how can it freeze old tuples ? > Does it mean that once it reaches 200M transactions it will do the same > thing all over again ? No -- once tuples are frozen, they don't need freezing again (unless they are modified by UPDATE or DELETE). > If I am doing just SELECTS on these tables ? how can there be any > transactions ? or SELECTS considered transactions too ? Selects are transactions too. They just don't modify data. -- Alvaro Herrera http://www.CommandPrompt.com/ PostgreSQL Replication, Consulting, Custom Development, 24x7 support