pg_stat_kcache
Kernel statistics gathering
Module:
Categories:
Overview
PGDG 1st Party Extension: pg_stat_kcache
: Kernel statistics gathering
Information
- Extension ID: 6220
- Extension Name:
pg_stat_kcache
- Package Name:
pg_stat_kcache
- Category:
STAT
- License: BSD 3
- Website: https://github.com/powa-team/pg_stat_kcache
- Language: C
- Extra Tags: N/A
- Comment: N/A
Metadata
- Latest Version: 2.3.0
- Postgres Support:
17
,16
,15
,14
,13
- Need Load: Explicit Loading Required
- Need DDL: Need
CREATE EXTENSION
DDL - Relocatable: Can not install to arbitrary schema
- Trusted: Untrusted, Require Superuser to Create
- Schemas: N/A
- Requires:
pg_stat_statements
RPM / DEB
- RPM Repo: PGDG
- RPM Name:
pg_stat_kcache_$v*
- RPM Ver :
2.3.0
- RPM Deps: N/A
- DEB Repo: PGDG
- DEB Name:
postgresql-$v-pg-stat-kcache
- DEB Ver :
2.3.0
- DEB Deps: N/A
Packages
Installation
Install pg_stat_kcache
via the pig
CLI tool:
pig ext install pg_stat_kcache
Install pg_stat_kcache
via Pigsty playbook:
./pgsql.yml -t pg_extension -e '{"pg_extensions": ["pg_stat_kcache"]}' # -l <cls>
Install pg_stat_kcache
RPM from YUM repo directly:
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*;
Install pg_stat_kcache
DEB from APT repo directly:
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;
Extension pg_stat_kcache
has to be added to shared_preload_libraries
shared_preload_libraries = 'pg_stat_kcache'; # add to pg cluster config
Enable pg_stat_kcache
extension on PostgreSQL cluster:
CREATE EXTENSION pg_stat_kcache CASCADE;
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.