explain_analyze
Get a PostgreSQL query execution plan with actual costs to identify performance bottlenecks, using parameterized SQL for safe analysis.
Instructions
Get query execution plan with costs using EXPLAIN ANALYZE.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sql | Yes | Parameterized SQL query to analyze (use $1, $2, etc. for parameters) | |
| params | No | Optional list of query parameters |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||