pg_store_plans
pg_store_plans
pg_store_plans : track plan statistics of all SQL statements executed
Overview
| ID | Extension | Package | Version | Category | License | Language |
|---|---|---|---|---|---|---|
| 6250 | pg_store_plans | pg_store_plans | 1.9 | 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 auto_explain pg_stat_statements pg_hint_plan pre_prepare pg_stat_monitor explain_ui plprofiler |
pg18 breaks, fixed by Vonng
Packages
| Type | Repo | Version | PG Major Compatibility | Package Pattern | Dependencies |
|---|---|---|---|---|---|
| EXT | MIXED | 1.9 | 18 17 16 15 14 13 | pg_store_plans | - |
| RPM | PIGSTY | 1.9 | 18 17 16 15 14 13 | pg_store_plans_$v* | - |
| DEB | PIGSTY | 1.9 | 18 17 16 15 14 13 | postgresql-$v-pg-store-plan | - |
| Linux / PG | PG18 | PG17 | PG16 | PG15 | PG14 | PG13 |
|---|---|---|---|---|---|---|
el8.x86_64 | PIGSTY 1.9 | PIGSTY 1.8 | PIGSTY 1.8 | PIGSTY 1.8 | PIGSTY 1.8 | PIGSTY 1.8 |
el8.aarch64 | PIGSTY 1.9 | PIGSTY 1.8 | PIGSTY 1.8 | PIGSTY 1.8 | PIGSTY 1.8 | PIGSTY 1.8 |
el9.x86_64 | PIGSTY 1.9 | PIGSTY 1.8 | PIGSTY 1.8 | PIGSTY 1.8 | PIGSTY 1.8 | PIGSTY 1.8 |
el9.aarch64 | PIGSTY 1.9 | PIGSTY 1.8 | PIGSTY 1.8 | PIGSTY 1.8 | PIGSTY 1.8 | PIGSTY 1.8 |
el10.x86_64 | PIGSTY 1.9 | PIGSTY 1.9 | PGDG 1.8 | PGDG 1.8 | MISS | MISS |
el10.aarch64 | PIGSTY 1.9 | PIGSTY 1.9 | PGDG 1.8 | PGDG 1.8 | MISS | MISS |
d12.x86_64 | PIGSTY 1.9 | PIGSTY 1.9 | PIGSTY 1.9 | PIGSTY 1.9 | PIGSTY 1.9 | PIGSTY 1.9 |
d12.aarch64 | PIGSTY 1.9 | PIGSTY 1.9 | PIGSTY 1.9 | PIGSTY 1.9 | PIGSTY 1.9 | PIGSTY 1.9 |
d13.x86_64 | PIGSTY 1.9 | PIGSTY 1.9 | PIGSTY 1.9 | PIGSTY 1.9 | PIGSTY 1.9 | PIGSTY 1.9 |
d13.aarch64 | PIGSTY 1.9 | PIGSTY 1.9 | PIGSTY 1.9 | PIGSTY 1.9 | PIGSTY 1.9 | PIGSTY 1.9 |
u22.x86_64 | PIGSTY 1.9 | PIGSTY 1.9 | PIGSTY 1.9 | PIGSTY 1.9 | PIGSTY 1.9 | PIGSTY 1.9 |
u22.aarch64 | PIGSTY 1.9 | PIGSTY 1.9 | PIGSTY 1.9 | PIGSTY 1.9 | PIGSTY 1.9 | PIGSTY 1.9 |
u24.x86_64 | PIGSTY 1.9 | PIGSTY 1.9 | PIGSTY 1.9 | PIGSTY 1.9 | PIGSTY 1.9 | PIGSTY 1.9 |
u24.aarch64 | PIGSTY 1.9 | PIGSTY 1.9 | PIGSTY 1.9 | PIGSTY 1.9 | PIGSTY 1.9 | PIGSTY 1.9 |
Source
pig build pkg pg_store_plans; # build rpm / deb with pigInstall
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_store_plans; # install via package name, for the active PG version
pig install pg_store_plans -v 18; # install for PG 18
pig install pg_store_plans -v 17; # install for PG 17
pig install pg_store_plans -v 16; # install for PG 16
pig install pg_store_plans -v 15; # install for PG 15
pig install pg_store_plans -v 14; # install for PG 14
pig install pg_store_plans -v 13; # install for PG 13Config this extension to shared_preload_libraries:
shared_preload_libraries = 'pg_store_plans';Create this extension with:
CREATE EXTENSION pg_store_plans;Last updated on