X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id CEB1A53617 for ; Fri, 25 Mar 2005 06:15:34 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 60035-05 for ; Fri, 25 Mar 2005 06:15:29 +0000 (GMT) Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by svr1.postgresql.org (Postfix) with ESMTP id 56A2E53613 for ; Fri, 25 Mar 2005 06:15:28 +0000 (GMT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.1/8.13.1) with ESMTP id j2P6FHtx020492; Fri, 25 Mar 2005 01:15:17 -0500 (EST) To: Christopher Kings-Lynne Cc: Mark Lewis , pgsql-performance@postgresql.org Subject: Re: Delete query takes exorbitant amount of time In-reply-to: <4243A2B8.6020903@familyhealth.com.au> References: <1111709457.9085.127.camel@k2.cet.nau.edu> <2630.1111711927@sss.pgh.pa.us> <1111713798.23412.3.camel@amateljan.mirlogic.com> <4009.1111717976@sss.pgh.pa.us> <4243A2B8.6020903@familyhealth.com.au> Comments: In-reply-to Christopher Kings-Lynne message dated "Fri, 25 Mar 2005 13:33:44 +0800" Date: Fri, 25 Mar 2005 01:15:17 -0500 Message-ID: <20491.1111731317@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.007 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200503/538 X-Sequence-Number: 11243 Christopher Kings-Lynne writes: >> Hmm ... I wonder how hard it would be to teach EXPLAIN ANALYZE to show >> the runtime expended in each trigger when the statement is of a kind >> that has triggers. > Could SPI "know" that an explain analyze is being run and add their > output and timings to the output? If it did, we'd be double-counting the time. regards, tom lane