show_running_queries
Monitor and filter currently executing queries in CockroachDB clusters by node ID, user, or duration to optimize performance and troubleshoot issues.
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
Name | Required | Description | Default |
---|---|---|---|
min_duration | No | 1:0 | |
node_id | No | ||
user | No | root |