How to Install postgresql-10-repack in Ubuntu 18.04



Install postgresql-10-repack by entering the following commands in the terminal:

sudo apt update
sudo apt install postgresql-10-repack

Description:

reorganize tables in PostgreSQL databases with minimal locks

pg_repack is a PostgreSQL extension which lets you remove bloat from tables and indexes, and optionally restore the physical order of clustered indexes. Unlike CLUSTER and VACUUM FULL it works online, without holding an exclusive lock on the processed tables during processing. pg_repack is efficient to boot, with performance comparable to using CLUSTER directly. . This package contains the pg_repack program and the server extension for PostgreSQL 10.

Homepage: https://github.com/reorg/pg_repack

Version: 1.4.2-2

Section: universe/database