Re: How long does it take?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Torbj=?ISO-8859-1?B?9g==?=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 21:43:07
Message-ID: 849.1013636587@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Torbj=?ISO-8859-1?B?9g==?=rn Andersson <tobbe(at)embryo(dot)se> writes:
> 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...

See "EXPLAIN ANALYZE" in 7.2.

regards, tom lane

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Tom Lane 2002-02-13 21:50:55 Re: Time Intervals
Previous Message Michael Richards 2002-02-13 19:37:48 Re: Time Intervals