Re: How long does it take?

From: clayton cottingham <drfrog(at)telus(dot)net>
To: Torbjörn Andersson <tobbe(at)embryo(dot)se>
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: How long does it take?
Date: 2002-02-13 19:36:33
Message-ID: 3C6AC041.A89318CA@telus.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

see explain in the docs?

http://www.postgresql.org/idocs/index.php?sql-explain.html

or you could use perls timing modules as well

ttfn

Torbjörn Andersson wrote:
>
> Does anyone have any good tips on how to measure the time it takes to
> extecute an SQL-statement in psql?
>
> I'd like to use it in conjunction with EXPLAIN in order to help me determine
> what needs to be optimized as well as checking that my optimization actually
> improved matters...
>
> Best regards
>
> Torbjörn Andersson
> ---------------------------------------------------
> Embryo Communication phone: +46 (0) 31-774 39 11(00)
> Kungsgatan 7a fax: +46 (0)31 774 07 80
> S-411 19 Göteborg mobile: 0708-30 70 04
> Sweden home: http://www.embryo.se/
> mail: torbjorn(dot)andersson(at)embryo(dot)se
> ---------------------------------------------------
> "Att idag tänka annorlunda än igår skiljer den vise från den envise." - John
> Steinbeck
>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: you can get off all lists at once with the unregister command
> (send "unregister YourEmailAddressHere" to majordomo(at)postgresql(dot)org)

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Michael Richards 2002-02-13 19:37:48 Re: Time Intervals
Previous Message Jason Earl 2002-02-13 19:23:26 Re: Time Intervals