Skip to main content
Glama

CockroachDB MCP Server

show_running_queries

Monitor actively running queries on a CockroachDB cluster with filters for node ID, user, and minimum duration to analyze database performance and activity in real time.

Instructions

Show currently running queries on the cluster.

Args: node_id (int): Node ID to filter (default: 1). user (str): Username to filter (default: 'root'). min_duration (str): Minimum query duration (default: '1:0', format: 'minutes').

Returns: The queries running on the cluster.

Input Schema

NameRequiredDescriptionDefault
min_durationNo1:0
node_idNo
userNoroot

Input Schema (JSON Schema)

{ "properties": { "min_duration": { "default": "1:0", "title": "Min Duration", "type": "string" }, "node_id": { "default": 1, "title": "Node Id", "type": "integer" }, "user": { "default": "root", "title": "User", "type": "string" } }, "title": "show_running_queriesArguments", "type": "object" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/amineelkouhen/mcp-cockroach'

If you have feedback or need assistance with the MCP directory API, please join our Discord server