db-benchmark group-by on 100 million rows (c6id.4xlarge), November 2026 snapshot

Vendor-publishedDuckDB Labs · published · db-benchmark (DuckDB Labs fork of H2O.ai db-benchmark) · Analytics (OLAP)

Last verified:

On the mid-size dataset and a 16-vCPU machine, all six engines answered the simple aggregation quickly, with DuckDB recording the lowest first-run time for that question. On the high-cardinality question DuckDB and DataFusion were close, with chDB, ClickHouse and Polars in the next band and Spark slowest. The gap between engines is narrower than at 50 GB.

Conflict of interest: DuckDB Labs maintains the benchmark and is the main commercial backer of DuckDB, one of the compared systems. Inclusion requires a PR approved by DuckDB Labs.

Results

SystemMetricValueUnitConfiguration / notes
DuckDBgroupby 'sum v1 by id1' first run0.062sversion 2.0.1, batch 2026-11-23, on_disk=False
DuckDBgroupby 'sum v1 mean v3 by id3' first run1.154sversion 2.0.1, batch 2026-11-23, on_disk=False
ClickHousegroupby 'sum v1 by id1' first run0.262sversion 26.11.1.888, batch 2026-10-30, on_disk=TRUE
ClickHousegroupby 'sum v1 mean v3 by id3' first run1.853sversion 26.11.1.888, batch 2026-10-30, on_disk=TRUE
Apache Spark (PySpark SQL)groupby 'sum v1 by id1' first run2.683sversion 4.1.1, batch 2026-04-14, on_disk=False
Apache Spark (PySpark SQL)groupby 'sum v1 mean v3 by id3' first run9.404sversion 4.1.1, batch 2026-04-14, on_disk=False
Polarsgroupby 'sum v1 by id1' first run0.156sversion 2.1.0, batch 2026-10-30, on_disk=FALSE
Polarsgroupby 'sum v1 mean v3 by id3' first run2.049sversion 2.1.0, batch 2026-10-30, on_disk=FALSE
Apache DataFusiongroupby 'sum v1 by id1' first run0.251sversion 55.0.0, batch 2026-11-02, on_disk=FALSE
Apache DataFusiongroupby 'sum v1 mean v3 by id3' first run1.143sversion 55.0.0, batch 2026-11-02, on_disk=FALSE
chDB (embedded ClickHouse)groupby 'sum v1 by id1' first run0.169sversion 4.4.0, batch 2026-10-30, on_disk=TRUE
chDB (embedded ClickHouse)groupby 'sum v1 mean v3 by id3' first run1.701sversion 4.4.0, batch 2026-10-30, on_disk=TRUE

Values are copied exactly from the source; we do not compute rankings, ratios or derived figures. Full results: duckdblabs.github.io.

Workload

Description
Single-node groupby operations over a synthetic table, run as scripted questions in each tool's native API or SQL dialect.
Dataset
G1_1e8_1e2_0_0: 1e8 rows (about 5 GB as CSV), 100 distinct values per id1 group key, no NAs, unsorted
Queries
10
Metrics
groupby 'sum v1 by id1' first run, groupby 'sum v1 mean v3 by id3' first run
Run dates
Apr 14, 2026, Oct 30, 2026, Nov 2, 2026, Nov 23, 2026

Hardware

EnvironmentAWS EC2
Instance typec6id.4xlarge
vCPUs16
Memory32 GB
Storagelocal NVMe instance storage
Cluster size1

Systems tested

Other systems in this benchmark

Systems without a DatabaseRadar profile, listed as named by the source.

Methodology notes

Each question is timed twice in a fresh process per solution; we copy only the first-run time of selected questions exactly as recorded in time.csv. Solutions are re-run on request, so versions and batch dates differ between systems, and some engines answer from data loaded in memory while others read from disk (see on_disk). Spark runs through PySpark with its own session overhead.

Reproducible: yes, scripts and configuration are public. Raw data.

Data license

MPL-2.0

Repository LICENSE checked 2026-12-03: Mozilla Public License 2.0. Numbers copied verbatim from time.csv with attribution to DuckDB Labs db-benchmark.

All benchmarks · Benchmark policy

Sources

Last verified:

  1. github.com/duckdblabs/db-benchmark github.com
  2. github.com/duckdblabs/db-benchmark/blob/main/LICENSE github.com
  3. duckdblabs.github.io/db-benchmark duckdblabs.github.io

Found an error? See how to report a correction.