explain_query
Run PostgreSQL EXPLAIN or EXPLAIN ANALYZE to obtain a query execution plan, helping you identify and debug performance bottlenecks in SQL queries.
Instructions
Get query execution plan via PostgreSQL EXPLAIN (or EXPLAIN ANALYZE) to debug performance bottlenecks
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sql | Yes | SQL query to explain | |
| analyze | No | If true, runs EXPLAIN (ANALYZE, BUFFERS, VERBOSE) to measure actual execution time |