Methodology
Benchmarks
- TPC-H
- The 22 queries at scale factor 1, 10, 100 and 1000, with the specification's qualification parameters (Q11's fraction set to 0.0001 / SF).
- TPC-DS
- All 99 templates (103 statements) at scale factor 1, 10, 100 and 1000, with the qualification parameters. Derived from TPC-DS; not comparable to published TPC-DS results.
- ClickBench
- Its 43 queries over the 100-million-row
hitstable, as each engine's ClickBench entry writes them (fetched from a pinned ClickBench commit).
Data
Every table is an Iceberg v2 table in S3 (us-west-2, Glue catalog), written by Lakeserve 0.1.9's own writer the way the Lakeserve team writes its benchmark tables: globally sorted (TPC-H lineitem on l_shipdate and orders on o_orderdate, ClickBench on CounterID, EventDate, TPC-DS fact tables on their date key), 256 MB files with 1M-row row groups, bloom filters, and Puffin statistics (distinct-count sketches) from compute_table_stats, with every column's checksum compared with the source. Lakeserve, ClickHouse on Iceberg, and DuckDB on Iceberg read those tables. ClickHouse on its own storage reads MergeTree copies loaded from them (TPC-H NOT NULL as the specification defines, TPC-DS primary keys NOT NULL, ordered as the Iceberg files are sorted; ClickBench's own schema), and every node's row counts are checked before a run. Databricks reads its own managed Delta copy, and Snowflake its own Snowflake-managed Iceberg copy, sorted and clustered as above.
Hardware
- Single node
- Each engine on one m8gd.16xlarge (64 vCPU, 256 GiB, local NVMe), every engine reading the Iceberg tables in S3. Lakeserve runs as the standalone database (
lakeserve start), not as a coordinator and workers. ClickHouse on its own local MergeTree storage isn't shown here: it skips the S3 work that dominates small queries, so it's shown only in the multi-node class. Snowflake and Databricks run one warehouse size in both classes: Databricks SQL Serverless Medium, which Databricks' sizing table gives as 8 i3.2xlarge workers (64 vCPU) plus a driver for pro and classic warehouses (serverless may use other instance types at similar price-performance), and Snowflake Large, commonly estimated at 8 nodes of 8 vCPU (Snowflake doesn't publish its hardware). - Multi-node
- About 64 vCPU spread over several machines: Lakeserve on one m8gd.xlarge coordinator and 4 m8gd.4xlarge workers, ClickHouse on 4 m8gd.4xlarge nodes, one shard of 4 replicas: on MergeTree, ReplicatedMergeTree tables (ClickHouse Keeper on 3 of the nodes) loaded once so every replica holds the same parts, with parallel replicas splitting each query over the 4 nodes, shown from SF=100 up and on ClickBench, since at smaller scales reading local disk skips the object-storage round trips that dominate every other engine’s time; on Iceberg, each statement reads its largest table through
icebergS3Cluster, which ClickHouse documents for a cluster reading a data lake: that table’s files are spread over the 4 nodes, and the other tables are read as Iceberg tables.
Protocols
- Cold
- Every process restarted, its caches emptied and the OS page cache dropped; one pass. On Iceberg that is the first read from S3; on ClickHouse's own storage, a read from local disk.
- Warm
- Then 3 more passes (2 at SF=1000) in the same processes; the median per statement.
Result caches are off on every engine; no engine returns a kept result. Everything else runs as shipped: Lakeserve reuses join builds and planned file lists across a session, Lakeserve and ClickHouse each keep a query condition cache (which granules a filter matched nothing in), and each engine answers what it can from its own metadata (in ClickBench, for example, ClickHouse answers AVG and MIN/MAX from per-part statistics and Lakeserve MIN/MAX from Iceberg metadata), as in official ClickBench runs. A statement that takes longer than 300 s counts as timed out, for every engine; no statement of Lakeserve, Databricks or Snowflake took longer than 50 s. A statement that timed out in the cold pass isn't rerun in the warm passes.
Each engine has its own machines and its own client, so no run shares CPU, memory or a network interface with another.
Metrics
- Total time
- The default: the sum of the per-statement times over the statements every engine of the hardware class answers at that benchmark and scale, the time to run the suite once.
- Geometric mean
- The other measure: the geometric mean of the same per-statement times (each at least 0.01 s), so no single slow statement decides it.
- ×
- Each row divided by the fastest row in that column of its class; the fastest is 1.00×.
Engines and machines
Timing
Lakeserve and ClickHouse are timed by a client in the same AWS zone, including fetching every row. Snowflake is timed by the same kind of client, in us-west-2. Databricks times come from its query history. DuckDB is timed in the benchmark process without a network round trip.
DuckDB answer validation
The Dec 2 single-node runs completed every Lakeserve and DuckDB statement and returned matching row counts. Some hashes of normalized results differ, including 2 of 22 TPC-H SF1000 statements and 11 of 43 cold ClickBench statements. The totals include timings for those statements. Review of their returned values is pending.
Reproduce
Every figure is computed from the per-statement CSVs in results/statements by site/build.py. REPRODUCE.md describes each step and the script that did it: generating the data and writing the Iceberg tables, setting up the machines, loading each engine's tables, and running the cold and warm protocol (scripts/, harness/tpcds_bench.py). See REPRODUCE.md for the DuckDB run settings. The TPC-DS statements each engine ran are in queries/tpcds/; harness/suites.py writes the TPC-H and ClickBench ones. Every result on the site was measured on 2026-12-02 and 2026-12-03 (UTC) on the tables described above.
Caveats, failures and what we tried
- Statements ClickHouse can't run
- ClickHouse 26.11 rejects 9 TPC-DS statements (q14a, q33, q47, q56, q57, q58, q60, q71, q75: references it can't resolve and an aggregate over a
Varianttype), and on the 4-node MergeTree cluster q59 fails (“Not found column … in block”, at SF=1000 and in one warm pass at SF=100) and at SF=1000 q04, q67 and q78 run out of memory (about 54 GiB of a node’s 64 GiB, with ClickHouse’s default settings) and q14b, q95 and q97 time out (571 s, 684 s and 710 s cold), as does q11 in the warm passes (300 s cold, 313 s warm). A failed or timed-out statement is marked on the engine’s row (“failed†”, with the statements listed under the card) and left out of every total of that benchmark, scale and hardware class, so the TPC-DS totals cover 94 of the 103 statements wherever ClickHouse ran, fewer on the 4-node cluster. No other engine failed a statement. - ClickHouse on Iceberg at SF=1000
- On one node it didn't finish. TPC-H was stopped in the cold pass after q03, q05, q07, q08 and q09 each ran past the timeout (754 s, over 30 minutes, 819 s, 1,773 s and 871 s); TPC-DS was stopped in the warm passes after the cold pass alone took 77 minutes. It wasn't run on 4 nodes at SF=1000. Both are shown as not finished.
- ClickHouse on Iceberg on 4 nodes
- What we tried, in order:
- Parallel replicas (
enable_parallel_replicaswithparallel_replicas_for_cluster_engines) overIcebergS3tables on every node. Joins re-read their other tables in full on every node: TPC-H SF=100 took 1,116 s against 24.8 s on one node (q17 294 s against 0.8 s). Withdrawn. - The
object_storage_clustersetting, which reads Iceberg tables over a cluster, isn't in ClickHouse 26.11. - Views over
icebergS3Cluster. Only the scan is spread over the nodes and every row goes back to the coordinating node to aggregate (TPC-H q01 16–26 s against 0.7 s on one node). Not used. - Shown: each statement reads its largest table through
icebergS3Clusterin itsFROMclause, as ClickHouse documents (harness/ch_cluster_queries.py). ClickHouse 26.11 rejects correlated subqueries that way (“Correlated subqueries are not supported with remote tables”) and fails to analyze a few rewritten statements, so 6 TPC-H statements (q02, q04, q17, q20, q21, q22) and 14 further TPC-DS statements (q01, q06, q10, q16, q30, q32, q35, q41, q49, q66, q69, q81, q92, q94) read their tables as Iceberg tables on the coordinating node. Every statement also pays a fixed cost to run over the cluster: on ClickBench the geometric mean is 0.51 s on 4 nodes against 0.075 s on one node, so 4 nodes are slower than one.
- Parallel replicas (
- ClickHouse MergeTree on 4 nodes
- First loaded as a separate MergeTree copy on each node. Parallel replicas assume every replica holds the same parts; over copies loaded separately they raised mark errors and could return wrong answers, so those results were discarded and the tables reloaded once as ReplicatedMergeTree with ClickHouse Keeper. Shown from SF=100 and on ClickBench only. The TPC-DS SF=1000 load ran out of the 870 GB NVMe of a 4xlarge (replaced parts not yet removed, and the filesystem cache filled during the load); the two unfinished tables were reloaded with the cache off, and every table's row count was checked on every replica. That run then had background merges stopped (each node would otherwise have spent most of an hour merging parts of about 100 GB), so its tables were queried as loaded, with up to 18 parts each.