select open change scope Open full search

PG.CENTER connects PostgreSQL documentation, reference, and ecosystem knowledge. Maintained by Pigsty.

Extensions / Monitoring

auto_explain

Provides a means for logging execution plans of slow statements automatically

pgext.cloud · Website · Documentation · License text

Overview

Packageauto_explain
Version-
PostgreSQL versions14 · 15 · 16 · 17 · 18
RepositoryPostgreSQL contrib
Extension typeNo DDL
Requires CREATE EXTENSIONNo
Requires preloadYes
TrustedNo
Shared librariesauto_explain
Latest commit2026-05-14
Latest release2026-05-14
Catalogue updated2026-07-29

Related extensions

Required by

pg_logqueryidLogs pg_stat_statements query IDs alongside auto_explain output.

See also

pg_stat_plansTrack per-plan call counts, execution times, and example EXPLAIN texts.
pg_show_plansshow query plans of all currently running SQL statements
explain_uieasily jump into a visual plan UI for any SQL query
pg_stat_statementstrack planning and execution statistics of all SQL statements executed
pg_store_planstrack plan statistics of all SQL statements executed
pg_overexplainAllow EXPLAIN to dump even more details
pg_qualstatsAn extension collecting statistics about quals
online_advisorSuggest missing indexes and extended statistics online
pg_stat_monitorThe pg_stat_monitor is a PostgreSQL Query Performance Monitoring tool, based on PostgreSQL contrib module pg_stat_statements. pg_stat_monitor provides aggregated statistics, client information, plan details including plan, and histogram information.
pg_profilePostgreSQL load profile repository and report builder