View Single Post

   
  #5 (permalink)  
Old 04-15-2008, 11:42 PM
Guillaume Smet
 
Posts: n/a
Default Re: Thick indexes - a look at count(1) query

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

---------------------------(end of broadcast)---------------------------
TIP 2: Don't 'kill -9' the postmaster

Reply With Quote