Technologies/Trino/trino.execution.blocked_queries
TrinoTrinoMetric

trino.execution.blocked_queries

Queries currently blocked
Dimensions:None
Available on:PrometheusPrometheus (1)
Interface Metrics (1)
PrometheusPrometheus
Number of queries currently blocked
Dimensions:None

Technical Annotations (14)

Configuration Parameters (3)
retry-policyrecommended: QUERY
Enables fault-tolerant query retry but triggers the FINISHING delay issue
query.remote-task.max-error-durationrecommended: 1s
Controls how quickly queries transition to BLOCKED after task failure
query.client.timeoutrecommended: 5m (default)
Does NOT affect the FINISHING state delay despite 5-minute correlation
CLI Commands (1)
EXPLAIN ANALYZE <query>diagnostic
Technical References (10)
RemoteSourcecomponentLocalExchangecomponentFragmentconceptphased execution policyconceptJFRcomponentJprofilercomponentFINISHINGcomponentBLOCKEDcomponentfault-tolerant executionconcepttrino-python-clientcomponent
Related Insights (4)
High fragment blocked time indicates data transfer bottleneckwarning
Query execution hangs on failures with phased execution policycritical
Query hangs with blocked threads when scanning large tablescritical
Query hangs in FINISHING state for 5 minutes after fault-tolerant retrywarning