pg_relusage

Log all the queries that reference a particular column

Overview

PIGSTY 3rd Party Extension: pg_relusage : Log all the queries that reference a particular column

Information

Metadata

  • Latest Version: 0.0.1
  • Postgres Support: 17,16,15,14,13
  • Need Load: Explicit Loading Required
  • Need DDL: Dd not need CREATE EXTENSION DDL
  • Relocatable: Can be installed into other schemas
  • Trusted: Untrusted, Require Superuser to Create
  • Schemas: N/A
  • Requires: N/A

RPM / DEB

  • RPM Repo: PIGSTY
  • RPM Name: pg_relusage_$v
  • RPM Ver : 0.0.1
  • RPM Deps: N/A
  • DEB Repo: PIGSTY
  • DEB Name: postgresql-$v-pg-relusage
  • DEB Ver : 0.0.1
  • DEB Deps: N/A

Packages

OS Arch 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

Installation

Install pg_relusage via the pig CLI tool:

pig ext install pg_relusage

Install pg_relusage via Pigsty playbook:

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

Install pg_relusage RPM from YUM repo directly:

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;

Install pg_relusage DEB from APT repo directly:

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;

Extension pg_relusage has to be added to shared_preload_libraries

shared_preload_libraries = 'pg_relusage'; # add to pg cluster config

Extension %s does not need CREATE EXTENSION command





Last modified 2025-02-17: add extension part (cfa504b)