pg_stat_monitor
pg_stat_monitor
pg_stat_monitor : The 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.
Overview
| ID | Extension | Package | Version | Category | License | Language |
|---|---|---|---|---|---|---|
| 6230 | pg_stat_monitor | pg_stat_monitor | 2.2.0 | STAT | BSD 3-Clause | C |
| Attribute | Has Binary | Has Library | Need Load | Has DDL | Relocatable | Trusted |
|---|---|---|---|---|---|---|
--sLd-r | No | Yes | Yes | Yes | yes | no |
| Relationships | |
|---|---|
| See Also | pg_show_plans pg_stat_kcache pg_stat_statements pg_qualstats pg_store_plans pgsentinel auto_explain logerrors |
Packages
| Type | Repo | Version | PG Major Compatibility | Package Pattern | Dependencies |
|---|---|---|---|---|---|
| EXT | MIXED | 2.2.0 | 18 17 16 15 14 13 | pg_stat_monitor | - |
| RPM | PGDG | 2.2.0 | 18 17 16 15 14 13 | pg_stat_monitor_$v* | - |
| DEB | PIGSTY | 2.3.0 | 18 17 16 15 14 13 | postgresql-$v-pg-stat-monitor | - |
| Linux / PG | PG18 | PG17 | PG16 | PG15 | PG14 | PG13 |
|---|---|---|---|---|---|---|
el8.x86_64 | MISS | PGDG 2.2.0 | PGDG 2.2.0 | PGDG 2.2.0 | PGDG 2.2.0 | PGDG 2.2.0 |
el8.aarch64 | MISS | PGDG 2.2.0 | PGDG 2.2.0 | PGDG 2.2.0 | PGDG 2.2.0 | PGDG 2.2.0 |
el9.x86_64 | MISS | PGDG 2.2.0 | PGDG 2.2.0 | PGDG 2.2.0 | PGDG 2.2.0 | PGDG 2.2.0 |
el9.aarch64 | MISS | PGDG 2.2.0 | PGDG 2.2.0 | PGDG 2.2.0 | PGDG 2.2.0 | PGDG 2.2.0 |
el10.x86_64 | MISS | PGDG 2.2.0 | PGDG 2.2.0 | PGDG 2.2.0 | PGDG 2.2.0 | PGDG 2.2.0 |
el10.aarch64 | MISS | PGDG 2.2.0 | PGDG 2.2.0 | PGDG 2.2.0 | PGDG 2.2.0 | PGDG 2.2.0 |
d12.x86_64 | PIGSTY 2.3.0 | PIGSTY 2.3.0 | PIGSTY 2.3.0 | PIGSTY 2.3.0 | PIGSTY 2.3.0 | PIGSTY 2.3.0 |
d12.aarch64 | PIGSTY 2.3.0 | PIGSTY 2.3.0 | PIGSTY 2.3.0 | PIGSTY 2.3.0 | PIGSTY 2.3.0 | PIGSTY 2.3.0 |
d13.x86_64 | PIGSTY 2.3.0 | PIGSTY 2.3.0 | PIGSTY 2.3.0 | PIGSTY 2.3.0 | PIGSTY 2.3.0 | PIGSTY 2.3.0 |
d13.aarch64 | PIGSTY 2.3.0 | PIGSTY 2.3.0 | PIGSTY 2.3.0 | PIGSTY 2.3.0 | PIGSTY 2.3.0 | PIGSTY 2.3.0 |
u22.x86_64 | PIGSTY 2.3.0 | PIGSTY 2.3.0 | PIGSTY 2.3.0 | PIGSTY 2.3.0 | PIGSTY 2.3.0 | PIGSTY 2.3.0 |
u22.aarch64 | PIGSTY 2.3.0 | PIGSTY 2.3.0 | PIGSTY 2.3.0 | PIGSTY 2.3.0 | PIGSTY 2.3.0 | PIGSTY 2.3.0 |
u24.x86_64 | PIGSTY 2.3.0 | PIGSTY 2.3.0 | PIGSTY 2.3.0 | PIGSTY 2.3.0 | PIGSTY 2.3.0 | PIGSTY 2.3.0 |
u24.aarch64 | PIGSTY 2.3.0 | PIGSTY 2.3.0 | PIGSTY 2.3.0 | PIGSTY 2.3.0 | PIGSTY 2.3.0 | PIGSTY 2.3.0 |
| Package | Version | OS | ORG | SIZE | File URL |
|---|---|---|---|---|---|
postgresql-18-pg-stat-monitor | 2.3.0 | d12.x86_64 | pigsty | 74.0 KiB | postgresql-18-pg-stat-monitor_2.3.0-1PIGSTY~bookworm_amd64.deb |
postgresql-18-pg-stat-monitor | 2.3.0 | d12.aarch64 | pigsty | 72.4 KiB | postgresql-18-pg-stat-monitor_2.3.0-1PIGSTY~bookworm_arm64.deb |
postgresql-18-pg-stat-monitor | 2.3.0 | d13.x86_64 | pigsty | 73.9 KiB | postgresql-18-pg-stat-monitor_2.3.0-1PIGSTY~trixie_amd64.deb |
postgresql-18-pg-stat-monitor | 2.3.0 | d13.aarch64 | pigsty | 72.6 KiB | postgresql-18-pg-stat-monitor_2.3.0-1PIGSTY~trixie_arm64.deb |
postgresql-18-pg-stat-monitor | 2.3.0 | u22.x86_64 | pigsty | 80.0 KiB | postgresql-18-pg-stat-monitor_2.3.0-1PIGSTY~jammy_amd64.deb |
postgresql-18-pg-stat-monitor | 2.3.0 | u22.aarch64 | pigsty | 78.9 KiB | postgresql-18-pg-stat-monitor_2.3.0-1PIGSTY~jammy_arm64.deb |
postgresql-18-pg-stat-monitor | 2.3.0 | u24.x86_64 | pigsty | 77.2 KiB | postgresql-18-pg-stat-monitor_2.3.0-1PIGSTY~noble_amd64.deb |
postgresql-18-pg-stat-monitor | 2.3.0 | u24.aarch64 | pigsty | 76.1 KiB | postgresql-18-pg-stat-monitor_2.3.0-1PIGSTY~noble_arm64.deb |
Source
pig build pkg pg_stat_monitor; # build spec not readyInstall
Make sure PGDG and PIGSTY repo available:
pig repo add pgdg pigsty -u # add both repo and update cacheInstall this extension with pig:
pig install pg_stat_monitor; # install via package name, for the active PG version
pig install pg_stat_monitor -v 18; # install for PG 18
pig install pg_stat_monitor -v 17; # install for PG 17
pig install pg_stat_monitor -v 16; # install for PG 16
pig install pg_stat_monitor -v 15; # install for PG 15
pig install pg_stat_monitor -v 14; # install for PG 14
pig install pg_stat_monitor -v 13; # install for PG 13Config this extension to shared_preload_libraries:
shared_preload_libraries = 'pg_stat_monitor';Create this extension with:
CREATE EXTENSION pg_stat_monitor;Last updated on