Trino Queries
The Trino Queries page displays a detailed, real-time list of all queries executed on the Trino engine. It helps you monitor query activity, track performance, identify slow or failed queries, and audit user behavior. You can filter and group queries using the search and grouping options.
Metrics
The Trino Queries page displays the following metrics for each query to help evaluate performance and behavior.
Metric | Description |
---|---|
Query ID | Unique identifier assigned to each Trino query. |
Query Type | Specifies the type of query (e.g., SELECT, INSERT, CREATE, etc.). |
Query State | Indicates the current execution status of the query (e.g., RUNNING, FAILED, FINISHED). |
Transaction ID | Shows the associated transaction ID, if the query is part of a transaction. |
Start Time | Timestamp when the query started execution. |
Created Time | Timestamp when the query was created. |
End Time | Timestamp when the query execution finished (or failed). |
Features
The Trino Queries page includes the following capabilities to help you explore and analyze query activity:
Column Customization: Use the Settings icon to show/hide query columns as needed.
Search: Quickly locate queries by ID, user, status, etc. using the search bar.
Group By Options: Group queries by:
- Query Type – to analyze usage patterns
- User – to track individual workloads
- Query State – to monitor success/failure trends
Download Results: Export query details for offline analysis or reporting.