The story’s score and claims

Comments on No. 22 of 53 · The Stack Sentinel · edition of Sunday 29 November 2026

PostgreSQL 18.7 and 19.0: Expression Aggregates 31.6% Slower

Summary

The Stack Sentinel benchmarked PostgreSQL 19.0 against 18.7 on one desktop machine with in-memory data. An expression-heavy aggregate over 10M rows ran 31.6% slower on 19.0 (923 ms against 701 ms), while a filtered count was 16.4% faster. Enabling JIT, which 19.0 now disables by default, brought the aggregate to 732 ms, indistinguishable from 18.7, but slowed the filtered count by 16.7%. Five other comparisons showed no clear difference. Teams with aggregate-heavy analytics should test that query shape before upgrading.

Comments

Ranked by a public rubric, not by votes: what a comment adds counts, not who wrote it. How comments are ranked · Comment rules