This has results from sysbench on a small server with Postgres versions 12 through 19 beta1. Sysbench is run with high concurrency (40 connections) and a cached database. The purpose is to search for changes in performance.
Postgres remains boring, it is hard to find performance regressions.
tl;dr for Postgres 17 to 19
- there are no regressions
- throughput on the read-only-count test improves by ~3X in 19 beta1 thanks to a better query plan
tl;dr for Postgres 12 to 19
- there are few regressions, throughput might have dropped by up to 5% on a few range query tests
- there are a few large improvements for read-only tests
- there are many large improvements for write-heavy tests
- an ax162s with an AMD EPYC 9454P 48-Core Processor with SMT disabled
- 2 Intel D7-P5520 NVMe storage devices with RAID 1 (3.8T each) using ext4
- 128G RAM
- Ubuntu 24.04
The read-heavy microbenchmarks are run for 600 seconds and the write-heavy for 1200 seconds. The benchmark is run with 40 clients and 8 tables with 10M rows per table. The database is cached.
I provide charts below with relative QPS (rQPS). The relative QPS is the following:
(QPS for some version) / (QPS for base version)
I describe performance changes (changes to relative QPS) in terms of basis points. Performance changes by one basis point when the difference in rQPS is 0.01. When rQPS decreases from 0.95 to 0.85 then it changed by 10 basis points.
- there are no regressins
- there are no regressions
- throughput for the hot-points test improves by ~2X in versions 17.10, 18.4 and 19beta
- there are no regressions
- while 19 beta1 has a better result on the scan test, that test has more variance with Postgres so I am reluctant to judge this without more results
- there are no regressions
- scan throughput has improved a lot from version 12 to 19
- there are no regressions
- throughput on the read-only-count test is ~3X better thanks to a new query plan. This improvement was also visible on my small server
- there might be a few small regressions, but losing 5% throughput from version 12 to 19 isn't a big deal
- throughput on the read-only-count test is ~3X better thanks to a new query plan. This improvement was also visible on my small server
- there are no regressions
- there are no regressions
- many large improvements arrived in version 17 and remain in 19 beta1











