Re: New EXPLAIN option: ALL - Mailing list pgsql-hackers

From David Fetter
Subject Re: New EXPLAIN option: ALL
Date
Msg-id 20190618211524.GA29683@fetter.org
Whole thread Raw
In response to Re: New EXPLAIN option: ALL  (Peter Eisentraut <peter.eisentraut@2ndquadrant.com>)
Responses Re: New EXPLAIN option: ALL
List pgsql-hackers
On Tue, Jun 18, 2019 at 11:08:31PM +0200, Peter Eisentraut wrote:
> On 2019-05-15 19:58, Andres Freund wrote:
> > On 2019-05-15 13:53:26 -0400, Tom Lane wrote:
> >> FWIW, given the conflict against "EXPLAIN EXECUTE prepared_stmt_name",
> >> we should probably just drop the whole idea.  It seemed like a great
> >> idea at the time, but it's going to confuse people not just Bison.
> > I'm not particularly invested in the idea of renaming ANALYZE - but I
> > think we might be able to come up with something less ambiguous than
> > EXECUTE. Even EXECUTION might be better.
> 
> The GQL draft uses PROFILE as a separate top-level command, so it would be
> 
>     PROFILE SELECT ...
> 
> That seems nice and clear.

Are you proposing something along the lines of this?

PROFILE [statement]; /* Shows the plan */
PROFILE RUN [statement]; /* Actually executes the query */

Best,
David.
-- 
David Fetter <david(at)fetter(dot)org> http://fetter.org/
Phone: +1 415 235 3778

Remember to vote!
Consider donating to Postgres: http://www.postgresql.org/about/donate



pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: POC: Cleaning up orphaned files using undo logs
Next
From: Tomas Vondra
Date:
Subject: Multivariate MCV list vs. statistics target