Received: from localhost (wm.hub.org [200.46.204.128]) by postgresql.org (Postfix) with ESMTP id 7F3C99FB28D for ; Thu, 28 Sep 2006 04:36:41 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.128]) (amavisd-new, port 10024) with ESMTP id 08380-07 for ; Thu, 28 Sep 2006 07:36:37 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey- Received: from lynet.oppetid.no (oppetid.no [80.65.51.2]) by postgresql.org (Postfix) with ESMTP id 681829FA4AE for ; Thu, 28 Sep 2006 04:36:37 -0300 (ADT) Received: by lynet.oppetid.no (Postfix, from userid 1019) id 4E6F311AFA6; Thu, 28 Sep 2006 09:36:36 +0200 (CEST) Date: Thu, 28 Sep 2006 09:36:36 +0200 From: Tobias Brox To: Tobias Brox Cc: pgsql-performance@postgresql.org Subject: Re: slow queue-like empty table Message-ID: <20060928073636.GG14672@oppetid.no> References: <20060928065631.GA28138@oppetid.no> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060928065631.GA28138@oppetid.no> Organization: Group Nordicbet User-Agent: Mutt/1.5.9i X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.135 tagged_above=0 required=5 tests=FORGED_RCVD_HELO X-Spam-Level: X-Archive-Number: 200609/378 X-Sequence-Number: 21064 [Tobias Brox - Thu at 08:56:31AM +0200] > It really seems like some transaction is still viewing the queue, since > it found 38k of non-removable rows ... but how do I find the pid of the > transaction viewing the queue? As said, the pg_locks didn't give me any > hints ... Dropping the table and recreating it solved the immediate problem, but there must be some better solution than that? :-)