trino.execution.running_queries
Queries currently executingDimensions:None
Interface Metrics (3)
Native
Number of currently running queries in the clusterDimensions:None
Sources
Technical Annotations (42)
Configuration Parameters (10)
task.concurrencyrecommended: 4task.max-drivers-per-taskrecommended: 8task.http-timeout-threadsrecommended: 15-20task.http-response-threadsrecommended: 300query.remote-task.max-error-durationrecommended: 1mretry-policyrecommended: QUERYquery-retry-attemptsrecommended: 2exchange.compression-enabledrecommended: truequery.low-memory-killer.delayrecommended: 0squery.max-concurrent-queriesrecommended: lower limit under high concurrencyError Signatures (7)
No nodes available to run queryexceptionio.trino.spi.TrinoException: No nodes available to run queryexceptionINTERNAL ERROR - NO_NODES_AVAILABLEerror codePreviously active node is missinglog patternError getting info for tasklog patternServer refused connectionlog patternFailed communicating with serverlog patternCLI Commands (4)
kubectl get pods -wmonitoringkubectl scale deployment my-trino-cluster-worker --replicas=Nremediationkubectl exec -it <pod-name> -- cat /etc/trino/config.propertiesdiagnosticSELECT max(running_queries) AS max_concurrency FROM (SELECT count(*) AS running_queries, create_time FROM trino_events.trino_queries WHERE create_time >= now() - interval '1' day AND state = 'RUNNING' GROUP BY create_time) t;diagnosticTechnical References (21)
coordinatorcomponentworker parallelismconceptquery splitsconceptWAITINGconceptTIMED_WAITINGconceptMetabase v0.51.12componentStarburst Metabase driver v5.0componentTrino v457componenttrino_events.trino_queriescomponentresource groupconceptBinPackingNodeAllocatorServicecomponentEventDrivenFaultTolerantQuerySchedulercomponentexchange managercomponentresource groupsconceptadmission controlconceptTaskInfoFetchercomponentRequestErrorTrackercomponentJFRcomponentJprofilercomponentfault-tolerant executionconceptbatch operationsconceptRelated Insights (11)
Coordinator capacity insufficient for concurrent query loadwarning
▸
Worker parallelism drops to zero with threads stuck in WAITING statecritical
▸
Cluster intermittently enters idle state after initial query executioncritical
▸
High query concurrency causes resource contentionwarning
▸
Fault-tolerant query fails with NO_NODES_AVAILABLE on worker pod terminationcritical
▸
High query concurrency exhausts worker thread pool resourceswarning
▸
Coordinator CPU exhausted polling dead tasks from terminated queriescritical
▸
Query hangs with blocked threads when scanning large tablescritical
▸
Task concurrency misconfiguration causes performance degradationwarning
▸
High volume of short queries on fault-tolerant cluster causes latencywarning
▸
High query concurrency indicates capacity constraintswarning
▸