Re: Thick indexes - a look at count(1) query

Поиск
Список
Период
Сортировка
От Guillaume Smet
Тема Re: Thick indexes - a look at count(1) query
Дата
Msg-id 1d4e0c10801230935l7d56e06bq9948ade32ad14a07@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Thick indexes - a look at count(1) query  (Martijn van Oosterhout <kleptog@svana.org>)
Список pgsql-hackers
On Jan 23, 2008 5:48 PM, Martijn van Oosterhout <kleptog@svana.org> wrote:
> On Wed, Jan 23, 2008 at 10:02:14PM +0530, Gokulakannan Somasundaram wrote:
> > As you said, 'gettimeofday' is occupying 40% of the execution time. But
> > without explain analyze(with just executor stats), i am not getting the time
> > duration at all.  Is there any other way, i can get the timings without this
> > overhead?
>
> \timing iirc.

Yep, it's \timing.

You can also use log_min_duration_statement and pgFouine to have
average stats on a longer run.

--
Guillaume


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

Предыдущее
От: Martijn van Oosterhout
Дата:
Сообщение: Re: Thick indexes - a look at count(1) query
Следующее
От: "Gokulakannan Somasundaram"
Дата:
Сообщение: Re: autonomous transactions