Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id 69E9A1337B69 for ; Tue, 30 Nov 2010 07:38:08 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 73845-08 for ; Tue, 30 Nov 2010 11:38:01 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from kuber.nabble.com (kuber.nabble.com [216.139.236.158]) by mail.postgresql.org (Postfix) with ESMTP id DDC331337B63 for ; Tue, 30 Nov 2010 07:38:00 -0400 (AST) Received: from sam.nabble.com ([192.168.236.26]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1PNOX2-0005ZI-A7 for pgsql-performance@postgresql.org; Tue, 30 Nov 2010 03:38:00 -0800 Date: Tue, 30 Nov 2010 03:38:00 -0800 (PST) From: bakkiya To: pgsql-performance@postgresql.org Message-ID: <1291117080292-3285939.post@n5.nabble.com> Subject: postgresql statements are waiting MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-0.778 tagged_above=-10 required=5 tests=BAYES_00=-1.9, URI_HEX=1.122 X-Spam-Level: X-Archive-Number: 201011/408 X-Sequence-Number: 41432 Hi, I am working on a performance issue with a partitioned table. Some of my sql statements against this partition table is in waiting state for long time. I have queried waiting=true in pg_stat_activity. Now, is there a way to find out which sql is making other statements to wait. Thanks for your help. -- View this message in context: http://postgresql.1045698.n5.nabble.com/postgresql-statements-are-waiting-tp3285939p3285939.html Sent from the PostgreSQL - performance mailing list archive at Nabble.com.