liveBook · Manning

Auto_explain

As explained in Just Use Postgres!

auto_explain is a PostgreSQL extension that automatically logs execution plans for queries meeting configured conditions.

auto_explain automatically logs execution plans for slow queries, helping diagnose performance problems without manually running EXPLAIN ANALYZE. section 7.3

How Just Use Postgres! covers it

How deep it goes
Defines the extension’s diagnostic role but does not detail configuration, thresholds, or logged-plan output.
What you can do after
Diagnose performance problems by automatically capturing plans for slow queries.
How it connects
Connects query-plan logging with EXPLAIN ANALYZE, pg_stat_statements, and hypopg for broader performance analysis.

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Just Use Postgres!. The section links point to the parts of the book it draws on.