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 4C0B653231 for ; Thu, 7 Apr 2005 09:16:48 +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 77554-05 for ; Thu, 7 Apr 2005 08:16:47 +0000 (GMT) Received: from houston.familyhealth.com.au (houston.au.fhnetwork.com [203.22.197.21]) by svr1.postgresql.org (Postfix) with ESMTP id E71FF53733 for ; Thu, 7 Apr 2005 09:16:46 +0100 (BST) Received: from houston.familyhealth.com.au (localhost [127.0.0.1]) by houston.familyhealth.com.au (Postfix) with ESMTP id F0D9624FDD; Thu, 7 Apr 2005 16:16:45 +0800 (WST) Received: from [192.168.0.40] (work-40.internal [192.168.0.40]) by houston.familyhealth.com.au (Postfix) with ESMTP id CF02224FCE; Thu, 7 Apr 2005 16:16:45 +0800 (WST) Message-ID: <4254ECD8.4040705@familyhealth.com.au> Date: Thu, 07 Apr 2005 16:18:32 +0800 From: Christopher Kings-Lynne User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: thanga@midascomm.com Cc: pgsql-performance@postgresql.org Subject: Re: help on time calculation References: <1168.192.168.13.108.1112859891.squirrel@192.168.13.108> In-Reply-To: <1168.192.168.13.108.1112859891.squirrel@192.168.13.108> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.074 tagged_above=0 required=5 tests=AWL, FORGED_RCVD_HELO X-Spam-Level: X-Archive-Number: 200504/148 X-Sequence-Number: 11545 > how to find the time taken by an query/stored procedure? In psql, use \timing for an approximate time. > I am using psql 7.1.3 in linux 7.2 > > how to execute 'explain analyse' in the psql? Is it supported at 7.1.3 ? Explain analyze is NOT supported in PostgreSQL 7.1. You really should upgrade your PostgreSQL to version 8.0. Chris