slow_queries
Identify high-impact PostgreSQL queries from pg_stat_statements by total time, mean time, call count, or disk reads to target performance tuning.
Instructions
Top queries from pg_stat_statements: total time, mean time, call count or disk reads.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "slow_queries"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| order_by | No | total |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |