architecture2 min read

PostgreSQL 19 Released with Online Table Repacking and Query Planning Controls

4 similar posts
  • PostgreSQL

AI Summary

PostgreSQL 19 introduces major features focused on administrative overhead reduction and performance improvements, including the REPACK command with a CONCURRENTLY option for zero-downtime space reclamation. It features query planning controls via pg_plan_advice and pg_stash_advice extensions, parallel index vacuuming, and faster bulk inserts. Replication enhancements include logical sequence support and the WAIT FOR LSN command for read-your-writes consistency, alongside application features like INSERT ... ON CONFLICT DO SELECT and server-side TLS SNI support.

Key Takeaways

  • Introduces REPACK with CONCURRENTLY to replace VACUUM FULL and CLUSTER without blocking locks.
  • Adds pg_plan_advice and pg_stash_advice for controlling query plans externally.
  • Disables JIT compilation by default and defaults TOAST compression to LZ4.

Why it matters

PostgreSQL 19 brings crucial database maintenance, performance, and replication updates that impact backend architecture and operational overhead. Features like online table repacking without downtime, query planning controls without code changes, and improved bulk insert speeds directly address common production scaling and maintenance challenges.

Conversation0

What would you add from your experience?

Checking your session…

Every good conversation starts with one perspective.