X-Original-To: pgsql-performance-postgresql.org@postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id D35149FA42B for ; Wed, 21 Jun 2006 11:17:17 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 95573-09 for ; Wed, 21 Jun 2006 11:17:09 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by postgresql.org (Postfix) with ESMTP id EA2619FA19B for ; Wed, 21 Jun 2006 11:17:08 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.6/8.13.6) with ESMTP id k5LEH5fo009962; Wed, 21 Jun 2006 10:17:05 -0400 (EDT) To: Csaba Nagy cc: jody brownell , postgres performance list Subject: Re: Help tuning autovacuum - seeing lots of relation In-reply-to: <1150898912.3309.23.camel@coppola.muc.ecircle.de> References: <200606211052.43227.jody.brownell@q1labs.com> <1150898912.3309.23.camel@coppola.muc.ecircle.de> Comments: In-reply-to Csaba Nagy message dated "Wed, 21 Jun 2006 16:08:33 +0200" Date: Wed, 21 Jun 2006 10:17:04 -0400 Message-ID: <9961.1150899424@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200606/397 X-Sequence-Number: 19754 Csaba Nagy writes: >> So, it appears my autovacuum is just NOT working... I must have screwed something up, but I cannot see what. > Is it possible that you have long running transactions ? The other question I was wondering about is if autovacuum is actually choosing to vacuum the target table or not. The only way to check that in 8.1 is to crank log_min_messages up to DEBUG2 and then trawl through the postmaster log looking for "autovac" messages. regards, tom lane