db-benchmark joins 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:

DuckDB had the lowest first-run times on both copied join questions, with Polars next. The ClickHouse server and chDB took several times longer on these joins, and Spark completed only part of the join set in its latest batch. Join performance depends heavily on each engine's join algorithm defaults, which the benchmark does not tune.

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
DuckDBjoin 'medium inner on int' first run1.112sversion 2.0.1, batch 2026-11-23, on_disk=False
DuckDBjoin 'big inner on int' first run4.926sversion 2.0.1, batch 2026-11-23, on_disk=False
ClickHousejoin 'medium inner on int' first run13.037sversion 26.11.1.888, batch 2026-10-30, on_disk=TRUE
ClickHousejoin 'big inner on int' first run46.615sversion 26.11.1.888, batch 2026-10-30, on_disk=TRUE
Apache Spark (PySpark SQL)join 'medium inner on int' first run34.942sversion 4.1.1, batch 2026-04-14, on_disk=False
Polarsjoin 'medium inner on int' first run3.645sversion 2.1.0, batch 2026-10-30, on_disk=FALSE
Polarsjoin 'big inner on int' first run17.325sversion 2.1.0, batch 2026-10-30, on_disk=FALSE
chDB (embedded ClickHouse)join 'medium inner on int' first run9.301sversion 4.4.0, batch 2026-10-30, on_disk=TRUE
chDB (embedded ClickHouse)join 'big inner on int' first run48.962sversion 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 join operations over a synthetic table, run as scripted questions in each tool's native API or SQL dialect.
Dataset
J1_1e8_NA_0_0: 1e8-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
Apr 14, 2026, Oct 30, 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. Spark's latest c6id.4xlarge batch has results for only some join questions; DataFusion has no result for this dataset on this machine.

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.