#582 — December 18, 2024 |
🎄 This week we're covering a few recent items but will then head into a 2024 roundup of how things went in the Postgres world, as well as the most clicked items of the year, in case you missed them at the time. |
|
Postgres Weekly |
Some of My Favorite Things – Postgres Queries — There’s not really any big Postgres news this week, so why not enjoy this festive gift of some (reasonably complex) SQL queries Shane uses to track database usage in various ways, to see unused indexes, to generate a vacuuming report, and more. Shane Borden |
Building AI Apps on Postgres? Start with pgai — pgai is a PostgreSQL extension that brings more AI workflows to PostgreSQL, like embedding creation and model completion. pgai empowers developers with AI superpowers, making it easier to build search and retrieval-augmented generation (RAG) applications. Timescale sponsor |
pg_incremental: Incremental Data Processing in Postgres — Marco introduces a new Postgres extension offering automated, incremental batch processing for creating reliable processing pipelines. GitHub repo. Marco Slot |
📄 Exploring Postgres's Arena Allocator by Writing an HTTP Server from Scratch – An odyssey that's not for the faint of heart! Phil Eaton 📄 Quick Benchmark of Improvements to Large Object Dumping in Postgres 17 Michael Banck 📄 Shrinking a Postgres Table John Nunemaker |
QUICK BITS:
|
🥇 Top Developments and Items of 2024 |
2024 was another great year for Postgres. Here are some of the highlights, plus one sad development, looking back:
|
Now, for the top 5 links of the year based upon reader engagement: |
1. SQL Query Optimization: A Comprehensive Developer's Guide — A bumper packed post digging into the optimization of Francesco Tisiot |
2. Optimizing Postgres Table Layout for Maximum Efficiency — The alignment of data within broader data structures has long been an important factor for optimization in low level programming, but it can affect your Postgres tables too. Renato looked at how table layout can impact both storage efficiency and query performance. Renato's Runtime Reflections |
3. Can Postgres Replace Redis as a Cache? — Redis is a popular, high performance in-memory data storage server commonly used for caching, but if we can just use Postgres for everything, could Postgres take on the job instead? Raphael De Lio |
4. pgPedia: A Postgres Encyclopedia of Sorts — An interesting, cleanly formatted wiki-esque reference guide to Postgres’ features and settings that complements the official documentation well. Well worth poking around a bit. Postgrespedia |
5. Hacking on PostgreSQL is Really Hard — Robert has consistently been in the top ten committers to Postgres for many years, but this year he reflected on just how intimidating the process of contributing to Postgres can be, especially for newcomers. Robert Haas |
👋 We are now off for two weeks for our Christmas break. Merry Christmas if you celebrate too. We return on Thursday, January 9, 2025 (yes, we're changing the day Postgres Weekly goes out in the new year – keeps things interesting!) |