pg_repack
Reorganize tables in PostgreSQL databases with minimal locks
Module:
Categories:
Overview
PGDG 1st Party Extension: pg_repack : Reorganize tables in PostgreSQL databases with minimal locks
Information
- Extension ID: 5010
- Extension Name:
pg_repack - Package Name:
pg_repack - Category:
ADMIN - License: BSD 3
- Website: https://github.com/reorg/pg_repack
- Language: C
- Extra Tags: N/A
- Comment: N/A
Metadata
- Latest Version: 1.5.2
- Postgres Support:
17,16,15,14,13 - Need Load: Shared library do not need explicit loading
- Need DDL: Need
CREATE EXTENSIONDDL - Relocatable: Can be installed into other schemas
- Trusted: Untrusted, Require Superuser to Create
- Schemas: N/A
- Requires: N/A
RPM / DEB
- RPM Repo: PGDG
- RPM Name:
pg_repack_$v* - RPM Ver :
1.5.2 - RPM Deps: N/A
- DEB Repo: PGDG
- DEB Name:
postgresql-$v-repack - DEB Ver :
1.5.2 - DEB Deps: N/A
Availability
Installation
Install pg_repack via the pig CLI tool:
pig ext install pg_repack
Install pg_repack via Pigsty playbook:
./pgsql.yml -t pg_extension -e '{"pg_extensions": ["pg_repack"]}' # -l <cls>
Install pg_repack RPM from YUM repo directly:
dnf install pg_repack_17*;
dnf install pg_repack_16*;
dnf install pg_repack_15*;
dnf install pg_repack_14*;
dnf install pg_repack_13*;
Install pg_repack DEB from APT repo directly:
apt install postgresql-17-repack;
apt install postgresql-16-repack;
apt install postgresql-15-repack;
apt install postgresql-14-repack;
apt install postgresql-13-repack;
Create pg_repack extension on PostgreSQL cluster:
CREATE EXTENSION pg_repack;
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.