这是本节的多页打印视图。 点击此处打印.

返回本页常规视图.

类目:STAT

监控统计扩展:AWR报告,可观测性指标,显示执行计划,查询统计信息,内存使用,配置变更,等待事件采样,慢查询日志,等等

STAT 类目共有 31 个可用扩展:

扩展名(详情) 标准名(官网) 仓库 版本 类目 许可证 LOAD DDL TRUST RELOC 简介
pg_profile pg_profile MIXED 4.8 STAT BSD 2 PostgreSQL 数据库负载记录与AWR报表工具
pg_tracing pg_tracing PIGSTY 0.1.2 STAT MIT PostgreSQL分布式Tracing
pg_show_plans pg_show_plans PGDG 2.1.2 STAT PostgreSQL 打印所有当前正在运行查询的执行计划
pg_stat_kcache pg_stat_kcache PGDG 2.3.0 STAT BSD 3 内核统计信息收集
pg_stat_monitor pg_stat_monitor MIXED 2.1.1 STAT BSD 3 提供查询聚合统计、客户端信息、执行计划详细信息和直方图
pg_qualstats pg_qualstats PGDG 2.1.1 STAT BSD 3 收集有关 quals 的统计信息的扩展
pg_store_plans pg_store_plans MIXED 1.8 STAT BSD 3 跟踪所有执行的 SQL 语句的计划统计信息
pg_track_settings pg_track_settings PGDG 2.1.2 STAT PostgreSQL 跟踪设置更改
pg_wait_sampling pg_wait_sampling PGDG 1.1.8 STAT PostgreSQL 基于采样的等待事件统计
system_stats system_stats MIXED 3.2 STAT PostgreSQL PostgreSQL 的系统统计函数
meta pg_meta PIGSTY 0.4.0 STAT BSD 2 标准化,更友好的PostgreSQL系统目录视图
pgnodemx pgnodemx PIGSTY 1.7 STAT Apache-2.0 使用SQL查询获取操作系统指标
pg_proctab pgnodemx PIGSTY 1.7 STAT BSD 3 通过SQL接口访问操作系统进程表
pg_sqlog pg_sqlog PIGSTY 1.6 STAT BSD 3 提供访问PostgreSQL日志的SQL接口
bgw_replstatus bgw_replstatus PGDG 1.0.7 STAT PostgreSQL 用于汇报本机主从状态的后台工作进程
pgmeminfo pgmeminfo MIXED 1.0.0 STAT MIT 显示内存使用情况
toastinfo toastinfo PIGSTY 1.5 STAT PostgreSQL 显示TOAST字段的详细信息
explain_ui pg_explain_ui PIGSTY 0.0.1 STAT PostgreSQL 快速跳转至PEV查阅可视化执行计划
pg_relusage pg_relusage PIGSTY 0.0.1 STAT PostgreSQL 打印查询引用的表与列
pagevis pagevis PIGSTY 0.1 STAT MIT 使用ASCII字符可视化数据库物理页面布局
powa powa PGDG 5.0.1 STAT PostgreSQL PostgreSQL 工作负载分析器-核心
pageinspect pageinspect CONTRIB 1.12 STAT PostgreSQL 检查数据库页面二进制内容
pgrowlocks pgrowlocks CONTRIB 1.2 STAT PostgreSQL 显示行级锁信息
sslinfo sslinfo CONTRIB 1.2 STAT PostgreSQL 关于 SSL 证书的信息
pg_buffercache pg_buffercache CONTRIB 1.5 STAT PostgreSQL 检查共享缓冲区缓存
pg_walinspect pg_walinspect CONTRIB 1.1 STAT PostgreSQL 用于检查 PostgreSQL WAL 日志内容的函数
pg_freespacemap pg_freespacemap CONTRIB 1.2 STAT PostgreSQL 检查自由空间映射的内容(FSM)
pg_visibility pg_visibility CONTRIB 1.2 STAT PostgreSQL 检查可见性图(VM)和页面级可见性信息
pgstattuple pgstattuple CONTRIB 1.5 STAT PostgreSQL 显示元组级统计信息
auto_explain auto_explain CONTRIB - STAT PostgreSQL 提供一种自动记录执行计划的手段
pg_stat_statements pg_stat_statements CONTRIB 1.11 STAT PostgreSQL 跟踪所有执行的 SQL 语句的计划和执行统计信息

1 - pg_profile

PostgreSQL 数据库负载记录与AWR报表工具

扩展总览

MIXED 第三方扩展: pg_profile : PostgreSQL 数据库负载记录与AWR报表工具

基本信息

元数据

  • 默认版本: 4.8
  • PG大版本: 17,16,15,14,13
  • 动态加载: 无需动态加载
  • 需要DDL: 需要执行 CREATE EXTENSION DDL
  • 可重定位: 可以重定位安装至其他模式下
  • 信任程度: 未受信任,创建扩展需要超级用户权限
  • 所需模式: 无
  • 所需扩展: dblink, plpgsql

软件包

  • RPM仓库:PGDG
  • RPM包名:pg_profile_$v*
  • RPM版本:4.8
  • RPM依赖:无
  • DEB仓库:PIGSTY
  • DEB包名:postgresql-$v-pg-profile
  • DEB版本:4.7
  • DEB依赖:无

最新版本

系统 架构 PG17 PG16 PG15 PG14 PG13
el8 x86_64 pg_profile_17
PGDG 4.8
pg_profile_16
PGDG 4.8
pg_profile_15
PGDG 4.8
pg_profile_14
PGDG 4.8
pg_profile_13
PGDG 4.8
el8 aarch64 pg_profile_17
PGDG 4.8
pg_profile_16
PGDG 4.8
pg_profile_15
PGDG 4.8
pg_profile_14
PGDG 4.8
pg_profile_13
PGDG 4.8
el9 x86_64 pg_profile_17
PGDG 4.8
pg_profile_16
PGDG 4.8
pg_profile_15
PGDG 4.8
pg_profile_14
PGDG 4.8
pg_profile_13
PGDG 4.8
el9 aarch64 pg_profile_17
PGDG 4.8
pg_profile_16
PGDG 4.8
pg_profile_15
PGDG 4.8
pg_profile_14
PGDG 4.8
pg_profile_13
PGDG 4.8
d12 x86_64 postgresql-17-pg-profile
PIGSTY 4.8
postgresql-16-pg-profile
PIGSTY 4.8
postgresql-15-pg-profile
PIGSTY 4.8
postgresql-14-pg-profile
PIGSTY 4.8
postgresql-13-pg-profile
PIGSTY 4.8
d12 aarch64 postgresql-17-pg-profile
PIGSTY 4.8
postgresql-16-pg-profile
PIGSTY 4.8
postgresql-15-pg-profile
PIGSTY 4.8
postgresql-14-pg-profile
PIGSTY 4.8
postgresql-13-pg-profile
PIGSTY 4.8
u22 x86_64 postgresql-17-pg-profile
PIGSTY 4.8
postgresql-16-pg-profile
PIGSTY 4.8
postgresql-15-pg-profile
PIGSTY 4.8
postgresql-14-pg-profile
PIGSTY 4.8
postgresql-13-pg-profile
PIGSTY 4.8
u22 aarch64 postgresql-17-pg-profile
PIGSTY 4.8
postgresql-16-pg-profile
PIGSTY 4.8
postgresql-15-pg-profile
PIGSTY 4.8
postgresql-14-pg-profile
PIGSTY 4.8
postgresql-13-pg-profile
PIGSTY 4.8
u24 x86_64 postgresql-17-pg-profile
PIGSTY 4.8
postgresql-16-pg-profile
PIGSTY 4.8
postgresql-15-pg-profile
PIGSTY 4.8
postgresql-14-pg-profile
PIGSTY 4.8
postgresql-13-pg-profile
PIGSTY 4.8
u24 aarch64 postgresql-17-pg-profile
PIGSTY 4.8
postgresql-16-pg-profile
PIGSTY 4.8
postgresql-15-pg-profile
PIGSTY 4.8
postgresql-14-pg-profile
PIGSTY 4.8
postgresql-13-pg-profile
PIGSTY 4.8

扩展安装

使用 pig 命令行工具安装 pg_profile 扩展:

pig ext install pg_profile

使用 Pigsty剧本 安装 pg_profile 扩展:

./pgsql.yml -t pg_extension -e '{"pg_extensions": ["pg_profile"]}' # -l <集群名>

YUM仓库 手工安装 pg_profile RPM 包:

dnf install pg_profile_17*;
dnf install pg_profile_16*;
dnf install pg_profile_15*;
dnf install pg_profile_14*;
dnf install pg_profile_13*;

APT仓库 手工安装 pg_profile DEB 包:

apt install postgresql-17-pg-profile;
apt install postgresql-16-pg-profile;
apt install postgresql-15-pg-profile;
apt install postgresql-14-pg-profile;
apt install postgresql-13-pg-profile;

使用以下 SQL 命令在已经安装此扩展插件的 PG 集群上 启用 pg_profile 扩展:

CREATE EXTENSION pg_profile CASCADE;



2 - pg_tracing

PostgreSQL分布式Tracing

扩展总览

PIGSTY 第三方扩展: pg_tracing : PostgreSQL分布式Tracing

基本信息

  • 扩展编号: 6010
  • 扩展名称: pg_tracing
  • 标准包名: pg_tracing
  • 扩展类目: STAT
  • 开源协议: MIT
  • 官方网站: https://github.com/DataDog/pg_tracing
  • 编程语言: C
  • 其他标签: 无
  • 备注信息: 无

元数据

  • 默认版本: 0.1.2
  • PG大版本: 17,16,15
  • 动态加载: 需要显式加载
  • 需要DDL: 需要执行 CREATE EXTENSION DDL
  • 可重定位: 无法安装至任意模式下
  • 信任程度: 未受信任,创建扩展需要超级用户权限
  • 所需模式: 无
  • 所需扩展: 无

软件包

  • RPM仓库:PIGSTY
  • RPM包名:pg_tracing_$v*
  • RPM版本:0.1.2
  • RPM依赖:无
  • DEB仓库:PIGSTY
  • DEB包名:postgresql-$v-pg-tracing
  • DEB版本:0.1.2
  • DEB依赖:无

最新版本

系统 架构 PG17 PG16 PG15 PG14 PG13
el8 x86_64 pg_tracing_17
PIGSTY 0.1.2
pg_tracing_16
PIGSTY 0.1.2
pg_tracing_15
PIGSTY 0.1.2
el8 aarch64 pg_tracing_17
PIGSTY 0.1.2
pg_tracing_16
PIGSTY 0.1.2
pg_tracing_15
PIGSTY 0.1.2
el9 x86_64 pg_tracing_17
PIGSTY 0.1.2
pg_tracing_16
PIGSTY 0.1.2
pg_tracing_15
PIGSTY 0.1.2
el9 aarch64 pg_tracing_17
PIGSTY 0.1.2
pg_tracing_16
PIGSTY 0.1.2
pg_tracing_15
PIGSTY 0.1.2
d12 x86_64 postgresql-17-pg-tracing
PIGSTY 0.1.2
postgresql-16-pg-tracing
PIGSTY 0.1.2
postgresql-15-pg-tracing
PIGSTY 0.1.2
d12 aarch64 postgresql-17-pg-tracing
PIGSTY 0.1.2
postgresql-16-pg-tracing
PIGSTY 0.1.2
postgresql-15-pg-tracing
PIGSTY 0.1.2
u22 x86_64 postgresql-17-pg-tracing
PIGSTY 0.1.2
postgresql-16-pg-tracing
PIGSTY 0.1.2
postgresql-15-pg-tracing
PIGSTY 0.1.2
u22 aarch64 postgresql-17-pg-tracing
PIGSTY 0.1.2
postgresql-16-pg-tracing
PIGSTY 0.1.2
postgresql-15-pg-tracing
PIGSTY 0.1.2
u24 x86_64 postgresql-17-pg-tracing
PIGSTY 0.1.2
postgresql-16-pg-tracing
PIGSTY 0.1.2
postgresql-15-pg-tracing
PIGSTY 0.1.2
u24 aarch64 postgresql-17-pg-tracing
PIGSTY 0.1.2
postgresql-16-pg-tracing
PIGSTY 0.1.2
postgresql-15-pg-tracing
PIGSTY 0.1.2

扩展安装

使用 pig 命令行工具安装 pg_tracing 扩展:

pig ext install pg_tracing

使用 Pigsty剧本 安装 pg_tracing 扩展:

./pgsql.yml -t pg_extension -e '{"pg_extensions": ["pg_tracing"]}' # -l <集群名>

YUM仓库 手工安装 pg_tracing RPM 包:

dnf install pg_tracing_17*;
dnf install pg_tracing_16*;
dnf install pg_tracing_15*;

APT仓库 手工安装 pg_tracing DEB 包:

apt install postgresql-17-pg-tracing;
apt install postgresql-16-pg-tracing;
apt install postgresql-15-pg-tracing;

扩展 pg_tracing 需要通过 shared_preload_libraries 进行 动态加载

shared_preload_libraries = 'pg_tracing'; # 修改 PG 集群配置

使用以下 SQL 命令在已经安装此扩展插件的 PG 集群上 启用 pg_tracing 扩展:

CREATE EXTENSION pg_tracing;



3 - pg_show_plans

打印所有当前正在运行查询的执行计划

扩展总览

PGDG 第一方扩展: pg_show_plans : 打印所有当前正在运行查询的执行计划

基本信息

元数据

  • 默认版本: 2.1.2
  • PG大版本: 17,16,15,14,13
  • 动态加载: 无需动态加载
  • 需要DDL: 需要执行 CREATE EXTENSION DDL
  • 可重定位: 无法安装至任意模式下
  • 信任程度: 未受信任,创建扩展需要超级用户权限
  • 所需模式: 无
  • 所需扩展: 无

软件包

  • RPM仓库:PGDG
  • RPM包名:pg_show_plans_$v*
  • RPM版本:2.1.2
  • RPM依赖:无
  • DEB仓库:PGDG
  • DEB包名:postgresql-$v-show-plans
  • DEB版本:2.1.2
  • DEB依赖:无

最新版本

系统 架构 PG17 PG16 PG15 PG14 PG13
el8 x86_64 pg_show_plans_17
PGDG 2.1.2
pg_show_plans_16
PGDG 2.1.2
pg_show_plans_15
PGDG 2.1.2
pg_show_plans_14
PGDG 2.1.2
pg_show_plans_13
PGDG 2.1.2
el8 aarch64 pg_show_plans_17
PGDG 2.1.2
pg_show_plans_16
PGDG 2.1.2
pg_show_plans_15
PGDG 2.1.2
pg_show_plans_14
PGDG 2.1.2
pg_show_plans_13
PGDG 2.1.2
el9 x86_64 pg_show_plans_17
PGDG 2.1.2
pg_show_plans_16
PGDG 2.1.2
pg_show_plans_15
PGDG 2.1.2
pg_show_plans_14
PGDG 2.1.2
pg_show_plans_13
PGDG 2.1.2
el9 aarch64 pg_show_plans_17
PGDG 2.1.2
pg_show_plans_16
PGDG 2.1.2
pg_show_plans_15
PGDG 2.1.2
pg_show_plans_14
PGDG 2.1.2
pg_show_plans_13
PGDG 2.1.2
d12 x86_64 postgresql-17-show-plans
PGDG 2.1.2
postgresql-16-show-plans
PGDG 2.1.2
postgresql-15-show-plans
PGDG 2.1.2
postgresql-14-show-plans
PGDG 2.1.2
postgresql-13-show-plans
PGDG 2.1.2
d12 aarch64 postgresql-17-show-plans
PGDG 2.1.2
postgresql-16-show-plans
PGDG 2.1.2
postgresql-15-show-plans
PGDG 2.1.2
postgresql-14-show-plans
PGDG 2.1.2
postgresql-13-show-plans
PGDG 2.1.2
u22 x86_64 postgresql-17-show-plans
PGDG 2.1.2
postgresql-16-show-plans
PGDG 2.1.2
postgresql-15-show-plans
PGDG 2.1.2
postgresql-14-show-plans
PGDG 2.1.2
postgresql-13-show-plans
PGDG 2.1.2
u22 aarch64 postgresql-17-show-plans
PGDG 2.1.2
postgresql-16-show-plans
PGDG 2.1.2
postgresql-15-show-plans
PGDG 2.1.2
postgresql-14-show-plans
PGDG 2.1.2
postgresql-13-show-plans
PGDG 2.1.2
u24 x86_64 postgresql-17-show-plans
PGDG 2.1.2
postgresql-16-show-plans
PGDG 2.1.2
postgresql-15-show-plans
PGDG 2.1.2
postgresql-14-show-plans
PGDG 2.1.2
postgresql-13-show-plans
PGDG 2.1.2
u24 aarch64 postgresql-17-show-plans
PGDG 2.1.2
postgresql-16-show-plans
PGDG 2.1.2
postgresql-15-show-plans
PGDG 2.1.2
postgresql-14-show-plans
PGDG 2.1.2
postgresql-13-show-plans
PGDG 2.1.2

扩展安装

使用 pig 命令行工具安装 pg_show_plans 扩展:

pig ext install pg_show_plans

使用 Pigsty剧本 安装 pg_show_plans 扩展:

./pgsql.yml -t pg_extension -e '{"pg_extensions": ["pg_show_plans"]}' # -l <集群名>

YUM仓库 手工安装 pg_show_plans RPM 包:

dnf install pg_show_plans_17*;
dnf install pg_show_plans_16*;
dnf install pg_show_plans_15*;
dnf install pg_show_plans_14*;
dnf install pg_show_plans_13*;

APT仓库 手工安装 pg_show_plans DEB 包:

apt install postgresql-17-show-plans;
apt install postgresql-16-show-plans;
apt install postgresql-15-show-plans;
apt install postgresql-14-show-plans;
apt install postgresql-13-show-plans;

使用以下 SQL 命令在已经安装此扩展插件的 PG 集群上 启用 pg_show_plans 扩展:

CREATE EXTENSION pg_show_plans;



4 - pg_stat_kcache

内核统计信息收集

扩展总览

PGDG 第一方扩展: pg_stat_kcache : 内核统计信息收集

基本信息

元数据

  • 默认版本: 2.3.0
  • PG大版本: 17,16,15,14,13
  • 动态加载: 需要显式加载
  • 需要DDL: 需要执行 CREATE EXTENSION DDL
  • 可重定位: 无法安装至任意模式下
  • 信任程度: 未受信任,创建扩展需要超级用户权限
  • 所需模式: 无
  • 所需扩展: pg_stat_statements

软件包

  • RPM仓库:PGDG
  • RPM包名:pg_stat_kcache_$v*
  • RPM版本:2.3.0
  • RPM依赖:无
  • DEB仓库:PGDG
  • DEB包名:postgresql-$v-pg-stat-kcache
  • DEB版本:2.3.0
  • DEB依赖:无

最新版本

系统 架构 PG17 PG16 PG15 PG14 PG13
el8 x86_64 pg_stat_kcache_17
PGDG 2.3.0
pg_stat_kcache_16
PGDG 2.3.0
pg_stat_kcache_15
PGDG 2.3.0
pg_stat_kcache_14
PGDG 2.3.0
pg_stat_kcache_13
PGDG 2.3.0
el8 aarch64 pg_stat_kcache_17
PGDG 2.3.0
pg_stat_kcache_16
PGDG 2.3.0
pg_stat_kcache_15
PGDG 2.3.0
pg_stat_kcache_14
PGDG 2.3.0
pg_stat_kcache_13
PGDG 2.3.0
el9 x86_64 pg_stat_kcache_17
PGDG 2.3.0
pg_stat_kcache_16
PGDG 2.3.0
pg_stat_kcache_15
PGDG 2.3.0
pg_stat_kcache_14
PGDG 2.3.0
pg_stat_kcache_13
PGDG 2.3.0
el9 aarch64 pg_stat_kcache_17
PGDG 2.3.0
pg_stat_kcache_16
PGDG 2.3.0
pg_stat_kcache_15
PGDG 2.3.0
pg_stat_kcache_14
PGDG 2.3.0
pg_stat_kcache_13
PGDG 2.3.0
d12 x86_64 postgresql-17-pg-stat-kcache
PGDG 2.3.0
postgresql-16-pg-stat-kcache
PGDG 2.3.0
postgresql-15-pg-stat-kcache
PGDG 2.3.0
postgresql-14-pg-stat-kcache
PGDG 2.3.0
postgresql-13-pg-stat-kcache
PGDG 2.3.0
d12 aarch64 postgresql-17-pg-stat-kcache
PGDG 2.3.0
postgresql-16-pg-stat-kcache
PGDG 2.3.0
postgresql-15-pg-stat-kcache
PGDG 2.3.0
postgresql-14-pg-stat-kcache
PGDG 2.3.0
postgresql-13-pg-stat-kcache
PGDG 2.3.0
u22 x86_64 postgresql-17-pg-stat-kcache
PGDG 2.3.0
postgresql-16-pg-stat-kcache
PGDG 2.3.0
postgresql-15-pg-stat-kcache
PGDG 2.3.0
postgresql-14-pg-stat-kcache
PGDG 2.3.0
postgresql-13-pg-stat-kcache
PGDG 2.3.0
u22 aarch64 postgresql-17-pg-stat-kcache
PGDG 2.3.0
postgresql-16-pg-stat-kcache
PGDG 2.3.0
postgresql-15-pg-stat-kcache
PGDG 2.3.0
postgresql-14-pg-stat-kcache
PGDG 2.3.0
postgresql-13-pg-stat-kcache
PGDG 2.3.0
u24 x86_64 postgresql-17-pg-stat-kcache
PGDG 2.3.0
postgresql-16-pg-stat-kcache
PGDG 2.3.0
postgresql-15-pg-stat-kcache
PGDG 2.3.0
postgresql-14-pg-stat-kcache
PGDG 2.3.0
postgresql-13-pg-stat-kcache
PGDG 2.3.0
u24 aarch64 postgresql-17-pg-stat-kcache
PGDG 2.3.0
postgresql-16-pg-stat-kcache
PGDG 2.3.0
postgresql-15-pg-stat-kcache
PGDG 2.3.0
postgresql-14-pg-stat-kcache
PGDG 2.3.0
postgresql-13-pg-stat-kcache
PGDG 2.3.0

扩展安装

使用 pig 命令行工具安装 pg_stat_kcache 扩展:

pig ext install pg_stat_kcache

使用 Pigsty剧本 安装 pg_stat_kcache 扩展:

./pgsql.yml -t pg_extension -e '{"pg_extensions": ["pg_stat_kcache"]}' # -l <集群名>

YUM仓库 手工安装 pg_stat_kcache RPM 包:

dnf install pg_stat_kcache_17*;
dnf install pg_stat_kcache_16*;
dnf install pg_stat_kcache_15*;
dnf install pg_stat_kcache_14*;
dnf install pg_stat_kcache_13*;

APT仓库 手工安装 pg_stat_kcache DEB 包:

apt install postgresql-17-pg-stat-kcache;
apt install postgresql-16-pg-stat-kcache;
apt install postgresql-15-pg-stat-kcache;
apt install postgresql-14-pg-stat-kcache;
apt install postgresql-13-pg-stat-kcache;

扩展 pg_stat_kcache 需要通过 shared_preload_libraries 进行 动态加载

shared_preload_libraries = 'pg_stat_kcache'; # 修改 PG 集群配置

使用以下 SQL 命令在已经安装此扩展插件的 PG 集群上 启用 pg_stat_kcache 扩展:

CREATE EXTENSION pg_stat_kcache CASCADE;



5 - pg_stat_monitor

提供查询聚合统计、客户端信息、执行计划详细信息和直方图

扩展总览

MIXED 第三方扩展: pg_stat_monitor : 提供查询聚合统计、客户端信息、执行计划详细信息和直方图

基本信息

元数据

  • 默认版本: 2.1.1
  • PG大版本: 17,16,15,14,13
  • 动态加载: 需要显式加载
  • 需要DDL: 需要执行 CREATE EXTENSION DDL
  • 可重定位: 无法安装至任意模式下
  • 信任程度: 未受信任,创建扩展需要超级用户权限
  • 所需模式: 无
  • 所需扩展: 无

软件包

  • RPM仓库:PGDG
  • RPM包名:pg_stat_monitor_$v*
  • RPM版本:2.1.1
  • RPM依赖:无
  • DEB仓库:PIGSTY
  • DEB包名:postgresql-$v-pg-stat-monitor
  • DEB版本:2.1.1
  • DEB依赖:无

最新版本

系统 架构 PG17 PG16 PG15 PG14 PG13
el8 x86_64 pg_stat_monitor_17
PGDG 2.1.1
pg_stat_monitor_16
PGDG 2.1.1
pg_stat_monitor_15
PGDG 2.1.1
pg_stat_monitor_14
PGDG 2.1.1
pg_stat_monitor_13
PGDG 2.1.1
el8 aarch64 pg_stat_monitor_17
PGDG 2.1.1
pg_stat_monitor_16
PGDG 2.1.1
pg_stat_monitor_15
PGDG 2.1.1
pg_stat_monitor_14
PGDG 2.1.1
pg_stat_monitor_13
PGDG 2.1.1
el9 x86_64 pg_stat_monitor_17
PGDG 2.1.1
pg_stat_monitor_16
PGDG 2.1.1
pg_stat_monitor_15
PGDG 2.1.1
pg_stat_monitor_14
PGDG 2.1.1
pg_stat_monitor_13
PGDG 2.1.1
el9 aarch64 pg_stat_monitor_17
PGDG 2.1.1
pg_stat_monitor_16
PGDG 2.1.1
pg_stat_monitor_15
PGDG 2.1.1
pg_stat_monitor_14
PGDG 2.1.1
pg_stat_monitor_13
PGDG 2.1.1
d12 x86_64 postgresql-17-pg-stat-monitor
PIGSTY 2.1.1
postgresql-16-pg-stat-monitor
PIGSTY 2.1.1
postgresql-15-pg-stat-monitor
PIGSTY 2.1.1
postgresql-14-pg-stat-monitor
PIGSTY 2.1.1
postgresql-13-pg-stat-monitor
PIGSTY 2.1.1
d12 aarch64 postgresql-17-pg-stat-monitor
PIGSTY 2.1.1
postgresql-16-pg-stat-monitor
PIGSTY 2.1.1
postgresql-15-pg-stat-monitor
PIGSTY 2.1.1
postgresql-14-pg-stat-monitor
PIGSTY 2.1.1
postgresql-13-pg-stat-monitor
PIGSTY 2.1.1
u22 x86_64 postgresql-17-pg-stat-monitor
PIGSTY 2.1.1
postgresql-16-pg-stat-monitor
PIGSTY 2.1.1
postgresql-15-pg-stat-monitor
PIGSTY 2.1.1
postgresql-14-pg-stat-monitor
PIGSTY 2.1.1
postgresql-13-pg-stat-monitor
PIGSTY 2.1.1
u22 aarch64 postgresql-17-pg-stat-monitor
PIGSTY 2.1.1
postgresql-16-pg-stat-monitor
PIGSTY 2.1.1
postgresql-15-pg-stat-monitor
PIGSTY 2.1.1
postgresql-14-pg-stat-monitor
PIGSTY 2.1.1
postgresql-13-pg-stat-monitor
PIGSTY 2.1.1
u24 x86_64 postgresql-17-pg-stat-monitor
PIGSTY 2.1.1
postgresql-16-pg-stat-monitor
PIGSTY 2.1.1
postgresql-15-pg-stat-monitor
PIGSTY 2.1.1
postgresql-14-pg-stat-monitor
PIGSTY 2.1.1
postgresql-13-pg-stat-monitor
PIGSTY 2.1.1
u24 aarch64 postgresql-17-pg-stat-monitor
PIGSTY 2.1.1
postgresql-16-pg-stat-monitor
PIGSTY 2.1.1
postgresql-15-pg-stat-monitor
PIGSTY 2.1.1
postgresql-14-pg-stat-monitor
PIGSTY 2.1.1
postgresql-13-pg-stat-monitor
PIGSTY 2.1.1

扩展安装

使用 pig 命令行工具安装 pg_stat_monitor 扩展:

pig ext install pg_stat_monitor

使用 Pigsty剧本 安装 pg_stat_monitor 扩展:

./pgsql.yml -t pg_extension -e '{"pg_extensions": ["pg_stat_monitor"]}' # -l <集群名>

YUM仓库 手工安装 pg_stat_monitor RPM 包:

dnf install pg_stat_monitor_17*;
dnf install pg_stat_monitor_16*;
dnf install pg_stat_monitor_15*;
dnf install pg_stat_monitor_14*;
dnf install pg_stat_monitor_13*;

APT仓库 手工安装 pg_stat_monitor DEB 包:

apt install postgresql-17-pg-stat-monitor;
apt install postgresql-16-pg-stat-monitor;
apt install postgresql-15-pg-stat-monitor;
apt install postgresql-14-pg-stat-monitor;
apt install postgresql-13-pg-stat-monitor;

扩展 pg_stat_monitor 需要通过 shared_preload_libraries 进行 动态加载

shared_preload_libraries = 'pg_stat_monitor'; # 修改 PG 集群配置

使用以下 SQL 命令在已经安装此扩展插件的 PG 集群上 启用 pg_stat_monitor 扩展:

CREATE EXTENSION pg_stat_monitor;



6 - pg_qualstats

收集有关 quals 的统计信息的扩展

扩展总览

PGDG 第一方扩展: pg_qualstats : 收集有关 quals 的统计信息的扩展

基本信息

元数据

  • 默认版本: 2.1.1
  • PG大版本: 17,16,15,14,13
  • 动态加载: 需要显式加载
  • 需要DDL: 需要执行 CREATE EXTENSION DDL
  • 可重定位: 可以重定位安装至其他模式下
  • 信任程度: 未受信任,创建扩展需要超级用户权限
  • 所需模式: 无
  • 所需扩展: 无

软件包

  • RPM仓库:PGDG
  • RPM包名:pg_qualstats_$v*
  • RPM版本:2.1.1
  • RPM依赖:无
  • DEB仓库:PGDG
  • DEB包名:postgresql-$v-pg-qualstats
  • DEB版本:2.1.1
  • DEB依赖:无

最新版本

系统 架构 PG17 PG16 PG15 PG14 PG13
el8 x86_64 pg_qualstats_17
PGDG 2.1.1
pg_qualstats_16
PGDG 2.1.1
pg_qualstats_15
PGDG 2.1.1
pg_qualstats_14
PGDG 2.1.1
pg_qualstats_13
PGDG 2.1.1
el8 aarch64 pg_qualstats_17
PGDG 2.1.1
pg_qualstats_16
PGDG 2.1.1
pg_qualstats_15
PGDG 2.1.1
pg_qualstats_14
PGDG 2.1.1
pg_qualstats_13
PGDG 2.1.1
el9 x86_64 pg_qualstats_17
PGDG 2.1.1
pg_qualstats_16
PGDG 2.1.1
pg_qualstats_15
PGDG 2.1.1
pg_qualstats_14
PGDG 2.1.1
pg_qualstats_13
PGDG 2.1.1
el9 aarch64 pg_qualstats_17
PGDG 2.1.1
pg_qualstats_16
PGDG 2.1.1
pg_qualstats_15
PGDG 2.1.1
pg_qualstats_14
PGDG 2.1.1
pg_qualstats_13
PGDG 2.1.1
d12 x86_64 postgresql-17-pg-qualstats
PGDG 2.1.1
postgresql-16-pg-qualstats
PGDG 2.1.1
postgresql-15-pg-qualstats
PGDG 2.1.1
postgresql-14-pg-qualstats
PGDG 2.1.1
postgresql-13-pg-qualstats
PGDG 2.1.1
d12 aarch64 postgresql-17-pg-qualstats
PGDG 2.1.1
postgresql-16-pg-qualstats
PGDG 2.1.1
postgresql-15-pg-qualstats
PGDG 2.1.1
postgresql-14-pg-qualstats
PGDG 2.1.1
postgresql-13-pg-qualstats
PGDG 2.1.1
u22 x86_64 postgresql-17-pg-qualstats
PGDG 2.1.1
postgresql-16-pg-qualstats
PGDG 2.1.1
postgresql-15-pg-qualstats
PGDG 2.1.1
postgresql-14-pg-qualstats
PGDG 2.1.1
postgresql-13-pg-qualstats
PGDG 2.1.1
u22 aarch64 postgresql-17-pg-qualstats
PGDG 2.1.1
postgresql-16-pg-qualstats
PGDG 2.1.1
postgresql-15-pg-qualstats
PGDG 2.1.1
postgresql-14-pg-qualstats
PGDG 2.1.1
postgresql-13-pg-qualstats
PGDG 2.1.1
u24 x86_64 postgresql-17-pg-qualstats
PGDG 2.1.1
postgresql-16-pg-qualstats
PGDG 2.1.1
postgresql-15-pg-qualstats
PGDG 2.1.1
postgresql-14-pg-qualstats
PGDG 2.1.1
postgresql-13-pg-qualstats
PGDG 2.1.1
u24 aarch64 postgresql-17-pg-qualstats
PGDG 2.1.1
postgresql-16-pg-qualstats
PGDG 2.1.1
postgresql-15-pg-qualstats
PGDG 2.1.1
postgresql-14-pg-qualstats
PGDG 2.1.1
postgresql-13-pg-qualstats
PGDG 2.1.1

扩展安装

使用 pig 命令行工具安装 pg_qualstats 扩展:

pig ext install pg_qualstats

使用 Pigsty剧本 安装 pg_qualstats 扩展:

./pgsql.yml -t pg_extension -e '{"pg_extensions": ["pg_qualstats"]}' # -l <集群名>

YUM仓库 手工安装 pg_qualstats RPM 包:

dnf install pg_qualstats_17*;
dnf install pg_qualstats_16*;
dnf install pg_qualstats_15*;
dnf install pg_qualstats_14*;
dnf install pg_qualstats_13*;

APT仓库 手工安装 pg_qualstats DEB 包:

apt install postgresql-17-pg-qualstats;
apt install postgresql-16-pg-qualstats;
apt install postgresql-15-pg-qualstats;
apt install postgresql-14-pg-qualstats;
apt install postgresql-13-pg-qualstats;

扩展 pg_qualstats 需要通过 shared_preload_libraries 进行 动态加载

shared_preload_libraries = 'pg_qualstats'; # 修改 PG 集群配置

使用以下 SQL 命令在已经安装此扩展插件的 PG 集群上 启用 pg_qualstats 扩展:

CREATE EXTENSION pg_qualstats;



7 - pg_store_plans

跟踪所有执行的 SQL 语句的计划统计信息

扩展总览

MIXED 第三方扩展: pg_store_plans : 跟踪所有执行的 SQL 语句的计划统计信息

基本信息

元数据

  • 默认版本: 1.8
  • PG大版本: 17,16,15,14,13
  • 动态加载: 需要显式加载
  • 需要DDL: 需要执行 CREATE EXTENSION DDL
  • 可重定位: 无法安装至任意模式下
  • 信任程度: 未受信任,创建扩展需要超级用户权限
  • 所需模式: 无
  • 所需扩展: 无

软件包

  • RPM仓库:PIGSTY
  • RPM包名:pg_store_plans_$v*
  • RPM版本:1.8
  • RPM依赖:无
  • DEB仓库:PIGSTY
  • DEB包名:postgresql-$v-pg-store-plan
  • DEB版本:1.8
  • DEB依赖:无

最新版本

系统 架构 PG17 PG16 PG15 PG14 PG13
el8 x86_64 pg_store_plans_17
PIGSTY 1.8
pg_store_plans_16
PIGSTY 1.8
pg_store_plans_15
PIGSTY 1.8
pg_store_plans_14
PIGSTY 1.8
pg_store_plans_13
PIGSTY 1.8
el8 aarch64 pg_store_plans_17
PIGSTY 1.8
pg_store_plans_16
PIGSTY 1.8
pg_store_plans_15
PIGSTY 1.8
pg_store_plans_14
PIGSTY 1.8
pg_store_plans_13
PIGSTY 1.8
el9 x86_64 pg_store_plans_17
PIGSTY 1.8
pg_store_plans_16
PIGSTY 1.8
pg_store_plans_15
PIGSTY 1.8
pg_store_plans_14
PIGSTY 1.8
pg_store_plans_13
PIGSTY 1.8
el9 aarch64 pg_store_plans_17
PIGSTY 1.8
pg_store_plans_16
PIGSTY 1.8
pg_store_plans_15
PIGSTY 1.8
pg_store_plans_14
PIGSTY 1.8
pg_store_plans_13
PIGSTY 1.8
d12 x86_64 postgresql-17-pg-store-plan
PIGSTY 1.8
postgresql-16-pg-store-plan
PIGSTY 1.8
postgresql-15-pg-store-plan
PIGSTY 1.8
postgresql-14-pg-store-plan
PIGSTY 1.8
postgresql-13-pg-store-plan
PIGSTY 1.8
d12 aarch64 postgresql-17-pg-store-plan
PIGSTY 1.8
postgresql-16-pg-store-plan
PIGSTY 1.8
postgresql-15-pg-store-plan
PIGSTY 1.8
postgresql-14-pg-store-plan
PIGSTY 1.8
postgresql-13-pg-store-plan
PIGSTY 1.8
u22 x86_64 postgresql-17-pg-store-plan
PIGSTY 1.8
postgresql-16-pg-store-plan
PIGSTY 1.8
postgresql-15-pg-store-plan
PIGSTY 1.8
postgresql-14-pg-store-plan
PIGSTY 1.8
postgresql-13-pg-store-plan
PIGSTY 1.8
u22 aarch64 postgresql-17-pg-store-plan
PIGSTY 1.8
postgresql-16-pg-store-plan
PIGSTY 1.8
postgresql-15-pg-store-plan
PIGSTY 1.8
postgresql-14-pg-store-plan
PIGSTY 1.8
postgresql-13-pg-store-plan
PIGSTY 1.8
u24 x86_64 postgresql-17-pg-store-plan
PIGSTY 1.8
postgresql-16-pg-store-plan
PIGSTY 1.8
postgresql-15-pg-store-plan
PIGSTY 1.8
postgresql-14-pg-store-plan
PIGSTY 1.8
postgresql-13-pg-store-plan
PIGSTY 1.8
u24 aarch64 postgresql-17-pg-store-plan
PIGSTY 1.8
postgresql-16-pg-store-plan
PIGSTY 1.8
postgresql-15-pg-store-plan
PIGSTY 1.8
postgresql-14-pg-store-plan
PIGSTY 1.8
postgresql-13-pg-store-plan
PIGSTY 1.8

扩展安装

使用 pig 命令行工具安装 pg_store_plans 扩展:

pig ext install pg_store_plans

使用 Pigsty剧本 安装 pg_store_plans 扩展:

./pgsql.yml -t pg_extension -e '{"pg_extensions": ["pg_store_plans"]}' # -l <集群名>

YUM仓库 手工安装 pg_store_plans RPM 包:

dnf install pg_store_plans_17*;
dnf install pg_store_plans_16*;
dnf install pg_store_plans_15*;
dnf install pg_store_plans_14*;
dnf install pg_store_plans_13*;

APT仓库 手工安装 pg_store_plans DEB 包:

apt install postgresql-17-pg-store-plan;
apt install postgresql-16-pg-store-plan;
apt install postgresql-15-pg-store-plan;
apt install postgresql-14-pg-store-plan;
apt install postgresql-13-pg-store-plan;

扩展 pg_store_plans 需要通过 shared_preload_libraries 进行 动态加载

shared_preload_libraries = 'pg_store_plans'; # 修改 PG 集群配置

使用以下 SQL 命令在已经安装此扩展插件的 PG 集群上 启用 pg_store_plans 扩展:

CREATE EXTENSION pg_store_plans;



8 - pg_track_settings

跟踪设置更改

扩展总览

PGDG 第一方扩展: pg_track_settings : 跟踪设置更改

基本信息

元数据

  • 默认版本: 2.1.2
  • PG大版本: 17,16,15,14,13
  • 动态加载: 无需动态加载
  • 需要DDL: 需要执行 CREATE EXTENSION DDL
  • 可重定位: 可以重定位安装至其他模式下
  • 信任程度: 受信任,无需超级用户,带 CREATE 权限的用户可以直接创建
  • 所需模式: 无
  • 所需扩展: 无

软件包

  • RPM仓库:PGDG
  • RPM包名:pg_track_settings_$v
  • RPM版本:2.1.2
  • RPM依赖:无
  • DEB仓库:PGDG
  • DEB包名:postgresql-$v-pg-track-settings
  • DEB版本:2.1.2
  • DEB依赖:无

最新版本

系统 架构 PG17 PG16 PG15 PG14 PG13
el8 x86_64 pg_track_settings_17
PGDG 2.1.2
pg_track_settings_16
PGDG 2.1.2
pg_track_settings_15
PGDG 2.1.2
pg_track_settings_14
PGDG 2.1.2
pg_track_settings_13
PGDG 2.1.2
el8 aarch64 pg_track_settings_17
PGDG 2.1.2
pg_track_settings_16
PGDG 2.1.2
pg_track_settings_15
PGDG 2.1.2
pg_track_settings_14
PGDG 2.1.2
pg_track_settings_13
PGDG 2.1.2
el9 x86_64 pg_track_settings_17
PGDG 2.1.2
pg_track_settings_16
PGDG 2.1.2
pg_track_settings_15
PGDG 2.1.2
pg_track_settings_14
PGDG 2.1.2
pg_track_settings_13
PGDG 2.1.2
el9 aarch64 pg_track_settings_17
PGDG 2.1.2
pg_track_settings_16
PGDG 2.1.2
pg_track_settings_15
PGDG 2.1.2
pg_track_settings_14
PGDG 2.1.2
pg_track_settings_13
PGDG 2.1.2
d12 x86_64 postgresql-17-pg-track-settings
PGDG 2.1.2
postgresql-16-pg-track-settings
PGDG 2.1.2
postgresql-15-pg-track-settings
PGDG 2.1.2
postgresql-14-pg-track-settings
PGDG 2.1.2
postgresql-13-pg-track-settings
PGDG 2.1.2
d12 aarch64 postgresql-17-pg-track-settings
PGDG 2.1.2
postgresql-16-pg-track-settings
PGDG 2.1.2
postgresql-15-pg-track-settings
PGDG 2.1.2
postgresql-14-pg-track-settings
PGDG 2.1.2
postgresql-13-pg-track-settings
PGDG 2.1.2
u22 x86_64 postgresql-17-pg-track-settings
PGDG 2.1.2
postgresql-16-pg-track-settings
PGDG 2.1.2
postgresql-15-pg-track-settings
PGDG 2.1.2
postgresql-14-pg-track-settings
PGDG 2.1.2
postgresql-13-pg-track-settings
PGDG 2.1.2
u22 aarch64 postgresql-17-pg-track-settings
PGDG 2.1.2
postgresql-16-pg-track-settings
PGDG 2.1.2
postgresql-15-pg-track-settings
PGDG 2.1.2
postgresql-14-pg-track-settings
PGDG 2.1.2
postgresql-13-pg-track-settings
PGDG 2.1.2
u24 x86_64 postgresql-17-pg-track-settings
PGDG 2.1.2
postgresql-16-pg-track-settings
PGDG 2.1.2
postgresql-15-pg-track-settings
PGDG 2.1.2
postgresql-14-pg-track-settings
PGDG 2.1.2
postgresql-13-pg-track-settings
PGDG 2.1.2
u24 aarch64 postgresql-17-pg-track-settings
PGDG 2.1.2
postgresql-16-pg-track-settings
PGDG 2.1.2
postgresql-15-pg-track-settings
PGDG 2.1.2
postgresql-14-pg-track-settings
PGDG 2.1.2
postgresql-13-pg-track-settings
PGDG 2.1.2

扩展安装

使用 pig 命令行工具安装 pg_track_settings 扩展:

pig ext install pg_track_settings

使用 Pigsty剧本 安装 pg_track_settings 扩展:

./pgsql.yml -t pg_extension -e '{"pg_extensions": ["pg_track_settings"]}' # -l <集群名>

YUM仓库 手工安装 pg_track_settings RPM 包:

dnf install pg_track_settings_17;
dnf install pg_track_settings_16;
dnf install pg_track_settings_15;
dnf install pg_track_settings_14;
dnf install pg_track_settings_13;

APT仓库 手工安装 pg_track_settings DEB 包:

apt install postgresql-17-pg-track-settings;
apt install postgresql-16-pg-track-settings;
apt install postgresql-15-pg-track-settings;
apt install postgresql-14-pg-track-settings;
apt install postgresql-13-pg-track-settings;

使用以下 SQL 命令在已经安装此扩展插件的 PG 集群上 启用 pg_track_settings 扩展:

CREATE EXTENSION pg_track_settings;



9 - pg_wait_sampling

基于采样的等待事件统计

扩展总览

PGDG 第一方扩展: pg_wait_sampling : 基于采样的等待事件统计

基本信息

元数据

  • 默认版本: 1.1.8
  • PG大版本: 17,16,15,14,13
  • 动态加载: 需要显式加载
  • 需要DDL: 需要执行 CREATE EXTENSION DDL
  • 可重定位: 无法安装至任意模式下
  • 信任程度: 未受信任,创建扩展需要超级用户权限
  • 所需模式: 无
  • 所需扩展: 无

软件包

  • RPM仓库:PGDG
  • RPM包名:pg_wait_sampling_$v*
  • RPM版本:1.1.8
  • RPM依赖:无
  • DEB仓库:PGDG
  • DEB包名:postgresql-$v-pg-wait-sampling
  • DEB版本:1.1.8
  • DEB依赖:无

最新版本

系统 架构 PG17 PG16 PG15 PG14 PG13
el8 x86_64 pg_wait_sampling_17
PGDG 1.1.8
pg_wait_sampling_16
PGDG 1.1.8
pg_wait_sampling_15
PGDG 1.1.8
pg_wait_sampling_14
PGDG 1.1.8
pg_wait_sampling_13
PGDG 1.1.8
el8 aarch64 pg_wait_sampling_17
PGDG 1.1.8
pg_wait_sampling_16
PGDG 1.1.8
pg_wait_sampling_15
PGDG 1.1.8
pg_wait_sampling_14
PGDG 1.1.8
pg_wait_sampling_13
PGDG 1.1.8
el9 x86_64 pg_wait_sampling_17
PGDG 1.1.8
pg_wait_sampling_16
PGDG 1.1.8
pg_wait_sampling_15
PGDG 1.1.8
pg_wait_sampling_14
PGDG 1.1.8
pg_wait_sampling_13
PGDG 1.1.8
el9 aarch64 pg_wait_sampling_17
PGDG 1.1.8
pg_wait_sampling_16
PGDG 1.1.8
pg_wait_sampling_15
PGDG 1.1.8
pg_wait_sampling_14
PGDG 1.1.8
pg_wait_sampling_13
PGDG 1.1.8
d12 x86_64 postgresql-17-pg-wait-sampling
PGDG 1.1.8
postgresql-16-pg-wait-sampling
PGDG 1.1.8
postgresql-15-pg-wait-sampling
PGDG 1.1.8
postgresql-14-pg-wait-sampling
PGDG 1.1.8
postgresql-13-pg-wait-sampling
PGDG 1.1.8
d12 aarch64 postgresql-17-pg-wait-sampling
PGDG 1.1.8
postgresql-16-pg-wait-sampling
PGDG 1.1.8
postgresql-15-pg-wait-sampling
PGDG 1.1.8
postgresql-14-pg-wait-sampling
PGDG 1.1.8
postgresql-13-pg-wait-sampling
PGDG 1.1.8
u22 x86_64 postgresql-17-pg-wait-sampling
PGDG 1.1.8
postgresql-16-pg-wait-sampling
PGDG 1.1.8
postgresql-15-pg-wait-sampling
PGDG 1.1.8
postgresql-14-pg-wait-sampling
PGDG 1.1.8
postgresql-13-pg-wait-sampling
PGDG 1.1.8
u22 aarch64 postgresql-17-pg-wait-sampling
PGDG 1.1.8
postgresql-16-pg-wait-sampling
PGDG 1.1.8
postgresql-15-pg-wait-sampling
PGDG 1.1.8
postgresql-14-pg-wait-sampling
PGDG 1.1.8
postgresql-13-pg-wait-sampling
PGDG 1.1.8
u24 x86_64 postgresql-17-pg-wait-sampling
PGDG 1.1.8
postgresql-16-pg-wait-sampling
PGDG 1.1.8
postgresql-15-pg-wait-sampling
PGDG 1.1.8
postgresql-14-pg-wait-sampling
PGDG 1.1.8
postgresql-13-pg-wait-sampling
PGDG 1.1.8
u24 aarch64 postgresql-17-pg-wait-sampling
PGDG 1.1.8
postgresql-16-pg-wait-sampling
PGDG 1.1.8
postgresql-15-pg-wait-sampling
PGDG 1.1.8
postgresql-14-pg-wait-sampling
PGDG 1.1.8
postgresql-13-pg-wait-sampling
PGDG 1.1.8

扩展安装

使用 pig 命令行工具安装 pg_wait_sampling 扩展:

pig ext install pg_wait_sampling

使用 Pigsty剧本 安装 pg_wait_sampling 扩展:

./pgsql.yml -t pg_extension -e '{"pg_extensions": ["pg_wait_sampling"]}' # -l <集群名>

YUM仓库 手工安装 pg_wait_sampling RPM 包:

dnf install pg_wait_sampling_17*;
dnf install pg_wait_sampling_16*;
dnf install pg_wait_sampling_15*;
dnf install pg_wait_sampling_14*;
dnf install pg_wait_sampling_13*;

APT仓库 手工安装 pg_wait_sampling DEB 包:

apt install postgresql-17-pg-wait-sampling;
apt install postgresql-16-pg-wait-sampling;
apt install postgresql-15-pg-wait-sampling;
apt install postgresql-14-pg-wait-sampling;
apt install postgresql-13-pg-wait-sampling;

扩展 pg_wait_sampling 需要通过 shared_preload_libraries 进行 动态加载

shared_preload_libraries = 'pg_wait_sampling'; # 修改 PG 集群配置

使用以下 SQL 命令在已经安装此扩展插件的 PG 集群上 启用 pg_wait_sampling 扩展:

CREATE EXTENSION pg_wait_sampling;



10 - system_stats

PostgreSQL 的系统统计函数

扩展总览

MIXED 第三方扩展: system_stats : PostgreSQL 的系统统计函数

基本信息

元数据

  • 默认版本: 3.2
  • PG大版本: 17,16,15,14,13
  • 动态加载: 无需动态加载
  • 需要DDL: 需要执行 CREATE EXTENSION DDL
  • 可重定位: 无法安装至任意模式下
  • 信任程度: 未受信任,创建扩展需要超级用户权限
  • 所需模式: 无
  • 所需扩展: 无

软件包

  • RPM仓库:PGDG
  • RPM包名:system_stats_$v*
  • RPM版本:3.2
  • RPM依赖:无
  • DEB仓库:PIGSTY
  • DEB包名:postgresql-$v-system-stats
  • DEB版本:3.2
  • DEB依赖:无

最新版本

系统 架构 PG17 PG16 PG15 PG14 PG13
el8 x86_64 system_stats_17
PGDG 3.2
system_stats_16
PGDG 3.2
system_stats_15
PGDG 3.2
system_stats_14
PGDG 3.2
system_stats_13
PGDG 3.2
el8 aarch64 system_stats_17
PGDG 3.2
system_stats_16
PGDG 3.2
system_stats_15
PGDG 3.2
system_stats_14
PGDG 3.2
system_stats_13
PGDG 3.2
el9 x86_64 system_stats_17
PGDG 3.2
system_stats_16
PGDG 3.2
system_stats_15
PGDG 3.2
system_stats_14
PGDG 3.2
system_stats_13
PGDG 3.2
el9 aarch64 system_stats_17
PGDG 3.2
system_stats_16
PGDG 3.2
system_stats_15
PGDG 3.2
system_stats_14
PGDG 3.2
system_stats_13
PGDG 3.2
d12 x86_64 postgresql-17-system-stats
PIGSTY 3.2
postgresql-16-system-stats
PIGSTY 3.2
postgresql-15-system-stats
PIGSTY 3.2
postgresql-14-system-stats
PIGSTY 3.2
postgresql-13-system-stats
PIGSTY 3.2
d12 aarch64 postgresql-17-system-stats
PIGSTY 3.2
postgresql-16-system-stats
PIGSTY 3.2
postgresql-15-system-stats
PIGSTY 3.2
postgresql-14-system-stats
PIGSTY 3.2
postgresql-13-system-stats
PIGSTY 3.2
u22 x86_64 postgresql-17-system-stats
PIGSTY 3.2
postgresql-16-system-stats
PIGSTY 3.2
postgresql-15-system-stats
PIGSTY 3.2
postgresql-14-system-stats
PIGSTY 3.2
postgresql-13-system-stats
PIGSTY 3.2
u22 aarch64 postgresql-17-system-stats
PIGSTY 3.2
postgresql-16-system-stats
PIGSTY 3.2
postgresql-15-system-stats
PIGSTY 3.2
postgresql-14-system-stats
PIGSTY 3.2
postgresql-13-system-stats
PIGSTY 3.2
u24 x86_64 postgresql-17-system-stats
PIGSTY 3.2
postgresql-16-system-stats
PIGSTY 3.2
postgresql-15-system-stats
PIGSTY 3.2
postgresql-14-system-stats
PIGSTY 3.2
postgresql-13-system-stats
PIGSTY 3.2
u24 aarch64 postgresql-17-system-stats
PIGSTY 3.2
postgresql-16-system-stats
PIGSTY 3.2
postgresql-15-system-stats
PIGSTY 3.2
postgresql-14-system-stats
PIGSTY 3.2
postgresql-13-system-stats
PIGSTY 3.2

扩展安装

使用 pig 命令行工具安装 system_stats 扩展:

pig ext install system_stats

使用 Pigsty剧本 安装 system_stats 扩展:

./pgsql.yml -t pg_extension -e '{"pg_extensions": ["system_stats"]}' # -l <集群名>

YUM仓库 手工安装 system_stats RPM 包:

dnf install system_stats_17*;
dnf install system_stats_16*;
dnf install system_stats_15*;
dnf install system_stats_14*;
dnf install system_stats_13*;

APT仓库 手工安装 system_stats DEB 包:

apt install postgresql-17-system-stats;
apt install postgresql-16-system-stats;
apt install postgresql-15-system-stats;
apt install postgresql-14-system-stats;
apt install postgresql-13-system-stats;

使用以下 SQL 命令在已经安装此扩展插件的 PG 集群上 启用 system_stats 扩展:

CREATE EXTENSION system_stats;



11 - meta

标准化,更友好的PostgreSQL系统目录视图

扩展总览

PIGSTY 第三方扩展: pg_meta : 标准化,更友好的PostgreSQL系统目录视图

基本信息

  • 扩展编号: 6290
  • 扩展名称: meta
  • 标准包名: pg_meta
  • 扩展类目: STAT
  • 开源协议: BSD 2
  • 官方网站: https://github.com/aquameta/meta
  • 编程语言: 纯SQL
  • 其他标签: 无
  • 备注信息: 无

元数据

  • 默认版本: 0.4.0
  • PG大版本: 17,16,15,14,13
  • 动态加载: 无需动态加载
  • 需要DDL: 需要执行 CREATE EXTENSION DDL
  • 可重定位: 无法安装至任意模式下
  • 信任程度: 未知
  • 所需模式: 无
  • 所需扩展: 无

软件包

  • RPM仓库:PIGSTY
  • RPM包名:pg_meta_$v
  • RPM版本:0.4.0
  • RPM依赖:无
  • DEB仓库:PIGSTY
  • DEB包名:postgresql-$v-pg-meta
  • DEB版本:0.4.0
  • DEB依赖:无

最新版本

系统 架构 PG17 PG16 PG15 PG14 PG13
el8 x86_64 pg_meta_17
PIGSTY 0.4.0
pg_meta_16
PIGSTY 0.4.0
pg_meta_15
PIGSTY 0.4.0
pg_meta_14
PIGSTY 0.4.0
pg_meta_13
PIGSTY 0.4.0
el8 aarch64 pg_meta_17
PIGSTY 0.4.0
pg_meta_16
PIGSTY 0.4.0
pg_meta_15
PIGSTY 0.4.0
pg_meta_14
PIGSTY 0.4.0
pg_meta_13
PIGSTY 0.4.0
el9 x86_64 pg_meta_17
PIGSTY 0.4.0
pg_meta_16
PIGSTY 0.4.0
pg_meta_15
PIGSTY 0.4.0
pg_meta_14
PIGSTY 0.4.0
pg_meta_13
PIGSTY 0.4.0
el9 aarch64 pg_meta_17
PIGSTY 0.4.0
pg_meta_16
PIGSTY 0.4.0
pg_meta_15
PIGSTY 0.4.0
pg_meta_14
PIGSTY 0.4.0
pg_meta_13
PIGSTY 0.4.0
d12 x86_64 postgresql-17-pg-meta
PIGSTY 0.4.0
postgresql-16-pg-meta
PIGSTY 0.4.0
postgresql-15-pg-meta
PIGSTY 0.4.0
postgresql-14-pg-meta
PIGSTY 0.4.0
postgresql-13-pg-meta
PIGSTY 0.4.0
d12 aarch64 postgresql-17-pg-meta
PIGSTY 0.4.0
postgresql-16-pg-meta
PIGSTY 0.4.0
postgresql-15-pg-meta
PIGSTY 0.4.0
postgresql-14-pg-meta
PIGSTY 0.4.0
postgresql-13-pg-meta
PIGSTY 0.4.0
u22 x86_64 postgresql-17-pg-meta
PIGSTY 0.4.0
postgresql-16-pg-meta
PIGSTY 0.4.0
postgresql-15-pg-meta
PIGSTY 0.4.0
postgresql-14-pg-meta
PIGSTY 0.4.0
postgresql-13-pg-meta
PIGSTY 0.4.0
u22 aarch64 postgresql-17-pg-meta
PIGSTY 0.4.0
postgresql-16-pg-meta
PIGSTY 0.4.0
postgresql-15-pg-meta
PIGSTY 0.4.0
postgresql-14-pg-meta
PIGSTY 0.4.0
postgresql-13-pg-meta
PIGSTY 0.4.0
u24 x86_64 postgresql-17-pg-meta
PIGSTY 0.4.0
postgresql-16-pg-meta
PIGSTY 0.4.0
postgresql-15-pg-meta
PIGSTY 0.4.0
postgresql-14-pg-meta
PIGSTY 0.4.0
postgresql-13-pg-meta
PIGSTY 0.4.0
u24 aarch64 postgresql-17-pg-meta
PIGSTY 0.4.0
postgresql-16-pg-meta
PIGSTY 0.4.0
postgresql-15-pg-meta
PIGSTY 0.4.0
postgresql-14-pg-meta
PIGSTY 0.4.0
postgresql-13-pg-meta
PIGSTY 0.4.0

扩展安装

使用 pig 命令行工具安装 pg_meta 扩展:

pig ext install pg_meta; # 扩展名称
pig ext install meta; # 标准包名

使用 Pigsty剧本 安装 pg_meta 扩展:

./pgsql.yml -t pg_extension -e '{"pg_extensions": ["pg_meta"]}' # -l <集群名>

YUM仓库 手工安装 pg_meta RPM 包:

dnf install pg_meta_17;
dnf install pg_meta_16;
dnf install pg_meta_15;
dnf install pg_meta_14;
dnf install pg_meta_13;

APT仓库 手工安装 pg_meta DEB 包:

apt install postgresql-17-pg-meta;
apt install postgresql-16-pg-meta;
apt install postgresql-15-pg-meta;
apt install postgresql-14-pg-meta;
apt install postgresql-13-pg-meta;

使用以下 SQL 命令在已经安装此扩展插件的 PG 集群上 启用 meta 扩展:

CREATE EXTENSION meta;



12 - pgnodemx

使用SQL查询获取操作系统指标

扩展总览

PIGSTY 第三方扩展: pgnodemx : 使用SQL查询获取操作系统指标

基本信息

元数据

  • 默认版本: 1.7
  • PG大版本: 17,16,15,14,13
  • 动态加载: 无需动态加载
  • 需要DDL: 需要执行 CREATE EXTENSION DDL
  • 可重定位: 无法安装至任意模式下
  • 信任程度: 未受信任,创建扩展需要超级用户权限
  • 所需模式: 无
  • 所需扩展: 无

软件包

  • RPM仓库:PIGSTY
  • RPM包名:pgnodemx_$v
  • RPM版本:1.7
  • RPM依赖:无
  • DEB仓库:PIGSTY
  • DEB包名:postgresql-$v-pgnodemx
  • DEB版本:1.7
  • DEB依赖:无

最新版本

系统 架构 PG17 PG16 PG15 PG14 PG13
el8 x86_64 pgnodemx_17
PIGSTY 1.7
pgnodemx_16
PIGSTY 1.7
pgnodemx_15
PIGSTY 1.7
pgnodemx_14
PIGSTY 1.7
pgnodemx_13
PIGSTY 1.7
el8 aarch64 pgnodemx_17
PIGSTY 1.7
pgnodemx_16
PIGSTY 1.7
pgnodemx_15
PIGSTY 1.7
pgnodemx_14
PIGSTY 1.7
pgnodemx_13
PIGSTY 1.7
el9 x86_64 pgnodemx_17
PIGSTY 1.7
pgnodemx_16
PIGSTY 1.7
pgnodemx_15
PIGSTY 1.7
pgnodemx_14
PIGSTY 1.7
pgnodemx_13
PIGSTY 1.7
el9 aarch64 pgnodemx_17
PIGSTY 1.7
pgnodemx_16
PIGSTY 1.7
pgnodemx_15
PIGSTY 1.7
pgnodemx_14
PIGSTY 1.7
pgnodemx_13
PIGSTY 1.7
d12 x86_64 postgresql-17-pgnodemx
PIGSTY 1.7
postgresql-16-pgnodemx
PIGSTY 1.7
postgresql-15-pgnodemx
PIGSTY 1.7
postgresql-14-pgnodemx
PIGSTY 1.7
postgresql-13-pgnodemx
PIGSTY 1.7
d12 aarch64 postgresql-17-pgnodemx
PIGSTY 1.7
postgresql-16-pgnodemx
PIGSTY 1.7
postgresql-15-pgnodemx
PIGSTY 1.7
postgresql-14-pgnodemx
PIGSTY 1.7
postgresql-13-pgnodemx
PIGSTY 1.7
u22 x86_64 postgresql-17-pgnodemx
PIGSTY 1.7
postgresql-16-pgnodemx
PIGSTY 1.7
postgresql-15-pgnodemx
PIGSTY 1.7
postgresql-14-pgnodemx
PIGSTY 1.7
postgresql-13-pgnodemx
PIGSTY 1.7
u22 aarch64 postgresql-17-pgnodemx
PIGSTY 1.7
postgresql-16-pgnodemx
PIGSTY 1.7
postgresql-15-pgnodemx
PIGSTY 1.7
postgresql-14-pgnodemx
PIGSTY 1.7
postgresql-13-pgnodemx
PIGSTY 1.7
u24 x86_64 postgresql-17-pgnodemx
PIGSTY 1.7
postgresql-16-pgnodemx
PIGSTY 1.7
postgresql-15-pgnodemx
PIGSTY 1.7
postgresql-14-pgnodemx
PIGSTY 1.7
postgresql-13-pgnodemx
PIGSTY 1.7
u24 aarch64 postgresql-17-pgnodemx
PIGSTY 1.7
postgresql-16-pgnodemx
PIGSTY 1.7
postgresql-15-pgnodemx
PIGSTY 1.7
postgresql-14-pgnodemx
PIGSTY 1.7
postgresql-13-pgnodemx
PIGSTY 1.7

扩展安装

使用 pig 命令行工具安装 pgnodemx 扩展:

pig ext install pgnodemx

使用 Pigsty剧本 安装 pgnodemx 扩展:

./pgsql.yml -t pg_extension -e '{"pg_extensions": ["pgnodemx"]}' # -l <集群名>

YUM仓库 手工安装 pgnodemx RPM 包:

dnf install pgnodemx_17;
dnf install pgnodemx_16;
dnf install pgnodemx_15;
dnf install pgnodemx_14;
dnf install pgnodemx_13;

APT仓库 手工安装 pgnodemx DEB 包:

apt install postgresql-17-pgnodemx;
apt install postgresql-16-pgnodemx;
apt install postgresql-15-pgnodemx;
apt install postgresql-14-pgnodemx;
apt install postgresql-13-pgnodemx;

使用以下 SQL 命令在已经安装此扩展插件的 PG 集群上 启用 pgnodemx 扩展:

CREATE EXTENSION pgnodemx;



13 - pg_proctab

通过SQL接口访问操作系统进程表

扩展总览

PIGSTY 第三方扩展: pgnodemx : 通过SQL接口访问操作系统进程表

基本信息

元数据

  • 默认版本: 1.7
  • PG大版本: 17,16,15,14,13
  • 动态加载: 无需动态加载
  • 需要DDL: 需要执行 CREATE EXTENSION DDL
  • 可重定位: 无法安装至任意模式下
  • 信任程度: 未受信任,创建扩展需要超级用户权限
  • 所需模式: 无
  • 所需扩展: 无

软件包

  • RPM仓库:PIGSTY
  • RPM包名:pgnodemx_$v
  • RPM版本:1.7
  • RPM依赖:无
  • DEB仓库:PIGSTY
  • DEB包名:postgresql-$v-pgnodemx
  • DEB版本:1.7
  • DEB依赖:无

最新版本

系统 架构 PG17 PG16 PG15 PG14 PG13
el8 x86_64 pgnodemx_17
PIGSTY 1.7
pgnodemx_16
PIGSTY 1.7
pgnodemx_15
PIGSTY 1.7
pgnodemx_14
PIGSTY 1.7
pgnodemx_13
PIGSTY 1.7
el8 aarch64 pgnodemx_17
PIGSTY 1.7
pgnodemx_16
PIGSTY 1.7
pgnodemx_15
PIGSTY 1.7
pgnodemx_14
PIGSTY 1.7
pgnodemx_13
PIGSTY 1.7
el9 x86_64 pgnodemx_17
PIGSTY 1.7
pgnodemx_16
PIGSTY 1.7
pgnodemx_15
PIGSTY 1.7
pgnodemx_14
PIGSTY 1.7
pgnodemx_13
PIGSTY 1.7
el9 aarch64 pgnodemx_17
PIGSTY 1.7
pgnodemx_16
PIGSTY 1.7
pgnodemx_15
PIGSTY 1.7
pgnodemx_14
PIGSTY 1.7
pgnodemx_13
PIGSTY 1.7
d12 x86_64 postgresql-17-pgnodemx
PIGSTY 1.7
postgresql-16-pgnodemx
PIGSTY 1.7
postgresql-15-pgnodemx
PIGSTY 1.7
postgresql-14-pgnodemx
PIGSTY 1.7
postgresql-13-pgnodemx
PIGSTY 1.7
d12 aarch64 postgresql-17-pgnodemx
PIGSTY 1.7
postgresql-16-pgnodemx
PIGSTY 1.7
postgresql-15-pgnodemx
PIGSTY 1.7
postgresql-14-pgnodemx
PIGSTY 1.7
postgresql-13-pgnodemx
PIGSTY 1.7
u22 x86_64 postgresql-17-pgnodemx
PIGSTY 1.7
postgresql-16-pgnodemx
PIGSTY 1.7
postgresql-15-pgnodemx
PIGSTY 1.7
postgresql-14-pgnodemx
PIGSTY 1.7
postgresql-13-pgnodemx
PIGSTY 1.7
u22 aarch64 postgresql-17-pgnodemx
PIGSTY 1.7
postgresql-16-pgnodemx
PIGSTY 1.7
postgresql-15-pgnodemx
PIGSTY 1.7
postgresql-14-pgnodemx
PIGSTY 1.7
postgresql-13-pgnodemx
PIGSTY 1.7
u24 x86_64 postgresql-17-pgnodemx
PIGSTY 1.7
postgresql-16-pgnodemx
PIGSTY 1.7
postgresql-15-pgnodemx
PIGSTY 1.7
postgresql-14-pgnodemx
PIGSTY 1.7
postgresql-13-pgnodemx
PIGSTY 1.7
u24 aarch64 postgresql-17-pgnodemx
PIGSTY 1.7
postgresql-16-pgnodemx
PIGSTY 1.7
postgresql-15-pgnodemx
PIGSTY 1.7
postgresql-14-pgnodemx
PIGSTY 1.7
postgresql-13-pgnodemx
PIGSTY 1.7

扩展安装

使用 pig 命令行工具安装 pgnodemx 扩展:

pig ext install pgnodemx; # 扩展名称
pig ext install pg_proctab; # 标准包名

使用 Pigsty剧本 安装 pgnodemx 扩展:

./pgsql.yml -t pg_extension -e '{"pg_extensions": ["pgnodemx"]}' # -l <集群名>

YUM仓库 手工安装 pgnodemx RPM 包:

dnf install pgnodemx_17;
dnf install pgnodemx_16;
dnf install pgnodemx_15;
dnf install pgnodemx_14;
dnf install pgnodemx_13;

APT仓库 手工安装 pgnodemx DEB 包:

apt install postgresql-17-pgnodemx;
apt install postgresql-16-pgnodemx;
apt install postgresql-15-pgnodemx;
apt install postgresql-14-pgnodemx;
apt install postgresql-13-pgnodemx;

使用以下 SQL 命令在已经安装此扩展插件的 PG 集群上 启用 pg_proctab 扩展:

CREATE EXTENSION pg_proctab;



14 - pg_sqlog

提供访问PostgreSQL日志的SQL接口

扩展总览

PIGSTY 第三方扩展: pg_sqlog : 提供访问PostgreSQL日志的SQL接口

基本信息

  • 扩展编号: 6330
  • 扩展名称: pg_sqlog
  • 标准包名: pg_sqlog
  • 扩展类目: STAT
  • 开源协议: BSD 3
  • 官方网站: https://github.com/kouber/pg_sqlog
  • 编程语言: 纯SQL
  • 其他标签: 无
  • 备注信息:

元数据

  • 默认版本: 1.6
  • PG大版本: 17,16,15,14,13
  • 动态加载: 无需动态加载
  • 需要DDL: 需要执行 CREATE EXTENSION DDL
  • 可重定位: 可以重定位安装至其他模式下
  • 信任程度: 未受信任,创建扩展需要超级用户权限
  • 所需模式: sqlog
  • 所需扩展: file_fdw

软件包

  • RPM仓库:PIGSTY
  • RPM包名:pg_sqlog_$v
  • RPM版本:1.6
  • RPM依赖:无
  • DEB仓库:PIGSTY
  • DEB包名:postgresql-$v-pg-sqlog
  • DEB版本:1.6
  • DEB依赖:无

最新版本

系统 架构 PG17 PG16 PG15 PG14 PG13
el8 x86_64 pg_sqlog_17
PIGSTY 1.6
pg_sqlog_16
PIGSTY 1.6
pg_sqlog_15
PIGSTY 1.6
pg_sqlog_14
PIGSTY 1.6
pg_sqlog_13
PIGSTY 1.6
el8 aarch64 pg_sqlog_17
PIGSTY 1.6
pg_sqlog_16
PIGSTY 1.6
pg_sqlog_15
PIGSTY 1.6
pg_sqlog_14
PIGSTY 1.6
pg_sqlog_13
PIGSTY 1.6
el9 x86_64 pg_sqlog_17
PIGSTY 1.6
pg_sqlog_16
PIGSTY 1.6
pg_sqlog_15
PIGSTY 1.6
pg_sqlog_14
PIGSTY 1.6
pg_sqlog_13
PIGSTY 1.6
el9 aarch64 pg_sqlog_17
PIGSTY 1.6
pg_sqlog_16
PIGSTY 1.6
pg_sqlog_15
PIGSTY 1.6
pg_sqlog_14
PIGSTY 1.6
pg_sqlog_13
PIGSTY 1.6
d12 x86_64 postgresql-17-pg-sqlog
PIGSTY 1.6
postgresql-16-pg-sqlog
PIGSTY 1.6
postgresql-15-pg-sqlog
PIGSTY 1.6
postgresql-14-pg-sqlog
PIGSTY 1.6
postgresql-13-pg-sqlog
PIGSTY 1.6
d12 aarch64 postgresql-17-pg-sqlog
PIGSTY 1.6
postgresql-16-pg-sqlog
PIGSTY 1.6
postgresql-15-pg-sqlog
PIGSTY 1.6
postgresql-14-pg-sqlog
PIGSTY 1.6
postgresql-13-pg-sqlog
PIGSTY 1.6
u22 x86_64 postgresql-17-pg-sqlog
PIGSTY 1.6
postgresql-16-pg-sqlog
PIGSTY 1.6
postgresql-15-pg-sqlog
PIGSTY 1.6
postgresql-14-pg-sqlog
PIGSTY 1.6
postgresql-13-pg-sqlog
PIGSTY 1.6
u22 aarch64 postgresql-17-pg-sqlog
PIGSTY 1.6
postgresql-16-pg-sqlog
PIGSTY 1.6
postgresql-15-pg-sqlog
PIGSTY 1.6
postgresql-14-pg-sqlog
PIGSTY 1.6
postgresql-13-pg-sqlog
PIGSTY 1.6
u24 x86_64 postgresql-17-pg-sqlog
PIGSTY 1.6
postgresql-16-pg-sqlog
PIGSTY 1.6
postgresql-15-pg-sqlog
PIGSTY 1.6
postgresql-14-pg-sqlog
PIGSTY 1.6
postgresql-13-pg-sqlog
PIGSTY 1.6
u24 aarch64 postgresql-17-pg-sqlog
PIGSTY 1.6
postgresql-16-pg-sqlog
PIGSTY 1.6
postgresql-15-pg-sqlog
PIGSTY 1.6
postgresql-14-pg-sqlog
PIGSTY 1.6
postgresql-13-pg-sqlog
PIGSTY 1.6

扩展安装

使用 pig 命令行工具安装 pg_sqlog 扩展:

pig ext install pg_sqlog

使用 Pigsty剧本 安装 pg_sqlog 扩展:

./pgsql.yml -t pg_extension -e '{"pg_extensions": ["pg_sqlog"]}' # -l <集群名>

YUM仓库 手工安装 pg_sqlog RPM 包:

dnf install pg_sqlog_17;
dnf install pg_sqlog_16;
dnf install pg_sqlog_15;
dnf install pg_sqlog_14;
dnf install pg_sqlog_13;

APT仓库 手工安装 pg_sqlog DEB 包:

apt install postgresql-17-pg-sqlog;
apt install postgresql-16-pg-sqlog;
apt install postgresql-15-pg-sqlog;
apt install postgresql-14-pg-sqlog;
apt install postgresql-13-pg-sqlog;

使用以下 SQL 命令在已经安装此扩展插件的 PG 集群上 启用 pg_sqlog 扩展:

CREATE EXTENSION pg_sqlog CASCADE;



15 - bgw_replstatus

用于汇报本机主从状态的后台工作进程

扩展总览

PGDG 第一方扩展: bgw_replstatus : 用于汇报本机主从状态的后台工作进程

基本信息

元数据

  • 默认版本: 1.0.7
  • PG大版本: 17,16,15,14,13
  • 动态加载: 需要显式加载
  • 需要DDL: 无需执行 CREATE EXTENSION DDL
  • 可重定位: 未知
  • 信任程度: 未受信任,创建扩展需要超级用户权限
  • 所需模式: 无
  • 所需扩展: 无

软件包

  • RPM仓库:PGDG
  • RPM包名:bgw_replstatus_$v*
  • RPM版本:1.0.6
  • RPM依赖:无
  • DEB仓库:PGDG
  • DEB包名:postgresql-$v-bgw-replstatus
  • DEB版本:1.0.7
  • DEB依赖:无

最新版本

系统 架构 PG17 PG16 PG15 PG14 PG13
el8 x86_64 bgw_replstatus_17
PGDG 1.0.6
bgw_replstatus_16
PGDG 1.0.6
bgw_replstatus_15
PGDG 1.0.6
bgw_replstatus_14
PGDG 1.0.6
bgw_replstatus_13
PGDG 1.0.6
el8 aarch64 bgw_replstatus_17
PGDG 1.0.6
bgw_replstatus_16
PGDG 1.0.6
bgw_replstatus_15
PGDG 1.0.6
bgw_replstatus_14
PGDG 1.0.6
bgw_replstatus_13
PGDG 1.0.6
el9 x86_64 bgw_replstatus_17
PGDG 1.0.6
bgw_replstatus_16
PGDG 1.0.6
bgw_replstatus_15
PGDG 1.0.6
bgw_replstatus_14
PGDG 1.0.6
bgw_replstatus_13
PGDG 1.0.6
el9 aarch64 bgw_replstatus_17
PGDG 1.0.6
bgw_replstatus_16
PGDG 1.0.6
bgw_replstatus_15
PGDG 1.0.6
bgw_replstatus_14
PGDG 1.0.6
bgw_replstatus_13
PGDG 1.0.6
d12 x86_64 postgresql-17-bgw-replstatus
PGDG 1.0.7
postgresql-16-bgw-replstatus
PGDG 1.0.7
postgresql-15-bgw-replstatus
PGDG 1.0.7
postgresql-14-bgw-replstatus
PGDG 1.0.7
postgresql-13-bgw-replstatus
PGDG 1.0.7
d12 aarch64 postgresql-17-bgw-replstatus
PGDG 1.0.7
postgresql-16-bgw-replstatus
PGDG 1.0.7
postgresql-15-bgw-replstatus
PGDG 1.0.7
postgresql-14-bgw-replstatus
PGDG 1.0.7
postgresql-13-bgw-replstatus
PGDG 1.0.7
u22 x86_64 postgresql-17-bgw-replstatus
PGDG 1.0.7
postgresql-16-bgw-replstatus
PGDG 1.0.7
postgresql-15-bgw-replstatus
PGDG 1.0.7
postgresql-14-bgw-replstatus
PGDG 1.0.7
postgresql-13-bgw-replstatus
PGDG 1.0.7
u22 aarch64 postgresql-17-bgw-replstatus
PGDG 1.0.7
postgresql-16-bgw-replstatus
PGDG 1.0.7
postgresql-15-bgw-replstatus
PGDG 1.0.7
postgresql-14-bgw-replstatus
PGDG 1.0.7
postgresql-13-bgw-replstatus
PGDG 1.0.7
u24 x86_64 postgresql-17-bgw-replstatus
PGDG 1.0.7
postgresql-16-bgw-replstatus
PGDG 1.0.7
postgresql-15-bgw-replstatus
PGDG 1.0.7
postgresql-14-bgw-replstatus
PGDG 1.0.7
postgresql-13-bgw-replstatus
PGDG 1.0.7
u24 aarch64 postgresql-17-bgw-replstatus
PGDG 1.0.7
postgresql-16-bgw-replstatus
PGDG 1.0.7
postgresql-15-bgw-replstatus
PGDG 1.0.7
postgresql-14-bgw-replstatus
PGDG 1.0.7
postgresql-13-bgw-replstatus
PGDG 1.0.7

扩展安装

使用 pig 命令行工具安装 bgw_replstatus 扩展:

pig ext install bgw_replstatus

使用 Pigsty剧本 安装 bgw_replstatus 扩展:

./pgsql.yml -t pg_extension -e '{"pg_extensions": ["bgw_replstatus"]}' # -l <集群名>

YUM仓库 手工安装 bgw_replstatus RPM 包:

dnf install bgw_replstatus_17*;
dnf install bgw_replstatus_16*;
dnf install bgw_replstatus_15*;
dnf install bgw_replstatus_14*;
dnf install bgw_replstatus_13*;

APT仓库 手工安装 bgw_replstatus DEB 包:

apt install postgresql-17-bgw-replstatus;
apt install postgresql-16-bgw-replstatus;
apt install postgresql-15-bgw-replstatus;
apt install postgresql-14-bgw-replstatus;
apt install postgresql-13-bgw-replstatus;

扩展 bgw_replstatus 需要通过 shared_preload_libraries 进行 动态加载

shared_preload_libraries = 'bgw_replstatus'; # 修改 PG 集群配置

扩展 %s 无需 手工执行 CREATE EXTENSION 命令。




16 - pgmeminfo

显示内存使用情况

扩展总览

MIXED 第三方扩展: pgmeminfo : 显示内存使用情况

基本信息

  • 扩展编号: 6350
  • 扩展名称: pgmeminfo
  • 标准包名: pgmeminfo
  • 扩展类目: STAT
  • 开源协议: MIT
  • 官方网站: https://github.com/okbob/pgmeminfo
  • 编程语言: C
  • 其他标签: pgdg-flaw
  • 备注信息:

元数据

  • 默认版本: 1.0.0
  • PG大版本: 17,16,15,14,13
  • 动态加载: 无需动态加载
  • 需要DDL: 需要执行 CREATE EXTENSION DDL
  • 可重定位: 可以重定位安装至其他模式下
  • 信任程度: 未受信任,创建扩展需要超级用户权限
  • 所需模式: 无
  • 所需扩展: 无

软件包

  • RPM仓库:PIGSTY
  • RPM包名:pgmeminfo_$v*
  • RPM版本:1.0.0
  • RPM依赖:无
  • DEB仓库:PIGSTY
  • DEB包名:postgresql-$v-pgmeminfo
  • DEB版本:1.0.0
  • DEB依赖:无

最新版本

系统 架构 PG17 PG16 PG15 PG14 PG13
el8 x86_64 pgmeminfo_17
PGDG 1.0.0
pgmeminfo_16
PIGSTY 1.0.0
pgmeminfo_15
PIGSTY 1.0.0
pgmeminfo_14
PIGSTY 1.0.0
pgmeminfo_13
PIGSTY 1.0.0
el8 aarch64 pgmeminfo_17
PGDG 1.0.0
pgmeminfo_16
PIGSTY 1.0.0
pgmeminfo_15
PIGSTY 1.0.0
pgmeminfo_14
PIGSTY 1.0.0
pgmeminfo_13
PIGSTY 1.0.0
el9 x86_64 pgmeminfo_17
PGDG 1.0.0
pgmeminfo_16
PIGSTY 1.0.0
pgmeminfo_15
PIGSTY 1.0.0
pgmeminfo_14
PIGSTY 1.0.0
pgmeminfo_13
PIGSTY 1.0.0
el9 aarch64 pgmeminfo_17
PGDG 1.0.0
pgmeminfo_16
PIGSTY 1.0.0
pgmeminfo_15
PIGSTY 1.0.0
pgmeminfo_14
PIGSTY 1.0.0
pgmeminfo_13
PIGSTY 1.0.0
d12 x86_64 postgresql-17-pgmeminfo
PIGSTY 1.0.0
postgresql-16-pgmeminfo
PIGSTY 1.0.0
postgresql-15-pgmeminfo
PIGSTY 1.0.0
postgresql-14-pgmeminfo
PIGSTY 1.0.0
postgresql-13-pgmeminfo
PIGSTY 1.0.0
d12 aarch64 postgresql-17-pgmeminfo
PIGSTY 1.0.0
postgresql-16-pgmeminfo
PIGSTY 1.0.0
postgresql-15-pgmeminfo
PIGSTY 1.0.0
postgresql-14-pgmeminfo
PIGSTY 1.0.0
postgresql-13-pgmeminfo
PIGSTY 1.0.0
u22 x86_64 postgresql-17-pgmeminfo
PIGSTY 1.0.0
postgresql-16-pgmeminfo
PIGSTY 1.0.0
postgresql-15-pgmeminfo
PIGSTY 1.0.0
postgresql-14-pgmeminfo
PIGSTY 1.0.0
postgresql-13-pgmeminfo
PIGSTY 1.0.0
u22 aarch64 postgresql-17-pgmeminfo
PIGSTY 1.0.0
postgresql-16-pgmeminfo
PIGSTY 1.0.0
postgresql-15-pgmeminfo
PIGSTY 1.0.0
postgresql-14-pgmeminfo
PIGSTY 1.0.0
postgresql-13-pgmeminfo
PIGSTY 1.0.0
u24 x86_64 postgresql-17-pgmeminfo
PIGSTY 1.0.0
postgresql-16-pgmeminfo
PIGSTY 1.0.0
postgresql-15-pgmeminfo
PIGSTY 1.0.0
postgresql-14-pgmeminfo
PIGSTY 1.0.0
postgresql-13-pgmeminfo
PIGSTY 1.0.0
u24 aarch64 postgresql-17-pgmeminfo
PIGSTY 1.0.0
postgresql-16-pgmeminfo
PIGSTY 1.0.0
postgresql-15-pgmeminfo
PIGSTY 1.0.0
postgresql-14-pgmeminfo
PIGSTY 1.0.0
postgresql-13-pgmeminfo
PIGSTY 1.0.0

扩展安装

使用 pig 命令行工具安装 pgmeminfo 扩展:

pig ext install pgmeminfo

使用 Pigsty剧本 安装 pgmeminfo 扩展:

./pgsql.yml -t pg_extension -e '{"pg_extensions": ["pgmeminfo"]}' # -l <集群名>

YUM仓库 手工安装 pgmeminfo RPM 包:

dnf install pgmeminfo_17*;
dnf install pgmeminfo_16*;
dnf install pgmeminfo_15*;
dnf install pgmeminfo_14*;
dnf install pgmeminfo_13*;

APT仓库 手工安装 pgmeminfo DEB 包:

apt install postgresql-17-pgmeminfo;
apt install postgresql-16-pgmeminfo;
apt install postgresql-15-pgmeminfo;
apt install postgresql-14-pgmeminfo;
apt install postgresql-13-pgmeminfo;

使用以下 SQL 命令在已经安装此扩展插件的 PG 集群上 启用 pgmeminfo 扩展:

CREATE EXTENSION pgmeminfo;



17 - toastinfo

显示TOAST字段的详细信息

扩展总览

PIGSTY 第三方扩展: toastinfo : 显示TOAST字段的详细信息

基本信息

元数据

  • 默认版本: 1.5
  • PG大版本: 17,16,15,14,13
  • 动态加载: 无需动态加载
  • 需要DDL: 需要执行 CREATE EXTENSION DDL
  • 可重定位: 无法安装至任意模式下
  • 信任程度: 未受信任,创建扩展需要超级用户权限
  • 所需模式: 无
  • 所需扩展: 无

软件包

  • RPM仓库:PIGSTY
  • RPM包名:toastinfo_$v*
  • RPM版本:1.4
  • RPM依赖:无
  • DEB仓库:PIGSTY
  • DEB包名:postgresql-$v-toastinfo
  • DEB版本:1.5
  • DEB依赖:无

最新版本

系统 架构 PG17 PG16 PG15 PG14 PG13
el8 x86_64 toastinfo_17
PIGSTY 1.4
toastinfo_16
PIGSTY 1.4
toastinfo_15
PIGSTY 1.4
toastinfo_14
PIGSTY 1.4
toastinfo_13
PIGSTY 1.4
el8 aarch64 toastinfo_17
PIGSTY 1.4
toastinfo_16
PIGSTY 1.4
toastinfo_15
PIGSTY 1.4
toastinfo_14
PIGSTY 1.4
toastinfo_13
PIGSTY 1.4
el9 x86_64 toastinfo_17
PIGSTY 1.4
toastinfo_16
PIGSTY 1.4
toastinfo_15
PIGSTY 1.4
toastinfo_14
PIGSTY 1.4
toastinfo_13
PIGSTY 1.4
el9 aarch64 toastinfo_17
PIGSTY 1.4
toastinfo_16
PIGSTY 1.4
toastinfo_15
PIGSTY 1.4
toastinfo_14
PIGSTY 1.4
toastinfo_13
PIGSTY 1.4
d12 x86_64 postgresql-17-toastinfo
PGDG 1.5
postgresql-16-toastinfo
PGDG 1.5
postgresql-15-toastinfo
PGDG 1.5
postgresql-14-toastinfo
PGDG 1.5
postgresql-13-toastinfo
PGDG 1.5
d12 aarch64 postgresql-17-toastinfo
PGDG 1.5
postgresql-16-toastinfo
PGDG 1.5
postgresql-15-toastinfo
PGDG 1.5
postgresql-14-toastinfo
PGDG 1.5
postgresql-13-toastinfo
PGDG 1.5
u22 x86_64 postgresql-17-toastinfo
PGDG 1.5
postgresql-16-toastinfo
PGDG 1.5
postgresql-15-toastinfo
PGDG 1.5
postgresql-14-toastinfo
PGDG 1.5
postgresql-13-toastinfo
PGDG 1.5
u22 aarch64 postgresql-17-toastinfo
PGDG 1.5
postgresql-16-toastinfo
PGDG 1.5
postgresql-15-toastinfo
PGDG 1.5
postgresql-14-toastinfo
PGDG 1.5
postgresql-13-toastinfo
PGDG 1.5
u24 x86_64 postgresql-17-toastinfo
PGDG 1.5
postgresql-16-toastinfo
PGDG 1.5
postgresql-15-toastinfo
PGDG 1.5
postgresql-14-toastinfo
PGDG 1.5
postgresql-13-toastinfo
PGDG 1.5
u24 aarch64 postgresql-17-toastinfo
PGDG 1.5
postgresql-16-toastinfo
PGDG 1.5
postgresql-15-toastinfo
PGDG 1.5
postgresql-14-toastinfo
PGDG 1.5
postgresql-13-toastinfo
PGDG 1.5

扩展安装

使用 pig 命令行工具安装 toastinfo 扩展:

pig ext install toastinfo

使用 Pigsty剧本 安装 toastinfo 扩展:

./pgsql.yml -t pg_extension -e '{"pg_extensions": ["toastinfo"]}' # -l <集群名>

YUM仓库 手工安装 toastinfo RPM 包:

dnf install toastinfo_17*;
dnf install toastinfo_16*;
dnf install toastinfo_15*;
dnf install toastinfo_14*;
dnf install toastinfo_13*;

APT仓库 手工安装 toastinfo DEB 包:

apt install postgresql-17-toastinfo;
apt install postgresql-16-toastinfo;
apt install postgresql-15-toastinfo;
apt install postgresql-14-toastinfo;
apt install postgresql-13-toastinfo;

使用以下 SQL 命令在已经安装此扩展插件的 PG 集群上 启用 toastinfo 扩展:

CREATE EXTENSION toastinfo;



18 - explain_ui

快速跳转至PEV查阅可视化执行计划

扩展总览

PIGSTY 第三方扩展: pg_explain_ui : 快速跳转至PEV查阅可视化执行计划

基本信息

元数据

  • 默认版本: 0.0.1
  • PG大版本: 17,16,15,14,13
  • 动态加载: 无需动态加载
  • 需要DDL: 需要执行 CREATE EXTENSION DDL
  • 可重定位: 可以重定位安装至其他模式下
  • 信任程度: 受信任,无需超级用户,带 CREATE 权限的用户可以直接创建
  • 所需模式: 无
  • 所需扩展: 无

软件包

  • RPM仓库:PIGSTY
  • RPM包名:pg_explain_ui_$v
  • RPM版本:0.0.1
  • RPM依赖:无
  • DEB仓库:PIGSTY
  • DEB包名:postgresql-$v-pg-explain-ui
  • DEB版本:0.0.1
  • DEB依赖:无

最新版本

系统 架构 PG17 PG16 PG15 PG14 PG13
el8 x86_64 pg_explain_ui_17
PIGSTY 0.0.1
pg_explain_ui_16
PIGSTY 0.0.1
pg_explain_ui_15
PIGSTY 0.0.1
pg_explain_ui_14
PIGSTY 0.0.1
pg_explain_ui_13
PIGSTY 0.0.1
el8 aarch64 pg_explain_ui_17
PIGSTY 0.0.1
pg_explain_ui_16
PIGSTY 0.0.1
pg_explain_ui_15
PIGSTY 0.0.1
pg_explain_ui_14
PIGSTY 0.0.1
pg_explain_ui_13
PIGSTY 0.0.1
el9 x86_64 pg_explain_ui_17
PIGSTY 0.0.1
pg_explain_ui_16
PIGSTY 0.0.1
pg_explain_ui_15
PIGSTY 0.0.1
pg_explain_ui_14
PIGSTY 0.0.1
pg_explain_ui_13
PIGSTY 0.0.1
el9 aarch64 pg_explain_ui_17
PIGSTY 0.0.1
pg_explain_ui_16
PIGSTY 0.0.1
pg_explain_ui_15
PIGSTY 0.0.1
pg_explain_ui_14
PIGSTY 0.0.1
pg_explain_ui_13
PIGSTY 0.0.1
d12 x86_64 postgresql-17-pg-explain-ui
PIGSTY 0.0.0
postgresql-16-pg-explain-ui
PIGSTY 0.0.0
postgresql-15-pg-explain-ui
PIGSTY 0.0.0
postgresql-14-pg-explain-ui
PIGSTY 0.0.0
postgresql-13-pg-explain-ui
PIGSTY 0.0.0
d12 aarch64 postgresql-17-pg-explain-ui
PIGSTY 0.0.0
postgresql-16-pg-explain-ui
PIGSTY 0.0.0
postgresql-15-pg-explain-ui
PIGSTY 0.0.0
postgresql-14-pg-explain-ui
PIGSTY 0.0.0
postgresql-13-pg-explain-ui
PIGSTY 0.0.0
u22 x86_64 postgresql-17-pg-explain-ui
PIGSTY 0.0.0
postgresql-16-pg-explain-ui
PIGSTY 0.0.0
postgresql-15-pg-explain-ui
PIGSTY 0.0.0
postgresql-14-pg-explain-ui
PIGSTY 0.0.0
postgresql-13-pg-explain-ui
PIGSTY 0.0.0
u22 aarch64 postgresql-17-pg-explain-ui
PIGSTY 0.0.0
postgresql-16-pg-explain-ui
PIGSTY 0.0.0
postgresql-15-pg-explain-ui
PIGSTY 0.0.0
postgresql-14-pg-explain-ui
PIGSTY 0.0.0
postgresql-13-pg-explain-ui
PIGSTY 0.0.0
u24 x86_64 postgresql-17-pg-explain-ui
PIGSTY 0.0.0
postgresql-16-pg-explain-ui
PIGSTY 0.0.0
postgresql-15-pg-explain-ui
PIGSTY 0.0.0
postgresql-14-pg-explain-ui
PIGSTY 0.0.0
postgresql-13-pg-explain-ui
PIGSTY 0.0.0
u24 aarch64 postgresql-17-pg-explain-ui
PIGSTY 0.0.0
postgresql-16-pg-explain-ui
PIGSTY 0.0.0
postgresql-15-pg-explain-ui
PIGSTY 0.0.0
postgresql-14-pg-explain-ui
PIGSTY 0.0.0
postgresql-13-pg-explain-ui
PIGSTY 0.0.0

扩展安装

使用 pig 命令行工具安装 pg_explain_ui 扩展:

pig ext install pg_explain_ui; # 扩展名称
pig ext install explain_ui; # 标准包名

使用 Pigsty剧本 安装 pg_explain_ui 扩展:

./pgsql.yml -t pg_extension -e '{"pg_extensions": ["pg_explain_ui"]}' # -l <集群名>

YUM仓库 手工安装 pg_explain_ui RPM 包:

dnf install pg_explain_ui_17;
dnf install pg_explain_ui_16;
dnf install pg_explain_ui_15;
dnf install pg_explain_ui_14;
dnf install pg_explain_ui_13;

APT仓库 手工安装 pg_explain_ui DEB 包:

apt install postgresql-17-pg-explain-ui;
apt install postgresql-16-pg-explain-ui;
apt install postgresql-15-pg-explain-ui;
apt install postgresql-14-pg-explain-ui;
apt install postgresql-13-pg-explain-ui;

使用以下 SQL 命令在已经安装此扩展插件的 PG 集群上 启用 explain_ui 扩展:

CREATE EXTENSION explain_ui;



19 - pg_relusage

打印查询引用的表与列

扩展总览

PIGSTY 第三方扩展: pg_relusage : 打印查询引用的表与列

基本信息

元数据

  • 默认版本: 0.0.1
  • PG大版本: 17,16,15,14,13
  • 动态加载: 需要显式加载
  • 需要DDL: 无需执行 CREATE EXTENSION DDL
  • 可重定位: 可以重定位安装至其他模式下
  • 信任程度: 未受信任,创建扩展需要超级用户权限
  • 所需模式: 无
  • 所需扩展: 无

软件包

  • RPM仓库:PIGSTY
  • RPM包名:pg_relusage_$v
  • RPM版本:0.0.1
  • RPM依赖:无
  • DEB仓库:PIGSTY
  • DEB包名:postgresql-$v-pg-relusage
  • DEB版本:0.0.1
  • DEB依赖:无

最新版本

系统 架构 PG17 PG16 PG15 PG14 PG13
el8 x86_64 pg_relusage_17
PIGSTY 0.0.1
pg_relusage_16
PIGSTY 0.0.1
pg_relusage_15
PIGSTY 0.0.1
pg_relusage_14
PIGSTY 0.0.1
pg_relusage_13
PIGSTY 0.0.1
el8 aarch64 pg_relusage_17
PIGSTY 0.0.1
pg_relusage_16
PIGSTY 0.0.1
pg_relusage_15
PIGSTY 0.0.1
pg_relusage_14
PIGSTY 0.0.1
pg_relusage_13
PIGSTY 0.0.1
el9 x86_64 pg_relusage_17
PIGSTY 0.0.1
pg_relusage_16
PIGSTY 0.0.1
pg_relusage_15
PIGSTY 0.0.1
pg_relusage_14
PIGSTY 0.0.1
pg_relusage_13
PIGSTY 0.0.1
el9 aarch64 pg_relusage_17
PIGSTY 0.0.1
pg_relusage_16
PIGSTY 0.0.1
pg_relusage_15
PIGSTY 0.0.1
pg_relusage_14
PIGSTY 0.0.1
pg_relusage_13
PIGSTY 0.0.1
d12 x86_64 postgresql-17-pg-relusage
PIGSTY 0.0.1
postgresql-16-pg-relusage
PIGSTY 0.0.1
postgresql-15-pg-relusage
PIGSTY 0.0.1
postgresql-14-pg-relusage
PIGSTY 0.0.1
postgresql-13-pg-relusage
PIGSTY 0.0.1
d12 aarch64 postgresql-17-pg-relusage
PIGSTY 0.0.1
postgresql-16-pg-relusage
PIGSTY 0.0.1
postgresql-15-pg-relusage
PIGSTY 0.0.1
postgresql-14-pg-relusage
PIGSTY 0.0.1
postgresql-13-pg-relusage
PIGSTY 0.0.1
u22 x86_64 postgresql-17-pg-relusage
PIGSTY 0.0.1
postgresql-16-pg-relusage
PIGSTY 0.0.1
postgresql-15-pg-relusage
PIGSTY 0.0.1
postgresql-14-pg-relusage
PIGSTY 0.0.1
postgresql-13-pg-relusage
PIGSTY 0.0.1
u22 aarch64 postgresql-17-pg-relusage
PIGSTY 0.0.1
postgresql-16-pg-relusage
PIGSTY 0.0.1
postgresql-15-pg-relusage
PIGSTY 0.0.1
postgresql-14-pg-relusage
PIGSTY 0.0.1
postgresql-13-pg-relusage
PIGSTY 0.0.1
u24 x86_64 postgresql-17-pg-relusage
PIGSTY 0.0.1
postgresql-16-pg-relusage
PIGSTY 0.0.1
postgresql-15-pg-relusage
PIGSTY 0.0.1
postgresql-14-pg-relusage
PIGSTY 0.0.1
postgresql-13-pg-relusage
PIGSTY 0.0.1
u24 aarch64 postgresql-17-pg-relusage
PIGSTY 0.0.1
postgresql-16-pg-relusage
PIGSTY 0.0.1
postgresql-15-pg-relusage
PIGSTY 0.0.1
postgresql-14-pg-relusage
PIGSTY 0.0.1
postgresql-13-pg-relusage
PIGSTY 0.0.1

扩展安装

使用 pig 命令行工具安装 pg_relusage 扩展:

pig ext install pg_relusage

使用 Pigsty剧本 安装 pg_relusage 扩展:

./pgsql.yml -t pg_extension -e '{"pg_extensions": ["pg_relusage"]}' # -l <集群名>

YUM仓库 手工安装 pg_relusage RPM 包:

dnf install pg_relusage_17;
dnf install pg_relusage_16;
dnf install pg_relusage_15;
dnf install pg_relusage_14;
dnf install pg_relusage_13;

APT仓库 手工安装 pg_relusage DEB 包:

apt install postgresql-17-pg-relusage;
apt install postgresql-16-pg-relusage;
apt install postgresql-15-pg-relusage;
apt install postgresql-14-pg-relusage;
apt install postgresql-13-pg-relusage;

扩展 pg_relusage 需要通过 shared_preload_libraries 进行 动态加载

shared_preload_libraries = 'pg_relusage'; # 修改 PG 集群配置

扩展 %s 无需 手工执行 CREATE EXTENSION 命令。




20 - pagevis

使用ASCII字符可视化数据库物理页面布局

扩展总览

PIGSTY 第三方扩展: pagevis : 使用ASCII字符可视化数据库物理页面布局

基本信息

  • 扩展编号: 6800
  • 扩展名称: pagevis
  • 标准包名: pagevis
  • 扩展类目: STAT
  • 开源协议: MIT
  • 官方网站: https://github.com/hollobon/pagevis
  • 编程语言: 纯SQL
  • 其他标签: 无
  • 备注信息: 无

元数据

  • 默认版本: 0.1
  • PG大版本: 17,16,15,14,13
  • 动态加载: 无需动态加载
  • 需要DDL: 需要执行 CREATE EXTENSION DDL
  • 可重定位: 无法安装至任意模式下
  • 信任程度: 未知
  • 所需模式: 无
  • 所需扩展: 无

软件包

  • RPM仓库:PIGSTY
  • RPM包名:pagevis_$v
  • RPM版本:0.1
  • RPM依赖:无
  • DEB仓库:PIGSTY
  • DEB包名:postgresql-$v-pagevis
  • DEB版本:0.1
  • DEB依赖:无

最新版本

系统 架构 PG17 PG16 PG15 PG14 PG13
el8 x86_64 pagevis_17
PIGSTY 0.1
pagevis_16
PIGSTY 0.1
pagevis_15
PIGSTY 0.1
pagevis_14
PIGSTY 0.1
pagevis_13
PIGSTY 0.1
el8 aarch64 pagevis_17
PIGSTY 0.1
pagevis_16
PIGSTY 0.1
pagevis_15
PIGSTY 0.1
pagevis_14
PIGSTY 0.1
pagevis_13
PIGSTY 0.1
el9 x86_64 pagevis_17
PIGSTY 0.1
pagevis_16
PIGSTY 0.1
pagevis_15
PIGSTY 0.1
pagevis_14
PIGSTY 0.1
pagevis_13
PIGSTY 0.1
el9 aarch64 pagevis_17
PIGSTY 0.1
pagevis_16
PIGSTY 0.1
pagevis_15
PIGSTY 0.1
pagevis_14
PIGSTY 0.1
pagevis_13
PIGSTY 0.1
d12 x86_64 postgresql-17-pagevis
PIGSTY 0.1
postgresql-16-pagevis
PIGSTY 0.1
postgresql-15-pagevis
PIGSTY 0.1
postgresql-14-pagevis
PIGSTY 0.1
postgresql-13-pagevis
PIGSTY 0.1
d12 aarch64 postgresql-17-pagevis
PIGSTY 0.1
postgresql-16-pagevis
PIGSTY 0.1
postgresql-15-pagevis
PIGSTY 0.1
postgresql-14-pagevis
PIGSTY 0.1
postgresql-13-pagevis
PIGSTY 0.1
u22 x86_64 postgresql-17-pagevis
PIGSTY 0.1
postgresql-16-pagevis
PIGSTY 0.1
postgresql-15-pagevis
PIGSTY 0.1
postgresql-14-pagevis
PIGSTY 0.1
postgresql-13-pagevis
PIGSTY 0.1
u22 aarch64 postgresql-17-pagevis
PIGSTY 0.1
postgresql-16-pagevis
PIGSTY 0.1
postgresql-15-pagevis
PIGSTY 0.1
postgresql-14-pagevis
PIGSTY 0.1
postgresql-13-pagevis
PIGSTY 0.1
u24 x86_64 postgresql-17-pagevis
PIGSTY 0.1
postgresql-16-pagevis
PIGSTY 0.1
postgresql-15-pagevis
PIGSTY 0.1
postgresql-14-pagevis
PIGSTY 0.1
postgresql-13-pagevis
PIGSTY 0.1
u24 aarch64 postgresql-17-pagevis
PIGSTY 0.1
postgresql-16-pagevis
PIGSTY 0.1
postgresql-15-pagevis
PIGSTY 0.1
postgresql-14-pagevis
PIGSTY 0.1
postgresql-13-pagevis
PIGSTY 0.1

扩展安装

使用 pig 命令行工具安装 pagevis 扩展:

pig ext install pagevis

使用 Pigsty剧本 安装 pagevis 扩展:

./pgsql.yml -t pg_extension -e '{"pg_extensions": ["pagevis"]}' # -l <集群名>

YUM仓库 手工安装 pagevis RPM 包:

dnf install pagevis_17;
dnf install pagevis_16;
dnf install pagevis_15;
dnf install pagevis_14;
dnf install pagevis_13;

APT仓库 手工安装 pagevis DEB 包:

apt install postgresql-17-pagevis;
apt install postgresql-16-pagevis;
apt install postgresql-15-pagevis;
apt install postgresql-14-pagevis;
apt install postgresql-13-pagevis;

使用以下 SQL 命令在已经安装此扩展插件的 PG 集群上 启用 pagevis 扩展:

CREATE EXTENSION pagevis;



21 - powa

PostgreSQL 工作负载分析器-核心

扩展总览

PGDG 第一方扩展: powa : PostgreSQL 工作负载分析器-核心

基本信息

元数据

  • 默认版本: 5.0.1
  • PG大版本: 17,16,15,14,13
  • 动态加载: 无需动态加载
  • 需要DDL: 需要执行 CREATE EXTENSION DDL
  • 可重定位: 可以重定位安装至其他模式下
  • 信任程度: 未受信任,创建扩展需要超级用户权限
  • 所需模式: public
  • 所需扩展: plpgsql, pg_stat_statements, btree_gist

软件包

  • RPM仓库:PGDG
  • RPM包名:powa_$v*
  • RPM版本:5.0.1
  • RPM依赖:无
  • DEB仓库:PGDG
  • DEB包名:postgresql-$v-powa
  • DEB版本:5.0.1
  • DEB依赖:无

最新版本

系统 架构 PG17 PG16 PG15 PG14 PG13
el8 x86_64 powa_17
PGDG 5.0.1
powa_16
PGDG 5.0.1
powa_15
PGDG 5.0.1
powa_14
PGDG 5.0.1
powa_13
PGDG 5.0.1
el8 aarch64 powa_17
PGDG 5.0.1
powa_16
PGDG 5.0.1
powa_15
PGDG 5.0.1
powa_14
PGDG 5.0.1
powa_13
PGDG 5.0.1
el9 x86_64 powa_17
PGDG 5.0.1
powa_16
PGDG 5.0.1
powa_15
PGDG 5.0.1
powa_14
PGDG 5.0.1
powa_13
PGDG 5.0.1
el9 aarch64 powa_17
PGDG 5.0.1
powa_16
PGDG 5.0.1
powa_15
PGDG 5.0.1
powa_14
PGDG 5.0.1
powa_13
PGDG 5.0.1
d12 x86_64 postgresql-17-powa
PGDG 5.0.1
postgresql-16-powa
PGDG 5.0.1
postgresql-15-powa
PGDG 5.0.1
postgresql-14-powa
PGDG 5.0.1
postgresql-13-powa
PGDG 5.0.1
d12 aarch64 postgresql-17-powa
PGDG 5.0.1
postgresql-16-powa
PGDG 5.0.1
postgresql-15-powa
PGDG 5.0.1
postgresql-14-powa
PGDG 5.0.1
postgresql-13-powa
PGDG 5.0.1
u22 x86_64 postgresql-17-powa
PGDG 5.0.1
postgresql-16-powa
PGDG 5.0.1
postgresql-15-powa
PGDG 5.0.1
postgresql-14-powa
PGDG 5.0.1
postgresql-13-powa
PGDG 5.0.1
u22 aarch64 postgresql-17-powa
PGDG 5.0.1
postgresql-16-powa
PGDG 5.0.1
postgresql-15-powa
PGDG 5.0.1
postgresql-14-powa
PGDG 5.0.1
postgresql-13-powa
PGDG 5.0.1
u24 x86_64 postgresql-17-powa
PGDG 5.0.1
postgresql-16-powa
PGDG 5.0.1
postgresql-15-powa
PGDG 5.0.1
postgresql-14-powa
PGDG 5.0.1
postgresql-13-powa
PGDG 5.0.1
u24 aarch64 postgresql-17-powa
PGDG 5.0.1
postgresql-16-powa
PGDG 5.0.1
postgresql-15-powa
PGDG 5.0.1
postgresql-14-powa
PGDG 5.0.1
postgresql-13-powa
PGDG 5.0.1

扩展安装

使用 pig 命令行工具安装 powa 扩展:

pig ext install powa

使用 Pigsty剧本 安装 powa 扩展:

./pgsql.yml -t pg_extension -e '{"pg_extensions": ["powa"]}' # -l <集群名>

YUM仓库 手工安装 powa RPM 包:

dnf install powa_17*;
dnf install powa_16*;
dnf install powa_15*;
dnf install powa_14*;
dnf install powa_13*;

APT仓库 手工安装 powa DEB 包:

apt install postgresql-17-powa;
apt install postgresql-16-powa;
apt install postgresql-15-powa;
apt install postgresql-14-powa;
apt install postgresql-13-powa;

使用以下 SQL 命令在已经安装此扩展插件的 PG 集群上 启用 powa 扩展:

CREATE EXTENSION powa CASCADE;



22 - pageinspect

检查数据库页面二进制内容

扩展总览

CONTRIB 自带扩展: pageinspect : 检查数据库页面二进制内容

基本信息

元数据

  • 默认版本: 1.12
  • PG大版本: 17,16,15,14,13
  • 动态加载: 无需动态加载
  • 需要DDL: 需要执行 CREATE EXTENSION DDL
  • 可重定位: 未知
  • 信任程度: 未受信任,创建扩展需要超级用户权限
  • 所需模式: 无
  • 所需扩展: 无

软件包

PostgreSQL 自带 Contrib 扩展模块


最新版本

系统 架构 PG17 PG16 PG15 PG14 PG13
el8 x86_64
el8 aarch64
el9 x86_64
el9 aarch64
d12 x86_64
d12 aarch64
u22 x86_64
u22 aarch64
u24 x86_64
u24 aarch64

扩展安装

扩展 pageinspect 属于 PostgreSQL 自带的第一方 Contrib 扩展,无需独立安装。

YUM仓库 手工安装 pageinspect RPM 包:

dnf install postgresql17-contrib;
dnf install postgresql16-contrib;
dnf install postgresql15-contrib;
dnf install postgresql14-contrib;
dnf install postgresql13-contrib;

APT仓库 手工安装 pageinspect DEB 包:

apt install postgresql-17;
apt install postgresql-16;
apt install postgresql-15;
apt install postgresql-14;
apt install postgresql-13;

使用以下 SQL 命令在已经安装此扩展插件的 PG 集群上 启用 pageinspect 扩展:

CREATE EXTENSION pageinspect;



23 - pgrowlocks

显示行级锁信息

扩展总览

CONTRIB 自带扩展: pgrowlocks : 显示行级锁信息

基本信息

元数据

  • 默认版本: 1.2
  • PG大版本: 17,16,15,14,13
  • 动态加载: 无需动态加载
  • 需要DDL: 需要执行 CREATE EXTENSION DDL
  • 可重定位: 未知
  • 信任程度: 未受信任,创建扩展需要超级用户权限
  • 所需模式: 无
  • 所需扩展: 无

软件包

PostgreSQL 自带 Contrib 扩展模块


最新版本

系统 架构 PG17 PG16 PG15 PG14 PG13
el8 x86_64
el8 aarch64
el9 x86_64
el9 aarch64
d12 x86_64
d12 aarch64
u22 x86_64
u22 aarch64
u24 x86_64
u24 aarch64

扩展安装

扩展 pgrowlocks 属于 PostgreSQL 自带的第一方 Contrib 扩展,无需独立安装。

YUM仓库 手工安装 pgrowlocks RPM 包:

dnf install postgresql17-contrib;
dnf install postgresql16-contrib;
dnf install postgresql15-contrib;
dnf install postgresql14-contrib;
dnf install postgresql13-contrib;

APT仓库 手工安装 pgrowlocks DEB 包:

apt install postgresql-17;
apt install postgresql-16;
apt install postgresql-15;
apt install postgresql-14;
apt install postgresql-13;

使用以下 SQL 命令在已经安装此扩展插件的 PG 集群上 启用 pgrowlocks 扩展:

CREATE EXTENSION pgrowlocks;



24 - sslinfo

关于 SSL 证书的信息

扩展总览

CONTRIB 自带扩展: sslinfo : 关于 SSL 证书的信息

基本信息

元数据

  • 默认版本: 1.2
  • PG大版本: 17,16,15,14,13
  • 动态加载: 无需动态加载
  • 需要DDL: 需要执行 CREATE EXTENSION DDL
  • 可重定位: 未知
  • 信任程度: 未受信任,创建扩展需要超级用户权限
  • 所需模式: 无
  • 所需扩展: 无

软件包

PostgreSQL 自带 Contrib 扩展模块


最新版本

系统 架构 PG17 PG16 PG15 PG14 PG13
el8 x86_64
el8 aarch64
el9 x86_64
el9 aarch64
d12 x86_64
d12 aarch64
u22 x86_64
u22 aarch64
u24 x86_64
u24 aarch64

扩展安装

扩展 sslinfo 属于 PostgreSQL 自带的第一方 Contrib 扩展,无需独立安装。

YUM仓库 手工安装 sslinfo RPM 包:

dnf install postgresql17-contrib;
dnf install postgresql16-contrib;
dnf install postgresql15-contrib;
dnf install postgresql14-contrib;
dnf install postgresql13-contrib;

APT仓库 手工安装 sslinfo DEB 包:

apt install postgresql-17;
apt install postgresql-16;
apt install postgresql-15;
apt install postgresql-14;
apt install postgresql-13;

使用以下 SQL 命令在已经安装此扩展插件的 PG 集群上 启用 sslinfo 扩展:

CREATE EXTENSION sslinfo;



25 - pg_buffercache

检查共享缓冲区缓存

扩展总览

CONTRIB 自带扩展: pg_buffercache : 检查共享缓冲区缓存

基本信息

元数据

  • 默认版本: 1.5
  • PG大版本: 17,16,15,14,13
  • 动态加载: 无需动态加载
  • 需要DDL: 需要执行 CREATE EXTENSION DDL
  • 可重定位: 未知
  • 信任程度: 未受信任,创建扩展需要超级用户权限
  • 所需模式: 无
  • 所需扩展: 无

软件包

PostgreSQL 自带 Contrib 扩展模块


最新版本

系统 架构 PG17 PG16 PG15 PG14 PG13
el8 x86_64
el8 aarch64
el9 x86_64
el9 aarch64
d12 x86_64
d12 aarch64
u22 x86_64
u22 aarch64
u24 x86_64
u24 aarch64

扩展安装

扩展 pg_buffercache 属于 PostgreSQL 自带的第一方 Contrib 扩展,无需独立安装。

YUM仓库 手工安装 pg_buffercache RPM 包:

dnf install postgresql17-contrib;
dnf install postgresql16-contrib;
dnf install postgresql15-contrib;
dnf install postgresql14-contrib;
dnf install postgresql13-contrib;

APT仓库 手工安装 pg_buffercache DEB 包:

apt install postgresql-17;
apt install postgresql-16;
apt install postgresql-15;
apt install postgresql-14;
apt install postgresql-13;

使用以下 SQL 命令在已经安装此扩展插件的 PG 集群上 启用 pg_buffercache 扩展:

CREATE EXTENSION pg_buffercache;



26 - pg_walinspect

用于检查 PostgreSQL WAL 日志内容的函数

扩展总览

CONTRIB 自带扩展: pg_walinspect : 用于检查 PostgreSQL WAL 日志内容的函数

基本信息

元数据

  • 默认版本: 1.1
  • PG大版本: 17,16,15
  • 动态加载: 无需动态加载
  • 需要DDL: 需要执行 CREATE EXTENSION DDL
  • 可重定位: 未知
  • 信任程度: 未受信任,创建扩展需要超级用户权限
  • 所需模式: 无
  • 所需扩展: 无

软件包

PostgreSQL 自带 Contrib 扩展模块


最新版本

系统 架构 PG17 PG16 PG15 PG14 PG13
el8 x86_64
el8 aarch64
el9 x86_64
el9 aarch64
d12 x86_64
d12 aarch64
u22 x86_64
u22 aarch64
u24 x86_64
u24 aarch64

扩展安装

扩展 pg_walinspect 属于 PostgreSQL 自带的第一方 Contrib 扩展,无需独立安装。

YUM仓库 手工安装 pg_walinspect RPM 包:

dnf install postgresql17-contrib;
dnf install postgresql16-contrib;
dnf install postgresql15-contrib;

APT仓库 手工安装 pg_walinspect DEB 包:

apt install postgresql-17;
apt install postgresql-16;
apt install postgresql-15;

使用以下 SQL 命令在已经安装此扩展插件的 PG 集群上 启用 pg_walinspect 扩展:

CREATE EXTENSION pg_walinspect;



27 - pg_freespacemap

检查自由空间映射的内容(FSM)

扩展总览

CONTRIB 自带扩展: pg_freespacemap : 检查自由空间映射的内容(FSM)

基本信息

元数据

  • 默认版本: 1.2
  • PG大版本: 17,16,15,14,13
  • 动态加载: 无需动态加载
  • 需要DDL: 需要执行 CREATE EXTENSION DDL
  • 可重定位: 未知
  • 信任程度: 未受信任,创建扩展需要超级用户权限
  • 所需模式: 无
  • 所需扩展: 无

软件包

PostgreSQL 自带 Contrib 扩展模块


最新版本

系统 架构 PG17 PG16 PG15 PG14 PG13
el8 x86_64
el8 aarch64
el9 x86_64
el9 aarch64
d12 x86_64
d12 aarch64
u22 x86_64
u22 aarch64
u24 x86_64
u24 aarch64

扩展安装

扩展 pg_freespacemap 属于 PostgreSQL 自带的第一方 Contrib 扩展,无需独立安装。

YUM仓库 手工安装 pg_freespacemap RPM 包:

dnf install postgresql17-contrib;
dnf install postgresql16-contrib;
dnf install postgresql15-contrib;
dnf install postgresql14-contrib;
dnf install postgresql13-contrib;

APT仓库 手工安装 pg_freespacemap DEB 包:

apt install postgresql-17;
apt install postgresql-16;
apt install postgresql-15;
apt install postgresql-14;
apt install postgresql-13;

使用以下 SQL 命令在已经安装此扩展插件的 PG 集群上 启用 pg_freespacemap 扩展:

CREATE EXTENSION pg_freespacemap;



28 - pg_visibility

检查可见性图(VM)和页面级可见性信息

扩展总览

CONTRIB 自带扩展: pg_visibility : 检查可见性图(VM)和页面级可见性信息

基本信息

元数据

  • 默认版本: 1.2
  • PG大版本: 17,16,15,14,13
  • 动态加载: 无需动态加载
  • 需要DDL: 需要执行 CREATE EXTENSION DDL
  • 可重定位: 未知
  • 信任程度: 未受信任,创建扩展需要超级用户权限
  • 所需模式: 无
  • 所需扩展: 无

软件包

PostgreSQL 自带 Contrib 扩展模块


最新版本

系统 架构 PG17 PG16 PG15 PG14 PG13
el8 x86_64
el8 aarch64
el9 x86_64
el9 aarch64
d12 x86_64
d12 aarch64
u22 x86_64
u22 aarch64
u24 x86_64
u24 aarch64

扩展安装

扩展 pg_visibility 属于 PostgreSQL 自带的第一方 Contrib 扩展,无需独立安装。

YUM仓库 手工安装 pg_visibility RPM 包:

dnf install postgresql17-contrib;
dnf install postgresql16-contrib;
dnf install postgresql15-contrib;
dnf install postgresql14-contrib;
dnf install postgresql13-contrib;

APT仓库 手工安装 pg_visibility DEB 包:

apt install postgresql-17;
apt install postgresql-16;
apt install postgresql-15;
apt install postgresql-14;
apt install postgresql-13;

使用以下 SQL 命令在已经安装此扩展插件的 PG 集群上 启用 pg_visibility 扩展:

CREATE EXTENSION pg_visibility;



29 - pgstattuple

显示元组级统计信息

扩展总览

CONTRIB 自带扩展: pgstattuple : 显示元组级统计信息

基本信息

元数据

  • 默认版本: 1.5
  • PG大版本: 17,16,15,14,13
  • 动态加载: 无需动态加载
  • 需要DDL: 需要执行 CREATE EXTENSION DDL
  • 可重定位: 未知
  • 信任程度: 未受信任,创建扩展需要超级用户权限
  • 所需模式: 无
  • 所需扩展: 无

软件包

PostgreSQL 自带 Contrib 扩展模块


最新版本

系统 架构 PG17 PG16 PG15 PG14 PG13
el8 x86_64
el8 aarch64
el9 x86_64
el9 aarch64
d12 x86_64
d12 aarch64
u22 x86_64
u22 aarch64
u24 x86_64
u24 aarch64

扩展安装

扩展 pgstattuple 属于 PostgreSQL 自带的第一方 Contrib 扩展,无需独立安装。

YUM仓库 手工安装 pgstattuple RPM 包:

dnf install postgresql17-contrib;
dnf install postgresql16-contrib;
dnf install postgresql15-contrib;
dnf install postgresql14-contrib;
dnf install postgresql13-contrib;

APT仓库 手工安装 pgstattuple DEB 包:

apt install postgresql-17;
apt install postgresql-16;
apt install postgresql-15;
apt install postgresql-14;
apt install postgresql-13;

使用以下 SQL 命令在已经安装此扩展插件的 PG 集群上 启用 pgstattuple 扩展:

CREATE EXTENSION pgstattuple;



30 - auto_explain

提供一种自动记录执行计划的手段

扩展总览

CONTRIB 自带扩展: auto_explain : 提供一种自动记录执行计划的手段

基本信息

元数据

  • 默认版本: -
  • PG大版本: 17,16,15,14,13
  • 动态加载: 需要显式加载
  • 需要DDL: 无需执行 CREATE EXTENSION DDL
  • 可重定位: 未知
  • 信任程度: 未受信任,创建扩展需要超级用户权限
  • 所需模式: 无
  • 所需扩展: 无

软件包

PostgreSQL 自带 Contrib 扩展模块


最新版本

系统 架构 PG17 PG16 PG15 PG14 PG13
el8 x86_64
el8 aarch64
el9 x86_64
el9 aarch64
d12 x86_64
d12 aarch64
u22 x86_64
u22 aarch64
u24 x86_64
u24 aarch64

扩展安装

扩展 auto_explain 属于 PostgreSQL 自带的第一方 Contrib 扩展,无需独立安装。

YUM仓库 手工安装 auto_explain RPM 包:

dnf install postgresql17-contrib;
dnf install postgresql16-contrib;
dnf install postgresql15-contrib;
dnf install postgresql14-contrib;
dnf install postgresql13-contrib;

APT仓库 手工安装 auto_explain DEB 包:

apt install postgresql-17;
apt install postgresql-16;
apt install postgresql-15;
apt install postgresql-14;
apt install postgresql-13;

扩展 auto_explain 需要通过 shared_preload_libraries 进行 动态加载

shared_preload_libraries = 'auto_explain'; # 修改 PG 集群配置

扩展 %s 无需 手工执行 CREATE EXTENSION 命令。




31 - pg_stat_statements

跟踪所有执行的 SQL 语句的计划和执行统计信息

扩展总览

CONTRIB 自带扩展: pg_stat_statements : 跟踪所有执行的 SQL 语句的计划和执行统计信息

基本信息

元数据

  • 默认版本: 1.11
  • PG大版本: 17,16,15,14,13
  • 动态加载: 需要显式加载
  • 需要DDL: 需要执行 CREATE EXTENSION DDL
  • 可重定位: 未知
  • 信任程度: 未受信任,创建扩展需要超级用户权限
  • 所需模式: 无
  • 所需扩展: 无

软件包

PostgreSQL 自带 Contrib 扩展模块


最新版本

系统 架构 PG17 PG16 PG15 PG14 PG13
el8 x86_64
el8 aarch64
el9 x86_64
el9 aarch64
d12 x86_64
d12 aarch64
u22 x86_64
u22 aarch64
u24 x86_64
u24 aarch64

扩展安装

扩展 pg_stat_statements 属于 PostgreSQL 自带的第一方 Contrib 扩展,无需独立安装。

YUM仓库 手工安装 pg_stat_statements RPM 包:

dnf install postgresql17-contrib;
dnf install postgresql16-contrib;
dnf install postgresql15-contrib;
dnf install postgresql14-contrib;
dnf install postgresql13-contrib;

APT仓库 手工安装 pg_stat_statements DEB 包:

apt install postgresql-17;
apt install postgresql-16;
apt install postgresql-15;
apt install postgresql-14;
apt install postgresql-13;

扩展 pg_stat_statements 需要通过 shared_preload_libraries 进行 动态加载

shared_preload_libraries = 'pg_stat_statements'; # 修改 PG 集群配置

使用以下 SQL 命令在已经安装此扩展插件的 PG 集群上 启用 pg_stat_statements 扩展:

CREATE EXTENSION pg_stat_statements;