⚠️ This post links to an external website. ⚠️
Postgres 19 finally introduces a built-in method to shrink bloated tables with the new
REPACKcommand, allowing online rewrites without locking. Previously, users relied on extensions likepg_repackandpg_squeezeto manage table bloat. Along with this,JITcompilation is disabled by default, shifting the responsibility of performance optimization to users. The query planner has also seen improvements, particularly with eager aggregation, which optimizes queries by pre-aggregating data before joins. Smaller updates include new SQL features, enhanced foreign-key performance, and logging improvements. Overall, these enhancements aim to boost usability and performance in database management.
continue reading onplanetscale.com
If this post was enjoyable or useful for you, please share it! If you have comments, questions, or feedback, you can email my personal email. To get new posts, subscribe use the RSS feed.