Pg Repack Save

Reorganize tables in PostgreSQL databases with minimal locks

Project README

pg_repack -- Reorganize tables in PostgreSQL databases with minimal locks

|GitHub Actions|

.. |GitHub Actions| image:: :target: :alt: Linux build status

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.

Please check the documentation (in the doc directory or online_) for installation and usage instructions.

.. _pg_repack: .. _CLUSTER: .. VACUUM FULL: VACUUM .. _VACUUM: .. online: pg_repack .. _issue:

What about pg_reorg?

pg_repack is a fork of the pg_reorg_ project, which has proven hugely successful. Unfortunately new feature development on pg_reorg_ has slowed or stopped since late 2011.

pg_repack was initially released as a drop-in replacement for pg_reorg, addressing some of the shortcomings of the last pg_reorg version (such as support for PostgreSQL 9.2 and EXTENSION packaging) and known bugs.

pg_repack 1.2 introduces further new features (parallel index builds, ability to rebuild only indexes) and bugfixes. In some cases its behaviour may be different from the 1.1.x release so it shouldn't be considered a drop-in replacement: you are advised to check the documentation__ before upgrading from previous versions.

.. _: pg_repack .. _pg_reorg:

Open Source Agenda is not affiliated with "Pg Repack" Project. README Source: reorg/pg_repack
Open Issues
Last Commit
1 week ago

Open Source Agenda Badge

Open Source Agenda Rating