Received: from localhost (unknown [200.46.204.191]) by postgresql.org (Postfix) with ESMTP id 6CC179FB8B6 for ; Fri, 31 Aug 2007 15:51:54 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.191]) (amavisd-maia, port 10024) with ESMTP id 54910-08 for ; Fri, 31 Aug 2007 15:51:46 -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 92D379FB8C7 for ; Fri, 31 Aug 2007 15:51:43 -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 l7VIpVC5029122; Fri, 31 Aug 2007 11:51:32 -0700 Received: by perhan.alvh.no-ip.org (Postfix, from userid 1000) id 0214047C5F; Fri, 31 Aug 2007 14:51:28 -0400 (CLT) Date: Fri, 31 Aug 2007 14:51:28 -0400 From: Alvaro Herrera To: Pallav Kalva Cc: pgsql-performance@postgresql.org, Mark Lewis Subject: Re: 8.2 Autovacuum BUG ? Message-ID: <20070831185128.GM8046@alvh.no-ip.org> References: <46D83427.60001@livedatagroup.com> <25038.1188574775@sss.pgh.pa.us> <46D83C50.3040409@livedatagroup.com> <20070831161158.GD8046@alvh.no-ip.org> <46D840EC.1060302@livedatagroup.com> <1188577771.22730.238.camel@archimedes> <46D86103.6060204@livedatagroup.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <46D86103.6060204@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 11:51:37 -0700 (PDT) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200708/406 X-Sequence-Number: 26536 Pallav Kalva wrote: > My main concern is filling up my disk with archive logs, so from all the > replies I get is that since tuples are already frozen, next time when it > runs autovacuum it wont generate any archive logs. > > Is my assumption right ? Well, it won't generate any logs for the tuples that were just frozen, but it will generate logs for tuples that weren't frozen. How many of these there are, depends on how many tuples you inserted after the batch that was just frozen. If you want to freeze the whole table completely, you can you VACUUM FREEZE. -- Alvaro Herrera http://www.CommandPrompt.com/ PostgreSQL Replication, Consulting, Custom Development, 24x7 support