pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Michael Glaesemann <grzm@seespotcode.net>
Cc: pgsql-performance@postgresql.org
Subject: Re: EXPLAIN ANALYZE time calculations
Date: Sun, 02 Dec 2007 19:56:19 -0500
Message-ID: <239.1196643379@sss.pgh.pa.us> (raw)
In-Reply-To: <8C0EE80A-42A3-4CC1-850B-2A6B9220B422@seespotcode.net>
References: <8C0EE80A-42A3-4CC1-850B-2A6B9220B422@seespotcode.net>

Michael Glaesemann <grzm@seespotcode.net> writes:
> I'd like to get confirmation that I'm correctly understanding the  
> times given in EXPLAIN ANALYZE.
> ...
> Is this correct?

Looks about right to me.  Note that some of what you are calling
"executor overhead" might also be classed as "gettimeofday overhead".
The measured difference between two successive gettimeofday readings
presumably includes the actual userland runtime plus the equivalent
of one gettimeofday call; but we actually did two calls.  IOW the
actual time to get in and out of a node is going to be a shade more
than is reported.

			regards, tom lane



view thread (4+ messages)  latest in thread

Message-ID: <239.1196643379@sss.pgh.pa.us>
Permalink:  ../239.1196643379@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/239.1196643379@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: tgl@sss.pgh.pa.us, grzm@seespotcode.net
  Subject: Re: EXPLAIN ANALYZE time calculations
  In-Reply-To: <239.1196643379@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox