Re: [HACKERS] Reporting planning time with EXPLAIN - Mailing list pgsql-hackers

From Tom Lane
Subject Re: [HACKERS] Reporting planning time with EXPLAIN
Date
Msg-id 24212.1483667499@sss.pgh.pa.us
Whole thread Raw
In response to [HACKERS] Reporting planning time with EXPLAIN  (Ashutosh Bapat <ashutosh.bapat@enterprisedb.com>)
List pgsql-hackers
Andres Freund <andres@anarazel.de> writes:
> On 2016-12-28 10:29:48 -0500, Tom Lane wrote:
>> How about just saying that the existing TIMING option turns this on,

> I don't like this much - I'd like (as previously stated in [1]) to be
> able to have an actual EXPLAIN ANALYZE (COSTS off, TIMING OFF) in tests
> because that shows the number of loops, rechecks, etc.

Hmm ...

regression=# EXPLAIN (analyze, COSTS off, TIMING OFF) select * from tenk1;                 QUERY PLAN

-----------------------------------------------Seq Scan on tenk1 (actual rows=10000 loops=1)Planning time: 1.075
msExecutiontime: 2.723 ms
 
(3 rows)

I see your point.  OK, that's a use case not within the scope of the
original proposal, but it's a reasonable argument for having a SUMMARY OFF
option.
        regards, tom lane



pgsql-hackers by date:

Previous
From: Jim Nasby
Date:
Subject: Re: [HACKERS] DROP FUNCTION of multiple functions
Next
From: Tom Lane
Date:
Subject: Re: [HACKERS] T_Float morph to T_Integer after nodeRead