get_top_queries
Identify slow or resource-heavy PostgreSQL queries from pg_stat_statements. Sort by resource usage, mean time, or total time to pinpoint performance bottlenecks.
Instructions
Slow or resource-heavy queries from pg_stat_statements
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| db | No | Database id from list_databases | |
| limit | No | ||
| sort_by | No | resources |