Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 8267F9F9721 for ; Fri, 31 Aug 2007 13:05:43 -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 54915-02 for ; Fri, 31 Aug 2007 13:05:40 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from mail1.livedatagroup.com (mail1.livedatagroup.com [216.154.205.166]) by postgresql.org (Postfix) with ESMTP id 7E4BF9F96F8 for ; Fri, 31 Aug 2007 13:05:40 -0300 (ADT) Received: from localhost (localhost [127.0.0.1]) by mail1.livedatagroup.com (Postfix) with ESMTP id B1189B584F; Fri, 31 Aug 2007 12:05:39 -0400 (EDT) Received: from mail1.livedatagroup.com ([192.168.3.224]) by localhost (mail1.livedatagroup.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 23864-03; Fri, 31 Aug 2007 12:05:37 -0400 (EDT) Received: from [192.168.2.134] (adsl-074-228-048-194.sip.bct.bellsouth.net [74.228.48.194]) by mail1.livedatagroup.com (Postfix) with ESMTP id D108FB57ED; Fri, 31 Aug 2007 12:05:36 -0400 (EDT) Message-ID: <46D83C50.3040409@livedatagroup.com> Date: Fri, 31 Aug 2007 12:05:36 -0400 From: Pallav Kalva User-Agent: Thunderbird 2.0.0.6 (X11/20070728) MIME-Version: 1.0 To: Tom Lane CC: pgsql-performance@postgresql.org Subject: Re: 8.2 Autovacuum BUG ? References: <46D83427.60001@livedatagroup.com> <25038.1188574775@sss.pgh.pa.us> In-Reply-To: <25038.1188574775@sss.pgh.pa.us> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at livedatagroup.com X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200708/398 X-Sequence-Number: 26528 Tom Lane wrote: > Pallav Kalva writes: > >> We turned on autovacuums on 8.2 and we have a database which is read >> only , it is basically a USPS database used only for address lookups >> (only SELECTS, no updates/deletes/inserts). >> > > >> This database has about 10gig data and yesterday autovacuum started >> on this database and all of a sudden I see lot of archive logs generated >> during this time, I guess it might have generated close to 3-4gig data >> during this period. >> > > 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 ? If I am doing just SELECTS on these tables ? how can there be any transactions ? or SELECTS considered transactions too ? > regards, tom lane > > ---------------------------(end of broadcast)--------------------------- > TIP 1: if posting/reading through Usenet, please send an appropriate > subscribe-nomail command to majordomo@postgresql.org so that your > message can get through to the mailing list cleanly >