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:seconds').
Returns: The queries running on the cluster.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
min_duration | No | 1:0 | |
node_id | No | ||
user | No | root |
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"
}