Re: Thick indexes - a look at count(1) query - Mailing list pgsql-hackers

From Guillaume Smet
Subject Re: Thick indexes - a look at count(1) query
Date
Msg-id 1d4e0c10801230935l7d56e06bq9948ade32ad14a07@mail.gmail.com
Whole thread Raw
In response to Re: Thick indexes - a look at count(1) query  (Martijn van Oosterhout <kleptog@svana.org>)
List 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 by date:

Previous
From: Martijn van Oosterhout
Date:
Subject: Re: Thick indexes - a look at count(1) query
Next
From: "Gokulakannan Somasundaram"
Date:
Subject: Re: autonomous transactions