PostgreSQL Closes Operational Gap with REPACK CONCURRENTLY

PostgreSQL continues to close a long-standing operational gap with REPACK CONCURRENTLY — a major step forward for managing table bloat in always-on environments. Table bloat is a real challenge in high-write PostgreSQL systems. Until now, options included: • VACUUM — safe but limited • VACUUM FULL — blocking • pg_repack — external tool • pg_squeeze — extension-based concurrent rewrite Now, REPACK CONCURRENTLY brings this capability closer to PostgreSQL core. Interestingly, this work is heavily inspired by pg_squeeze — designed by the same author, using logical decoding and background workers to rewrite tables without blocking workloads. Why this matters: • Always-on maintenance • Reduced operational risk • Better performance predictability • Enterprise-grade PostgreSQL operations This is another step in PostgreSQL’s evolution — from a powerful database to a self-managing enterprise data platform. Small feature. Big operational impact. Commit: https://lnkd.in/eN_cFTpm #PostgreSQL #OpenSource #Database #Postgres #DBA #CloudNative #DataPlatform #DatabaseEngineering

  • diagram

All these tools to deal with and work around a problem vs actually fixing it…

For most databases a little bloat is not even a problem. It’s a popular problem for LinkedIn, but rarely in production. Space is reusable, table partitions can be dropped, and a change of the fill factor can improve the updates.

See more comments

To view or add a comment, sign in

Explore content categories