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 0A85453323 for ; Thu, 7 Apr 2005 16:43:42 +0100 (BST) 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 16008-07 for ; Thu, 7 Apr 2005 15:43:30 +0000 (GMT) Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by svr1.postgresql.org (Postfix) with ESMTP id 20D7D53205 for ; Thu, 7 Apr 2005 16:43:29 +0100 (BST) 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 j37FhFhC003145; Thu, 7 Apr 2005 11:43:18 -0400 (EDT) To: Christopher Kings-Lynne Cc: thanga@midascomm.com, pgsql-performance@postgresql.org Subject: Re: help on explain analyse in psql 7.1.3 (linux) In-reply-to: <4254E604.90006@familyhealth.com.au> References: <1148.192.168.13.108.1112858466.squirrel@192.168.13.108> <4254E604.90006@familyhealth.com.au> Comments: In-reply-to Christopher Kings-Lynne message dated "Thu, 07 Apr 2005 15:49:24 +0800" Date: Thu, 07 Apr 2005 11:43:15 -0400 Message-ID: <3144.1112888595@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.006 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200504/160 X-Sequence-Number: 11557 Christopher Kings-Lynne writes: >> I didn't find option analyse in explain command.. >> >> how to get time taken by SQL procedure/query? > Explain analyze was added in 7.2 - you really need to upgrade... > You can use \timing in psql to get an approximation... 7.1 psql hasn't got \timing either ... regards, tom lane