Re: [COMMITTERS] pgsql: Include planning time in EXPLAIN ANALYZE output.

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Stephen Frost <sfrost(at)snowman(dot)net>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Peter Geoghegan <pg(at)heroku(dot)com>, Robert Haas <robertmhaas(at)gmail(dot)com>, "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>, Robert Haas <rhaas(at)postgresql(dot)org>
Subject: Re: [COMMITTERS] pgsql: Include planning time in EXPLAIN ANALYZE output.
Date: 2014-04-16 23:24:40
Message-ID: 20140416232440.GQ7443@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-hackers

On Mon, Feb 3, 2014 at 07:13:46PM -0500, Stephen Frost wrote:
> * Tom Lane (tgl(at)sss(dot)pgh(dot)pa(dot)us) wrote:
> > The problem I'm having with the way it stands now is that one would
> > reasonably expect that "Total time" is the total of all times counted
> > by EXPLAIN, including main plan execution time, trigger firing time,
> > and now planning time. Since it is not, any longer, a total, I think
> > renaming it would be a good idea. I'm not wedded to "execution time"
> > in particular, but I don't like "total".
>
> Agreed.

Where are we on this? I still see:

test=> EXPLAIN ANALYZE SELECT 1;
QUERY PLAN
------------------------------------------------------------------------------------
Result (cost=0.00..0.01 rows=1 width=0) (actual time=0.001..0.001 rows=1 loops=1)
Planning time: 0.009 ms
--> Total runtime: 0.009 ms
(3 rows)

--
Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://enterprisedb.com

+ Everyone has their own god. +

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2014-04-16 23:35:58 Re: [COMMITTERS] pgsql: Include planning time in EXPLAIN ANALYZE output.
Previous Message Bruce Momjian 2014-04-16 23:15:23 pgsql: doc: move min_recovery_apply_delay into the right section

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2014-04-16 23:29:00 Re: Clock sweep not caching enough B-Tree leaf pages?
Previous Message Peter Geoghegan 2014-04-16 23:22:59 Re: Clock sweep not caching enough B-Tree leaf pages?