select open change scope Open full search

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

Extensions / Monitoring

pg_query_stats

Lightweight shared-memory collector for per-query execution statistics.

pgext.cloud · Source code · Documentation · Control file

Overview

Packagepg_query_stats
Version1.0.0
RepositoryUnspecified
Extension typeStandard
Project statusActive
Requires CREATE EXTENSIONYes
Requires preloadNo
TrustedNo
RelocatableYes
Stars0
Latest commit2025-08-01
Catalogue updated2026-08-30

Related extensions

See also

pg_stat_statementstrack planning and execution statistics of all SQL statements executed
pg_sessionsTracks per-session SQL execution metrics and optional Linux process resource statistics in shared memory.
pg_stat_sql_plansTrack execution statistics by normalized SQL query and plan ID.
aqoAdaptive query optimization extension using execution statistics to improve cardinality estimation.
pg_stat_cluster_activitytrack execution statistics in whole cluster scope
pg_stat_statements2Track SQL execution statistics using a PostgreSQL 9.4 pg_stat_statements derivative integrated with sql_firewall
pgtelemetryProvides monitoring views and functions for PostgreSQL activity, storage, locks, replication, WAL, vacuum, and query statistics.
pg_grab_statementRecord detailed SQL statements from successfully committed transactions.
pg_dbwaAnalyzes local or remote PostgreSQL workloads using historical pg_stat_statements snapshots.
pg_stat_plansTrack per-plan call counts, execution times, and example EXPLAIN texts.