pg_buffercache
检查共享缓冲区缓存
	Module:
Categories:
扩展总览
CONTRIB 自带扩展: pg_buffercache : 检查共享缓冲区缓存
基本信息
- 扩展编号: 6930
 - 扩展名称: 
pg_buffercache - 标准包名: 
None - 扩展类目: 
STAT - 开源协议: PostgreSQL
 - 官方网站: https://www.postgresql.org/docs/current/pgbuffercache.html
 - 编程语言: C
 - 其他标签: 无
 - 备注信息: 无
 
元数据
- 默认版本: 1.5
 - PG大版本: 
17,16,15,14,13 - 动态加载: 无需动态加载
 - 需要DDL:  需要执行 
CREATE EXTENSIONDDL - 可重定位: 未知
 - 信任程度: 未受信任,创建扩展需要超级用户权限
 - 所需模式: 无
 - 所需扩展: 无
 
软件包
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;