Re: psql microsecond timing patch

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: psql microsecond timing patch
Дата
Msg-id 200109281943.f8SJhaf13991@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: psql microsecond timing patch  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-patches
> greg@turnstep.com writes:
> > This is a small patch to allow you to time your queries in
> > psql. Myself and some others have been using it and find it
> > useful for telling how long an actual specific query takes,
> > as opposed to EXPLAIN which just does an estimate.
>
> Hmm.  Is there any value in this now that we have EXPLAIN ANALYZE?
>
> Microsecond-level timing on the client side seems like a dubious
> proposition anyway ...

FYI, EXPLAIN ANALYZE will appear in 7.2:

test=> EXPLAIN ANALYZE SELECT * FROM pg_class;
NOTICE:  QUERY PLAN:

Seq Scan on pg_class  (cost=0.00..3.01 rows=101 width=115) (actual
time=0.06..1.97 rows=101 loops=1)
Total runtime: 2.51 msec

EXPLAIN

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

В списке pgsql-patches по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: Fix for broken JDBC's getColumn() (take 2)
Следующее
От: Marko Kreen
Дата:
Сообщение: regression tests for pgcrypto