This has results for the sysbench benchmark on a small and big server for Postgres versions 12 through 18. Once again, Postgres is boring because I search for perf regressions and can't find any here. Results from MySQL are here and MySQL is not boring.
While I don't show the results here, I don't see regressions when comparing the latest point releases with their predecessors -- 13.22 vs 13.23, 14.19 vs 14.20, 15.14 vs 15.15, 16.10 vs 16.11, 17.6 vs 17.7 and 18.0 vs 18.1.
tl;dr
- a few small regressions
- many more small improvements
- for write-heavy tests at high-concurrency there are many large improvements starting in PG 17
- small
- an ASUS ExpertCenter PN53 with AMD Ryzen 7735HS CPU, 32G of RAM, 8 cores with AMD SMT disabled, Ubuntu 24.04 and an NVMe device with ext4 and discard enabled.
- big
- an ax162s from Hetzner 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 22.04 running the non-HWE kernel (5.5.0-118-generic)
- Configuration files are here for Postgres versions 12, 13, 14, 15, 16 and 17.
- For Postgres 18 I used io_method=sync and the configuration file is here.
The read-heavy microbenchmarks are run for 600 seconds and the write-heavy for 900 seconds. On the small server the benchmark is run with 1 client and 1 table with 50M rows. On the big server the benchmark is run with 12 clients and 8 tables with 10M rows per table.
I provide charts below with relative QPS. The relative QPS is the following:
(QPS for some version) / (QPS for Postgres 12.22)
- a large improvement arrived in Postgres 17 for the hot-points test
- otherwise results have been stable from 12.22 through 18.1
- a large improvement arrived in Postgres 17 for the hot-points test
- otherwise results have been stable from 12.22 through 18.1
- there are small improvements for the scan test
- otherwise results have been stable from 12.22 through 18.1
- there are small improvements for the scan test
- otherwise results have been stable from 12.22 through 18.1
- there are small improvements for a few tests
- otherwise results have been stable from 12.22 through 18.1
- there might be small regressions for a few tests
- otherwise results have been stable from 12.22 through 18.1
- there are small improvements for most tests
- otherwise results have been stable from 12.22 through 18.1
- there are large improvements for half of the tests
- otherwise results have been stable from 12.22 through 18.1
















