PostgresBench: A Reproducible Benchmark for Postgres Services

clickhouse.com
June 20, 2026
8 min read
🔥🔥🔥🔥🔥
51/100
Summary
PostgresBench is a benchmarking tool designed for Postgres services, emphasizing reproducibility in performance testing. ClickHouse and Postgres together create a unified data stack, optimizing transactional and analytical workloads for enhanced speed and efficiency.
Key Takeaways
- PostgresBench is a reproducible benchmark designed to compare managed Postgres services using a standard transactional workload.
- The benchmark utilizes pgbench to simulate short concurrent transactions, reflecting common patterns such as payments and inventory updates.
- Each benchmark run is conducted with 256 clients and 16 threads over a duration of 10 minutes, capturing metrics like average TPS and latency.
- All configurations and results are publicly available, allowing for validation and improvements by the community.
Coverage & discussions
Hacker News · clickhouse.com
Community discussions
Hacker News discussion ↗
Historical count: 5 · 5 saved in sample · Historical sample
Analysis ready
Community Sentiment
Positives
- The benchmark's focus on average TPS and latency metrics provides valuable insights into performance, which is crucial for optimizing database services.
- Incorporating high availability (HA) setups will enhance data durability and reliability, addressing key concerns for production environments.
Concerns
- The 10-minute run duration is insufficient to capture realistic workload patterns, particularly the impact of checkpoints, which could mislead performance evaluations.
- Only reporting average TPS without temporal variation fails to provide a comprehensive understanding of performance dynamics over time.




