Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id B0D0A632763 for ; Thu, 1 Jul 2010 12:34:19 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 90107-01 for ; Thu, 1 Jul 2010 15:34:12 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from spinlock.commandprompt.com (host-215.commandprompt.net [207.173.203.215]) by mail.postgresql.org (Postfix) with ESMTP id C024D63275E for ; Thu, 1 Jul 2010 12:34:12 -0300 (ADT) Received: from localhost (localhost [127.0.0.1]) by spinlock.commandprompt.com (Postfix) with ESMTP id 48A5D348035; Thu, 1 Jul 2010 08:34:11 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at commandprompt.com Received: from spinlock.commandprompt.com ([127.0.0.1]) by localhost (spinlock.commandprompt.com.commandprompt.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id CPlER+mI31Ls; Thu, 1 Jul 2010 08:34:09 -0700 (PDT) Received: from alvh.no-ip.org (unknown [186.9.108.216]) by spinlock.commandprompt.com (Postfix) with ESMTPSA id 9206E348036; Thu, 1 Jul 2010 08:34:08 -0700 (PDT) Received: by alvh.no-ip.org (Postfix, from userid 1000) id D0E0743820A; Thu, 1 Jul 2010 11:33:57 -0400 (CDT) Content-Type: text/plain; charset=utf8 Cc: Tom Lane , pgsql-admin Subject: Re: blocking automatic vacuum From: Alvaro Herrera To: Uwe Bartels In-reply-to: References: <1494.1277218083@sss.pgh.pa.us> Date: Thu, 01 Jul 2010 11:33:57 -0400 Message-Id: <1277998392-sup-5801@alvh.no-ip.org> User-Agent: Sup/0.11 Content-Transfer-Encoding: 8bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-0.001 tagged_above=-10 required=5 tests=BAYES_40=-0.001 X-Spam-Level: X-Archive-Number: 201007/2 X-Sequence-Number: 35021 Excerpts from Uwe Bartels's message of jue jul 01 04:42:42 -0400 2010: > Hi Tom, > > till now i found more blocking vacuum processes in other databases as well. > we migrated postgres from 8.3 to 8.4 in april. Please examine pg_locks to see what's blocking autovacuum. The key is WHERE granted=f.