Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id A4DEB9FB2B8 for ; Fri, 29 Sep 2006 15:11:29 -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 91029-04 for ; Fri, 29 Sep 2006 15:11:23 -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 7AF399FB223 for ; Fri, 29 Sep 2006 15:11:23 -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 k8TIA650018336; Fri, 29 Sep 2006 14:10:06 -0400 (EDT) To: "Sriram Dandapani" cc: "Matthew T. O'Connor" , pgsql-admin@postgresql.org Subject: Re: autovacuum ignore tables In-reply-to: <6992E470F12A444BB787B5C937B9D4DF060E5BF6@ca-mail1.cis.local> References: <6992E470F12A444BB787B5C937B9D4DF060E5BF6@ca-mail1.cis.local> Comments: In-reply-to "Sriram Dandapani" message dated "Fri, 29 Sep 2006 10:59:54 -0700" Date: Fri, 29 Sep 2006 14:10:06 -0400 Message-ID: <18335.1159553406@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.095 tagged_above=0 required=5 tests=AWL, SPF_HELO_PASS, SPF_PASS X-Spam-Level: X-Archive-Number: 200609/375 X-Sequence-Number: 23289 "Sriram Dandapani" writes: > I tried your code with the lock table followed by drop. > The lock table goes into a wait state AND all INSERTS (even new ones > coming in) go into a wait state. Well, it's waiting for something. Try looking in pg_locks to see which transaction is blocking it. regards, tom lane