---
title: "PostgresBench: A Reproducible Benchmark for Postgres Services"
description: "PostgresBench is an open, reproducible benchmark for managed Postgres services built on pgbench's TPC-B-like workload (256 clients, 16 threads, 10-minute runs, three runs each) at ~100 GB and ~500 GB scale factors, with default configs, HA disabled and all services in us-east-2."
url: "https://swe.quest/articles/postgresbench-a-reproducible-benchmark-for-postgres-services-3a30213211ea6b71"
canonical: "https://clickhouse.com/blog/postgresbench"
source: "ClickHouse"
published: "2026-04-02"
difficulty: "medium"
kind: "Research"
reading_minutes: 9
tags: ["postgres","performance","storage-systems","cloud"]
---

# PostgresBench: A Reproducible Benchmark for Postgres Services

A post on [ClickHouse](https://swe.quest/sources/clickhouse.md), published 2026-04-02, 9 min read, Research. Original: [https://clickhouse.com/blog/postgresbench](https://clickhouse.com/blog/postgresbench)

## Summary

PostgresBench is an open, reproducible benchmark for managed Postgres services built on pgbench's TPC-B-like workload (256 clients, 16 threads, 10-minute runs, three runs each) at ~100 GB and ~500 GB scale factors, with default configs, HA disabled and all services in us-east-2. In the first cohort, ClickHouse's NVMe-backed managed Postgres reached about 28.7K TPS on 16 vCPU/64 GB at 100 GB, versus 14.8K for Crunchy Bridge, 12.6K for Aurora, 8.6K for Neon and 8.1K for RDS, and held about 26K TPS at 500 GB. ClickHouse attributes the lead to co-located local NVMe storage, which avoids network round trips on every fsync and WAL commit in write-heavy workloads. Scripts and raw JSON results are on GitHub for verification and community submissions, though the vendor-run setup and absence of pricing comparisons are worth weighing.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [PostgreSQL](https://swe.quest/tags/postgres.md) (Data & databases)
- [Performance engineering](https://swe.quest/tags/performance.md) (Reliability & operations)
- [Storage systems](https://swe.quest/tags/storage-systems.md) (Infrastructure)
- [Cloud platforms](https://swe.quest/tags/cloud.md) (Infrastructure)

## Prerequisites

- PostgreSQL basics ([easy posts on PostgreSQL](https://swe.quest/tags/postgres.md?difficulty=easy))
- pgbench
- Cloud block storage (EBS) ([easy posts on Cloud platforms](https://swe.quest/tags/cloud.md?difficulty=easy))

## Keywords

PostgresBench, pgbench, TPC-B, ClickHouse, AWS Aurora, AWS RDS, Neon, Crunchy Bridge

## Related posts

- [Benchmarking NVMe-backed Managed Postgres: PlanetScale and ClickHouse](https://swe.quest/articles/benchmarking-nvme-backed-managed-postgres-planetscale-and-clickhouse-9c60dc3e275ce910.md): ClickHouse · 2026-07-30 · Medium · 4 min read · PostgreSQL, Performance engineering, Databases, Cloud platforms
  On identical AWS r8gd instances with local NVMe and quorum synchronous replication, ClickHouse Managed Postgres outperformed PlanetScale Metal in a pgbench TPC-B-like workload.
- [PostgresBench: Measuring the impact of High Availability on Managed Postgres performance](https://swe.quest/articles/postgresbench-measuring-the-impact-of-high-availability-on-managed-postgres-f5f54e9ac5894971.md): ClickHouse · 2026-07-21 · Medium · 7 min read · PostgreSQL, Replication, Performance engineering, Cloud platforms
  PostgresBench now measures the performance cost of high-availability configurations across managed Postgres services, comparing shared-nothing designs (ClickHouse Managed Postgres, RDS, Crunchy Bridge) that use streaming standbys with shared-storage forks (Aurora, Neon) that replicate WAL to a storage layer.
- [Introducing DBArena: open, reproducible benchmarks for hosted Postgres](https://swe.quest/articles/introducing-dbarena-open-reproducible-benchmarks-for-hosted-postgres-fcea976f1f3d4cee.md): Supabase · 2026-10-30 · Medium · 4 min read · PostgreSQL, Performance engineering, Cloud platforms, Cost optimization
  DBArena publishes open, reproducible benchmarks of hosted Postgres, starting with Supabase Postgres (heap and OrioleDB), Amazon RDS and Google Cloud SQL across up to seven vCPU-matched tiers on Postgres 17 with default configs.
- [Postgres on NVMe: performance and the convergence of transactions and analytics](https://swe.quest/articles/postgres-on-nvme-performance-and-the-convergence-of-transactions-and-analytics-6553677f279f656e.md): ClickHouse · 2026-09-21 · Medium · 8 min read · PostgreSQL, Performance engineering, Storage systems, Replication, Analytics & OLAP
  Running Postgres on local NVMe instead of gp3 EBS gave 9.2× more throughput (16,030 vs 1,734 TPS) and UPDATE latency of 4.0 ms vs 36.9 ms in a pgbench benchmark with a 482 GiB dataset about 30× larger than RAM.
- [POSETTE Talk Recap - Postgres Isn't Slow. Your Storage Is](https://swe.quest/articles/posette-talk-recap-postgres-isn-t-slow-your-storage-is-bd5c03e12884ee39.md): ClickHouse · 2026-08-20 · Medium · 7 min read · PostgreSQL, Performance engineering, Storage systems, Replication, Cloud platforms
  PostgreSQL scaling symptoms such as slow UPDATE-heavy ingestion, erratic P95 reads, autovacuum lag, disruptive checkpoints and logical replication lag often share one root cause: storage I/O limits.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
