db-benchmark joins on 1 billion rows (c6id.metal), November 2026 snapshot
Last verified:
At the largest join scale only a few engines produced results. DuckDB and Polars completed the medium join in a few seconds, while ClickHouse needed tens of seconds and took far longer on the big-to-big join. The Polars figure comes from an older 1.30.0 batch, because newer versions have no recorded result on this dataset.
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
| System | Metric | Value | Unit | Configuration / notes |
|---|---|---|---|---|
| DuckDB | join 'medium inner on int' first run | 4.608 | s | version 2.0.1, batch 2026-11-25, on_disk=True |
| DuckDB | join 'big inner on int' first run | 15.901 | s | version 2.0.1, batch 2026-11-25, on_disk=True |
| ClickHouse | join 'medium inner on int' first run | 43.206 | s | version 26.11.1.921, batch 2026-11-09, on_disk=TRUE |
| ClickHouse | join 'big inner on int' first run | 1,055.525 | s | version 26.11.1.921, batch 2026-11-09, on_disk=TRUE |
| Polars | join 'medium inner on int' first run | 4.332 | s | version 1.30.0, batch 2025-06-04, on_disk=FALSE |
| Polars | join 'big inner on int' first run | 36.226 | s | version 1.30.0, batch 2025-06-04, on_disk=FALSE |
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 join operations over a synthetic table, run as scripted questions in each tool's native API or SQL dialect.
- Dataset
- J1_1e9_NA_0_0: 1e9-row left table joined to small, medium and big right tables, no NAs, unsorted
- Queries
- 5
- Metrics
- join 'big inner on int' first run, join 'medium inner on int' first run
- Run dates
- Jun 4, 2025, Nov 9, 2026, Nov 25, 2026
Hardware
| Environment | AWS EC2 |
|---|---|
| Instance type | c6id.metal |
| vCPUs | 128 |
| Memory | 256 GB |
| Storage | local NVMe instance storage |
| Cluster size | 1 |
Systems tested
- DuckDB 2.0.1 · single node, benchmark scripts as merged in repo; on_disk=True
- ClickHouse 26.11.1.921 · single node, benchmark scripts as merged in repo; on_disk=TRUE
Other systems in this benchmark
Systems without a DatabaseRadar profile, listed as named by the source.
- Polars 1.30.0 · single node, benchmark scripts as merged in repo; on_disk=FALSE
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. Polars' latest result for this dataset is version 1.30.0; Spark, DataFusion and chDB have no complete result for this dataset on c6id.metal.
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:
- github.com/duckdblabs/db-benchmark github.com
- github.com/duckdblabs/db-benchmark/blob/main/LICENSE github.com
- duckdblabs.github.io/db-benchmark duckdblabs.github.io
Found an error? See how to report a correction.