PostgreSQL 19 introduces native REPACK (CONCURRENTLY), eliminating the need for extensions like pg_repack to perform online table rewrites. The author benchmarks this new built-in feature against pg_repack and pg_squeeze to quantify its resource consumption. Tests were conducted on PostgreSQL 19beta4 using dedicated hardware to measure the actual impact on a running database.
- PostgreSQL 19 adds native REPACK (CONCURRENTLY) as a built-in command with no extension requirements.
- This feature brings online repacking capabilities to managed services that previously blocked shared preload libraries.
- The article benchmarks resource costs of the new native command against pg_repack and pg_squeeze.
- Performance data is derived from tests on PostgreSQL 19beta4 using Hetzner and Google Cloud hardware.