Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expose top level statistics in EXPLAIN ANALYZE #16329

Merged
merged 1 commit into from
Mar 3, 2023

Conversation

Dith3r
Copy link
Member

@Dith3r Dith3r commented Mar 1, 2023

Description

Add additional summary statistics on top level of EXPLAIN ANALYZE output

Example:

explain analyze select max(extendedprice) from lineitem;
                                    Query Plan
--------------------------------------------------------------------------------------
 Trino version: version
 Queued: 3.00ms, Analysis: 485.81ms, Planning: 268.07ms, Execution: 7.37s
 Fragment 1 [SINGLE]
 (...)

Release notes

( ) This is not user-visible or docs only and no release notes are required.
( ) Release notes are required, please propose a release note for me.
(x) Release notes are required, with the following suggested text:

# General
* Show query queued, analysis, planning and execution time in EXPLAIN ANALYZE output. ({issue}`16329`)

@Dith3r Dith3r force-pushed the ke/ea-planning-time branch from cba91a2 to ccfe8d1 Compare March 2, 2023 08:32
@Dith3r Dith3r force-pushed the ke/ea-planning-time branch from ccfe8d1 to 7622a3d Compare March 2, 2023 11:58
Example output:

explain analyze select max(extendedprice) from lineitem;
                                    Query Plan
-------------------------------------------------------------------------
 Trino version: version
 Queued: 3.00ms, Analysis: 485.81ms, Planning: 268.07ms, Execution: 7.37s
 Fragment 1 [SINGLE]
 (...)
@raunaqmorarka raunaqmorarka merged commit 0bd14cf into trinodb:master Mar 3, 2023
@github-actions github-actions bot added this to the 409 milestone Mar 3, 2023
@Dith3r Dith3r deleted the ke/ea-planning-time branch March 27, 2023 11:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging this pull request may close these issues.

2 participants