Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id 2BE046339EA for ; Fri, 30 Jul 2010 11:46:50 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.29]) (amavisd-maia, port 10024) with ESMTP id 56078-03-3 for ; Fri, 30 Jul 2010 14:46:43 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from gw.wicourts.gov (gwmta.wicourts.gov [165.219.244.99]) by mail.postgresql.org (Postfix) with ESMTP id C4C67633847 for ; Fri, 30 Jul 2010 11:46:42 -0300 (ADT) Received: from Courts-MTA by gw.wicourts.gov with Novell_GroupWise; Fri, 30 Jul 2010 09:46:40 -0500 Message-Id: <4C529F7B0200002500033F00@gw.wicourts.gov> X-Mailer: Novell GroupWise Internet Agent 8.0.1 Date: Fri, 30 Jul 2010 09:46:35 -0500 From: "Kevin Grittner" To: ,"Bryan Payne" Subject: Re: Autovacuum missing tables References: <4C518960.3040004@speedfc.com> <4C52E42C.8070701@speedfc.com> In-Reply-To: <4C52E42C.8070701@speedfc.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.51 tagged_above=-10 required=5 tests=BAYES_50=0.8, RCVD_IN_DNSWL_MED=-2.3, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201007/214 X-Sequence-Number: 35233 Bryan Payne wrote: > Autovacuum is sometimes skipping certain tables. The tables in > question are pretty busy. A vacuum analyze works fine when run > manually. The tables in question were successfully autovacuumed > this morning, but that is the first time since the 23rd where it > worked. I'm not finding any logging info regarding the autovacuum. > I'm not sure if autovacuum is seeing table locks or what, but is > there a way to run a more aggressive autovacuum? For starters, we need to know what version of PostgreSQL this is: select version(); It wouldn't hurt to see the contents of your postgresql.conf (with all comments removed) and to know something about the table, and how it's used. One way to get that information would be: VACUUM ANALYZE VERBOSE tablename; -Kevin