You can view details of a query by navigating to the query details pane.
There are two ways to access the query details pane:
The Query details pane begins with a Query ID section that shows this query’s final status. You can explore additional information divided into two tabs, General and Advanced.
There are three tabs in the query details pane that give you detailed information about the processing and execution of a specific query.
The General tab displays information for successful and failed queries.
A successful query shows the query text, basic information, and query execution details.
A failed query shows the query text and query execution details. It also shows additional details in basic information and a failure log sections.
The query text shows you the full SQL statement of the query. The query text pane has the following shortcuts:
fullscreen Opens a full screen to view the query text
Alternatively, click anywhere in the text box to open a full screen view of the query text with Pretty print, Copy to clipboard, and Close buttons.
The detailed information for successful or canceled queries includes:
Canceled queries display the following status Failed - canceled by user.
When queries fail for other reasons, the basic information expands to include the following details:
User Canceled
and User Error
:
User Canceled
: The query was stopped by the user.User Error
: The SQL query statement submitted by the user contained a
syntactic or semantic error.syntax error
.
Syntax error
: A user error indicating that the query submitted by the
user contains a syntactic or semantic error.Query details for a failed query:
If this details page is for a query on an object storage data source in an accelerated cluster, the General tab displays index and cache usage metrics about query performance and resource utilization.
Index and cache usage includes the following metrics:
WHERE
clause.Projection: Indicates acceleration based on the data
cache.
Percentage score for items in SELECT
clauses.
These metrics show the percentage of query splits that are handled by Starburst Warp Speed of the total number of query splits.
The Query execution diagram displays performance and timing data about the different stages during query processing.
The query execution diagram includes the following statuses:
The Query execution diagram shows the query plan steps:
The Stages tab shows details about query processing stages. A stage is the runtime embodiment of a plan fragment in a distributed query plan, and is identified by a stage number.
The following information is included on this tab:
Query stage information is rendered in two different views, List and Graph. Use the toggle in the upper right corner to switch between the two visualizations.
The List view focuses on statistics about stages and their tasks. This view is useful for examining stage performance, and understanding whether all nodes in the cluster perform well.
Several stage level statistics are shown:
Tasks: The total number of tasks.
The Graph view provides a visualization of the distributed query plan and shows how plan fragments are mapped to stages. The visual representation is a tree, in which nodes represent stages and edges indicate how data is transferred between stages. A stage processes data produced by its children.
Each of the nodes shows stage level statistics, as well as a graphical representation of the corresponding plan fragment. A plan fragment is rendered as a tree of operators. Finally, statistics about the number of rows and total size of the data read from each child stage are also shown.
The Advanced tab shows information about the accessed tables, query plan, and execution details.
Note: If your query was cancelled or failed, the advanced tab generally has nothing to display and is empty. Some cancelled queries may show the information that was in progress before the cancellation.
The tables pane displays statistics about the tables accessed by the SQL query.
Click one of the header options to arrow_upward «i class=”material-symbols-rounded” style=”color:black”>arrow_downward</i>”></i> sort the table.
The distributed execution plan includes a full EXPLAIN
plan of the submitted query,
including costs for each stage. It is identical to the output from EXPLAIN
ANALYZE <query>
.
Click the Query plan field to see more information, or use the following shortcuts:
Alternatively, click the text box to open a full screen view of the explain plan.
Execution details provide statistical data about the query processing.
The execution details include the following metrics:
CPU time
divided by the Elapsed time
.CPU time
divided by the time spent waiting as scheduled
.Hold the pointer over the help help icon for a definition of each detail field.
The Cluster resources tab displays the cluster statistics of a query. Statistics are represented in the following charts:
Charts highlight each stage of the query during the execution process:
Is the information on this page helpful?
Yes
No