get_longest_running_queries
Identify performance bottlenecks by retrieving the N longest running queries from the completed_requests catalog, helping you pinpoint and address slow operations.
Instructions
Get the N longest running queries from the system:completed_requests catalog.
Prefer this over writing a raw system:completed_requests query via run_sql_plus_plus_query.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Number of queries to return (default: 10) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |