Using CHouse UIMonitoring

Live queries

Running queries with CPU time and thread count, memory-pressure context and kill support.

In the app
Monitoring › Live queries/monitoring/live-queries
Monitoring › Live queries in CHouse UI
Monitoring › Live queries

Live queries (/monitoring/live-queries, permission live_queries:view) shows what is running on the cluster right now — with the tools to intervene.

What you see per running query

FieldNotes
DurationWall-clock so far, sortable
MemoryBytes used so far, sortable
RowsRows produced so far
CPU time + thread countWhere the query actually spends cycles
Query textFull statement

Server-memory pressure strip

A strip puts per-query totals in context: resident memory and total memory as a percentage of server RAM. A query that looks big in isolation may be nothing on a 256 GB node — and vice versa. This is the same memory-pressure signal used in query logs.

Sorting & triage

Default triage flow:

  1. Sort by duration (find the long-runner) or memory (find the hog)
  2. Check the pressure strip for how much the cluster cares
  3. Inspect the statement — often the fix is obvious

Killing queries

ActionPermissionEffect
Kill one querylive_queries:killSends KILL QUERY for that query_id
Kill alllive_queries:kill_allSweep the running set (confirmation dialog)

Every kill lands in the audit log.

Who is running what

The list reflects all ClickHouse activity, not just CHouse UI queries — cron jobs, BI tools, anything connected to the server. To attribute load back to dashboards, use the By Redash sub-view; for pattern-level cost, use Patterns.

Tip: For a standing rule ("kill anything over 10 min"), configure a long-running-query alert and let the fleet watch it — humans kill only what alerts escalate.

Edit this page on GitHub ↗