Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id 3012D688BDF for ; Tue, 22 Jun 2010 13:57:46 -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 08284-07 for ; Tue, 22 Jun 2010 16:57:39 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by mail.postgresql.org (Postfix) with ESMTP id CB009688BDC for ; Tue, 22 Jun 2010 13:57:38 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.2/8.14.2) with ESMTP id o5MGva5x003520; Tue, 22 Jun 2010 12:57:36 -0400 (EDT) To: Uwe Bartels cc: pgsql-admin@postgresql.org Subject: Re: blocking automatic vacuum In-reply-to: References: <1494.1277218083@sss.pgh.pa.us> Comments: In-reply-to Uwe Bartels message dated "Tue, 22 Jun 2010 17:59:24 +0200" Date: Tue, 22 Jun 2010 12:57:36 -0400 Message-ID: <3519.1277225856@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.91 tagged_above=-10 required=5 tests=BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201006/172 X-Sequence-Number: 34950 Uwe Bartels writes: > i'm pretty sure there is no repetitive ddl happen on this or any other > table. i checked this with the developers. Well, *something* was blocking that RowExclusiveLock request, and for sure it wasn't autovacuum. There has to be something else going on. > but if i had an anti-wraparound vacuum, then i should see warnings like > these in the log. am i right? I don't have any warnings that day. > WARNING: database "mydb" must be vacuumed within 177009986 transactions > HINT: To avoid a database shutdown, execute a database-wide VACUUM in "mydb". Uh, no. Anti-wraparound vacuums are performed long before you would get to the point of seeing any actual warnings. regards, tom lane