pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feedsomething similar to explain
3+ messages / 3 participants
[nested] [flat]
* something similar to explain
@ 2002-03-04 15:28 Lucas Rockwell <lr@socrates.Berkeley.EDU>
1 sibling, 1 reply; 3+ messages in thread
From: Lucas Rockwell @ 2002-03-04 15:28 UTC (permalink / raw)
To: pgsql-admin
hi,
i am running some tests and i would like to see how long it takes to run a
query. "explain" gives me query plan info, but i want to actually run the
query and then find out how long it took.
is there a way with psql to get the time it takes to perform a query?
thanks.
-lucas
------------------------
Lucas Rockwell
UAS Systems Group
510.642.6465
lr@socrates.berkeley.edu
------------------------
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: something similar to explain
@ 2002-03-04 16:34 Dan Langille <dan@langille.org>
1 sibling, 0 replies; 3+ messages in thread
From: Dan Langille @ 2002-03-04 16:34 UTC (permalink / raw)
To: Lucas Rockwell <lr@socrates.Berkeley.EDU>; +Cc: pgsql-admin
On 4 Mar 2002 at 7:28, Lucas Rockwell wrote:
> i am running some tests and i would like to see how long it takes to run a
> query. "explain" gives me query plan info, but i want to actually run the
> query and then find out how long it took.
>
> is there a way with psql to get the time it takes to perform a query?
I was told about this last night: With 7.2, explain analyze
http://www.ca.postgresql.org/users-lounge/docs/7.2/postgres/sql-
explain.html
--
Dan Langille
The FreeBSD Diary - http://freebsddiary.org/ - practical examples
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: something similar to explain
@ 2002-03-04 18:46 Tom Lane <tgl@sss.pgh.pa.us>
parent: Lucas Rockwell <lr@socrates.Berkeley.EDU>
0 siblings, 0 replies; 3+ messages in thread
From: Tom Lane @ 2002-03-04 18:46 UTC (permalink / raw)
To: Lucas Rockwell <lr@socrates.Berkeley.EDU>; +Cc: pgsql-admin
Lucas Rockwell <lr@socrates.Berkeley.EDU> writes:
> i am running some tests and i would like to see how long it takes to run a
> query. "explain" gives me query plan info, but i want to actually run the
> query and then find out how long it took.
Update to 7.2 and use EXPLAIN ANALYZE.
regards, tom lane
^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~2002-03-04 18:46 UTC | newest]
Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2002-03-04 15:28 ` Lucas Rockwell <lr@socrates.Berkeley.EDU>
2002-03-04 18:46 ` Tom Lane <tgl@sss.pgh.pa.us>
2002-03-04 16:34 ` Dan Langille <dan@langille.org>
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