On Jan 23, 2008 5:48 PM, Martijn van Oosterhout <[EMAIL PROTECTED]> 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