PostgresBench: managed Postgres at 4 vCPU, ~100 GB dataset, no HA (2026)
Last verified:
At 4 vCPU the spread between services narrows: Crunchy Bridge, Postgres by ClickHouse and Cloud SQL were close at the top, RDS and Aurora in the middle, and Neon lowest. With 256 clients on 4 vCPU every service is heavily oversubscribed, so p99 latencies range from roughly 80 to 160 ms.
Conflict of interest: ClickHouse sells a managed Postgres service (Postgres by ClickHouse) that is one of the compared systems, and it runs and curates the benchmark.
Results
| System | Metric | Value | Unit | Configuration / notes |
|---|---|---|---|---|
| Amazon Aurora PostgreSQL | TPS | 3,353.197 | transactions/s | aurora_4cpu_32gb_6849; median of 3 runs by TPS (run 2) |
| Amazon Aurora PostgreSQL | p99 latency | 160.907 | ms | aurora_4cpu_32gb_6849; median of 3 runs by TPS (run 2) |
| Google Cloud SQL for PostgreSQL | TPS | 5,695.2538 | transactions/s | cloudsql_4cpu_32gb_6849_gcp_us-east1; median of 3 runs by TPS (run 2) |
| Google Cloud SQL for PostgreSQL | p99 latency | 86.937 | ms | cloudsql_4cpu_32gb_6849_gcp_us-east1; median of 3 runs by TPS (run 2) |
| Crunchy Bridge | TPS | 6,330.802808 | transactions/s | crunchy_4cpu_16gb_6849; median of 3 runs by TPS (run 3) |
| Crunchy Bridge | p99 latency | 82.928 | ms | crunchy_4cpu_16gb_6849; median of 3 runs by TPS (run 3) |
| Neon | TPS | 2,820.061122 | transactions/s | neon_4cpu_16gb_6849; median of 3 runs by TPS (run 3) |
| Neon | p99 latency | 116.553 | ms | neon_4cpu_16gb_6849; median of 3 runs by TPS (run 3) |
| Postgres by ClickHouse (ClickHouse Managed Postgres) | TPS | 5,951.95043 | transactions/s | postgres_by_clickhouse_4cpu_16gb_6849; median of 3 runs by TPS (run 2) |
| Postgres by ClickHouse (ClickHouse Managed Postgres) | p99 latency | 108.323 | ms | postgres_by_clickhouse_4cpu_16gb_6849; median of 3 runs by TPS (run 2) |
| Amazon RDS for PostgreSQL | TPS | 4,738.0267 | transactions/s | rds_4cpu_16gb_6849; median of 3 runs by TPS (run 2) |
| Amazon RDS for PostgreSQL | p99 latency | 123.798 | ms | rds_4cpu_16gb_6849; median of 3 runs by TPS (run 2) |
Values are copied exactly from the source; we do not compute rankings, ratios or derived figures. Full results: postgresbench.clickhouse.com.
Workload
- Description
- pgbench's built-in TPC-B-like read-write transaction mix, 256 clients on 16 threads, prepared statements, 600-second runs repeated three times.
- Dataset
- pgbench scale factor 6849 (roughly 100 GB)
- Metrics
- TPS, p99 latency
- Run dates
- Mar 11, 2026, Mar 12, 2026, Mar 17, 2026, Jul 9, 2026, Jul 15, 2026, Sep 2, 2026
Hardware
| Environment | Managed PostgreSQL services on AWS and GCP; client VM in the same region |
|---|---|
| vCPUs | 4 |
| Cluster size | 1 |
Systems tested
- Amazon Aurora 17.7 · Amazon Aurora PostgreSQL; 4vCPU, 32GB RAM; db.r6g.xlarge; aws us-east-2; file aurora_4cpu_32gb_6849
- PostgreSQL 18.4 · Google Cloud SQL for PostgreSQL; 4vCPU, 32GB RAM; db-c4a-highmem-4; gcp us-east1; file cloudsql_4cpu_32gb_6849_gcp_us-east1
- PostgreSQL 18.3 · Crunchy Bridge; 4vCPU, 16GB RAM; Standard-16; aws us-east-2; file crunchy_4cpu_16gb_6849
- Neon 18.2 (e21737f) · Neon; 4vCPU, 16GB RAM; Serverless; aws us-east-2; file neon_4cpu_16gb_6849
- PostgreSQL 18.3 (Ubuntu 18.3-1.pgdg22.04+1) · Postgres by ClickHouse (ClickHouse Managed Postgres); 4vCPU, 16GB RAM; m8gd.xlarge; aws us-east-2; file postgres_by_clickhouse_4cpu_16gb_6849
- PostgreSQL 18.3 · Amazon RDS for PostgreSQL; 4vCPU, 16GB RAM; db.m8gd.xlarge; aws us-east-2; file rds_4cpu_16gb_6849
Methodology notes
We copy the run with the median TPS out of three (its TPS and p99 latency are copied exactly; nothing is averaged). Services run with default settings, but memory per vCPU, storage type (local NVMe vs network storage), Postgres minor version, cloud and region differ between entries, and some services were tested months apart. pgbench's TPC-B-like workload is a narrow, write-heavy test and is not an audited TPC result. Aurora and Cloud SQL at this size have 32 GB of memory; the others have 16 GB.
Reproducible: yes, scripts and configuration are public. Raw data.
Data license
Apache-2.0
Repository LICENSE checked 2026-12-03: Apache License 2.0. Numbers copied verbatim from per-run JSON with attribution to ClickHouse PostgresBench.
All benchmarks · Benchmark policy
Sources
Last verified:
- github.com/ClickHouse/PostgresBench github.com
- github.com/ClickHouse/PostgresBench/blob/main/LICENSE github.com
- postgresbench.clickhouse.com postgresbench.clickhouse.com
Found an error? See how to report a correction.