Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/reorg/pg_repack
Reorganize tables in PostgreSQL databases with minimal locks
https://github.com/reorg/pg_repack
Last synced: about 10 hours ago
JSON representation
Reorganize tables in PostgreSQL databases with minimal locks
- Host: GitHub
- URL: https://github.com/reorg/pg_repack
- Owner: reorg
- License: bsd-3-clause
- Created: 2012-11-10T22:39:27.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2024-10-09T09:22:08.000Z (2 months ago)
- Last Synced: 2024-10-29T17:55:51.035Z (about 1 month ago)
- Language: C
- Homepage:
- Size: 1000 KB
- Stars: 1,883
- Watchers: 56
- Forks: 172
- Open Issues: 96
-
Metadata Files:
- Readme: README.rst
Awesome Lists containing this project
- awesome-repositories - reorg/pg_repack - Reorganize tables in PostgreSQL databases with minimal locks (C)
- jimsghstars - reorg/pg_repack - Reorganize tables in PostgreSQL databases with minimal locks (C)
README
pg_repack -- Reorganize tables in PostgreSQL databases with minimal locks
=========================================================================- Homepage: https://reorg.github.io/pg_repack
- Download: https://pgxn.org/dist/pg_repack/
- Development: https://github.com/reorg/pg_repack
- Bug Report: https://github.com/reorg/pg_repack/issues|GitHub Actions|
.. |GitHub Actions| image:: https://github.com/reorg/pg_repack/actions/workflows/regression.yml/badge.svg
:target: https://github.com/reorg/pg_repack/actions/workflows/regression.yml
:alt: Linux build statuspg_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: https://reorg.github.io/pg_repack
.. _CLUSTER: https://www.postgresql.org/docs/current/static/sql-cluster.html
.. _VACUUM FULL: VACUUM_
.. _VACUUM: https://www.postgresql.org/docs/current/static/sql-vacuum.html
.. _online: pg_repack_
.. _issue: https://github.com/reorg/pg_repack/issues/23What 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: https://github.com/reorg/pg_reorg