Re: how do i find out how long a query took?

Поиск
Список
Период
Сортировка
От scott.marlowe
Тема Re: how do i find out how long a query took?
Дата
Msg-id Pine.LNX.4.33.0209301228210.22182-100000@css120.ihs.com
обсуждение исходный текст
Ответ на Re: how do i find out how long a query took?  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-general
On Mon, 30 Sep 2002, Bruce Momjian wrote:

> Darren Ferguson wrote:
> > select version();
> >                            version
> > -------------------------------------------------------------
> >  PostgreSQL 7.2.1 on i686-pc-linux-gnu, compiled by GCC 2.96
> > (1 row)
> >
> >
> > \timing does not work gives following
> >
> > oss=> \timing
> > Showing only tuples.
> > \t: extra argument 'iming' ignored
> >
> > Any ideas ??? or was it just 7.2.2??
>
> Oops, that is a 7.3 new feature.  There isn't a way in 7.2.X.  Perhaps
> you can set your psql prompt to the current time but I can't figure out
> how to do that either.

explain analyze in 7.2 should tell you how long the query took to run, but
won't give you the result set.


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

Предыдущее
От: "Ben-Nes Michael"
Дата:
Сообщение: Major Problem with locale
Следующее
От: Jean-Luc Lachance
Дата:
Сообщение: Re: [SQL] CURRENT_TIMESTAMP