PostgreSQL 18.6 performance analysis finds hash join spills

explainmeasured.com3 min read

An analysis of PostgreSQL 18 performance examines various database configurations, including work_mem settings for hash joins, statistics targets for skewed data, and the impacts of HOT updates and index maintenance operations. The tests reveal unexpected results, such as a smaller memory setting outperforming a single-batch join, and demonstrate the tradeoffs involved with index bloat, REINDEX speeds, and JSONB indexing strategies. Open article →