Received: from localhost (maia-1.hub.org [200.46.204.191]) by postgresql.org (Postfix) with ESMTP id B67469FB626 for ; Tue, 6 Mar 2007 09:55:28 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.191]) (amavisd-new, port 10024) with ESMTP id 04783-03 for ; Tue, 6 Mar 2007 09:55:24 -0400 (AST) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.4 Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.172]) by postgresql.org (Postfix) with ESMTP id EDD8B9FB2B3 for ; Tue, 6 Mar 2007 09:55:24 -0400 (AST) Received: by ug-out-1314.google.com with SMTP id k3so182560ugf for ; Tue, 06 Mar 2007 05:55:23 -0800 (PST) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=RmBeu1khIAID0zF5acDuDlyMiKBGyAwK72FtmTWPIOjPIjDs+icD3Tj/uSrBX+pCD6GyZ/amFj+DVkRmuGkOXV59tsdeBq4xMwNABdVePV950FVexvutpOIyKJu6dVSmXSRs8uksThGjo7TVBsH/q9OaKk3m4vgDPmDSpzzbr2Y= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=DV/vNF4fn2KQ2mpOgVxz5yeVD2ulU0Tw3RpHRwknqnZYRruKy/R+9zE3rBmBOQIEcSKbWg2UdR1cUqTg/GAbN6MYeBbkQ7wIWLah5b4MPqvjA/gInjFeM/va/GWkh/wwAIpRG2Mm5gltxldGHK0R/tg3IJkdYnTD5oC/l4w3J2o= Received: by 10.66.244.10 with SMTP id r10mr1709520ugh.1173189323301; Tue, 06 Mar 2007 05:55:23 -0800 (PST) Received: by 10.67.94.13 with HTTP; Tue, 6 Mar 2007 05:55:23 -0800 (PST) Message-ID: <55c095e90703060555h41df5050q37400142b869b624@mail.gmail.com> Date: Tue, 6 Mar 2007 10:55:23 -0300 From: "Ezequias Rodrigues da Rocha" To: "Shoaib Mir" Subject: Re: [SQL] Time of executed query Cc: "Bart Degryse" , PostgreSQL , Pgadmin-Support In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <55c095e90703060520s3e4a1feej65f56cee46fd6700@mail.gmail.com> <45ED7A0A.A3DD.0030.0@indicator.be> <55c095e90703060537q5f620430wbac3d3a8197673f4@mail.gmail.com> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200703/19 X-Sequence-Number: 6734 EXPLAIN ANALYZE Is perfect but i have no idea of how to use it. My resultset is retrieving my rows. Another question that cames with the Analyze. PgAdmin return the time to retrieve the data or all time to fill the grid on the "SQL Editor". -- Ezequias Rodrigues da Rocha http://ezequiasrocha.blogspot.com/ use Mozilla Firefox:http://br.mozdev.org/firefox/ 2007/3/6, Shoaib Mir : > Did you try EXPLAIN ANALYZE ? > > --- > Shoaib Mir > EnterpriseDB (www.enterprisedb.com) > > > On 3/6/07, Ezequias Rodrigues da Rocha wrote: > > I preffer that the database give me this information. I don't know if > > it is possible becouse if we retrieve many rows and if we want to put > > this result in a new column the same time will be replicated many > > times and consuming more processing. > > > > Any other suggestion ? > > Ezequias > > > > 2007/3/6, Bart Degryse : > > > > > > > > > note the time just before your operation starts > > > note the time just after it ends > > > show timeafter - timebefore > > > > > > >>> "Ezequias Rodrigues da Rocha" 2007-03-06 > > > 14:20 >>> > > > > > > Hi list, > > > > > > It is possible to retrieve the time of a SQL statement leads to > > > execute ? I would like to put in my application how much time each > > > operation leads to finish. > > > > > > Any suggestion ? > > > > > > -- > > > Ezequias Rodrigues da Rocha > > > http://ezequiasrocha.blogspot.com/ > > > use Mozilla Firefox: http://br.mozdev.org/firefox/ > > > > > > ---------------------------(end of > > > broadcast)--------------------------- > > > TIP 5: don't forget to increase your free space map settings > > > > > > > > > -- > > Ezequias Rodrigues da Rocha > > http://ezequiasrocha.blogspot.com/ > > use Mozilla Firefox:http://br.mozdev.org/firefox/ > > > > ---------------------------(end of > broadcast)--------------------------- > > TIP 5: don't forget to increase your free space map settings > > > >