select open change scope Open full search

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

Extensions / Monitoring

pg_show_plans

show query plans of all currently running SQL statements

pgext.cloud · Source code · Website · License text · Control file

Overview

Packagepg_show_plans
Version2.1.8
PostgreSQL versions14 · 15 · 16 · 17 · 18
RepositoryPGDG
Extension typePreloaded
Requires CREATE EXTENSIONYes
Requires preloadYes
TrustedNo
RelocatableYes
Shared librariespg_show_plans
Stars208
Latest commit2026-06-03
Latest release2026-06-03
Catalogue updated2026-08-30

Related extensions

See also

pg_stat_plansTrack per-plan call counts, execution times, and example EXPLAIN texts.
auto_explainProvides a means for logging execution plans of slow statements automatically
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
pgrowlocksshow row-level locking information
pg_wait_samplingsampling based statistics of wait events