pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Shoaib Mir <shoaibmir@gmail.com>
To: Ezequias Rodrigues da Rocha <ezequias.rocha@gmail.com>
Cc: Bart Degryse <Bart.Degryse@indicator.be>
Cc: PostgreSQL <pgsql-sql@postgresql.org>
Subject: Re: Time of executed query
Date: Tue, 6 Mar 2007 18:43:31 +0500
Message-ID: <bf54be870703060543s741e8a72pd1b3918f6b5ef348@mail.gmail.com> (raw)
In-Reply-To: <55c095e90703060537q5f620430wbac3d3a8197673f4@mail.gmail.com>
References: <55c095e90703060520s3e4a1feej65f56cee46fd6700@mail.gmail.com>
	<45ED7A0A.A3DD.0030.0@indicator.be>
	<55c095e90703060537q5f620430wbac3d3a8197673f4@mail.gmail.com>

Did you try EXPLAIN ANALYZE <SQL Query>?

---
Shoaib Mir
EnterpriseDB (www.enterprisedb.com)

On 3/6/07, Ezequias Rodrigues da Rocha <ezequias.rocha@gmail.com> 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 <Bart.Degryse@indicator.be>:
> >
> >
> > note the time just before your operation starts
> > note the time just after it ends
> > show timeafter - timebefore
> >
> > >>> "Ezequias Rodrigues da Rocha" <ezequias.rocha@gmail.com> 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
>

view thread (10+ messages)  latest in thread

Message-ID: <bf54be870703060543s741e8a72pd1b3918f6b5ef348@mail.gmail.com>
Permalink:  ../bf54be870703060543s741e8a72pd1b3918f6b5ef348@mail.gmail.com/
Also on:    postgresql.org/message-id/bf54be870703060543s741e8a72pd1b3918f6b5ef348@mail.gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: shoaibmir@gmail.com, ezequias.rocha@gmail.com, Bart.Degryse@indicator.be
  Subject: Re: Time of executed query
  In-Reply-To: <bf54be870703060543s741e8a72pd1b3918f6b5ef348@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox