Health and performance · stop 5 of 13

list_running_queries

Lists the queries running right now.

Works in read modeTool sets: dba · full

You might ask

“What's running on the database?”

Your assistant may call list_running_queries to answer.

How it works

  • Non-idle sessions with pid, user, state, wait event and how long each has been running.

Parameters

None. Call it as it is.

What your assistant reads

The description nexql-mcp sends with the tool. It's how the assistant decides when to use it.

List currently executing (non-idle) queries in the connected database with pid, user, state, wait events, and duration.