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

From: Martijn van Oosterhout <kleptog(at)svana(dot)org>
To: Gokulakannan Somasundaram <gokul007(at)gmail(dot)com>
Cc: Decibel! <decibel(at)decibel(dot)org>, pgsql-hackers list <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Thick indexes - a look at count(1) query
Date: 2008-01-23 16:48:49
Message-ID: 20080123164849.GA12666@svana.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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.

Inside psql, check the help.

Have a nice day,
--
Martijn van Oosterhout <kleptog(at)svana(dot)org> http://svana.org/kleptog/
> Those who make peaceful revolution impossible will make violent revolution inevitable.
> -- John F Kennedy

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Decibel! 2008-01-23 16:49:31 Re: Strange locking choices in pg_shdepend.c
Previous Message Gokulakannan Somasundaram 2008-01-23 16:32:14 Re: Thick indexes - a look at count(1) query