db-benchmark group-by on 1 billion rows (c6id.metal), November 2026 snapshot

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

Last verified:

On the largest group-by dataset, DuckDB, ClickHouse, chDB, DataFusion and Polars all finished the simple low-cardinality aggregation in well under a second, while the high-cardinality question (grouping by id3) separated them more clearly. Spark took seconds to minutes on both questions, but its latest metal run is an older 4.0.0 batch. Only two of the ten group-by questions are copied here; the full report weighs all of them.

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.094sversion 2.0.1, batch 2026-11-25, on_disk=False
DuckDBgroupby 'sum v1 mean v3 by id3' first run4.52sversion 2.0.1, batch 2026-11-25, on_disk=False
ClickHousegroupby 'sum v1 by id1' first run0.326sversion 26.11.1.921, batch 2026-10-30, on_disk=TRUE
ClickHousegroupby 'sum v1 mean v3 by id3' first run3.119sversion 26.11.1.921, batch 2026-10-30, on_disk=TRUE
Apache Spark (PySpark SQL)groupby 'sum v1 by id1' first run3.952sversion 4.0.0, batch 2025-06-05, on_disk=True
Apache Spark (PySpark SQL)groupby 'sum v1 mean v3 by id3' first run108.059sversion 4.0.0, batch 2025-06-05, on_disk=True
Polarsgroupby 'sum v1 by id1' first run0.45sversion 2.1.0, batch 2026-11-02, on_disk=FALSE
Polarsgroupby 'sum v1 mean v3 by id3' first run14.377sversion 2.1.0, batch 2026-11-02, on_disk=FALSE
Apache DataFusiongroupby 'sum v1 by id1' first run0.488sversion 55.0.0, batch 2026-11-02, on_disk=FALSE
Apache DataFusiongroupby 'sum v1 mean v3 by id3' first run5.203sversion 55.0.0, batch 2026-11-02, on_disk=FALSE
chDB (embedded ClickHouse)groupby 'sum v1 by id1' first run0.28sversion 4.4.0, batch 2026-11-02, on_disk=TRUE
chDB (embedded ClickHouse)groupby 'sum v1 mean v3 by id3' first run6.462sversion 4.4.0, batch 2026-11-02, 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_1e9_1e2_0_0: 1e9 rows (about 50 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
Jun 5, 2025, Oct 30, 2026, Nov 2, 2026, Nov 25, 2026

Hardware

EnvironmentAWS EC2
Instance typec6id.metal
vCPUs128
Memory256 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. The Spark result on c6id.metal dates from 2025-06 while the other engines were re-run in October-November 2026.

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.