postgresql_16:7.1.146 EXPLAIN
PostgreSQL 16 > Reference > SQL Commands > EXPLAIN
show the execution plan of a statement
EXPLAIN [ ( option [, ...] ) ] statement
EXPLAIN [ ANALYZE ] [ VERBOSE ] statement
where option can be one of:
ANALYZE [ boolean ]
VERBOSE [ boolean ]
COSTS [ boolean ]
SETTINGS [ boolean ]
GENERIC_PLAN [ boolean ]
BUFFERS [ boolean ]
WAL [ boolean ]
TIMING [ boolean ]
SUMMARY [ boolean ]
FORMAT { TEXT | XML | JSON | YAML }
EXPLAIN [ ( option [, ...] ) ] statement
EXPLAIN [ ANALYZE ] [ VERBOSE ] statement
where option can be one of:
ANALYZE [ boolean ]
VERBOSE [ boolean ]
COSTS [ boolean ]
SETTINGS [ boolean ]
GENERIC_PLAN [ boolean ]
BUFFERS [ boolean ]
WAL [ boolean ]
TIMING [ boolean ]
SUMMARY [ boolean ]
FORMAT { TEXT | XML | JSON | YAML }
Subsections
- postgresql_16:7.1.146.1 Description
- postgresql_16:7.1.146.2 Parameters
- postgresql_16:7.1.146.3 Outputs
- postgresql_16:7.1.146.4 Notes
- postgresql_16:7.1.146.5 Examples
- postgresql_16:7.1.146.6 Compatibility
- postgresql_16:7.1.146.7 See Also