DuckDB Scales: DuckDB for the Long-Tail of Workloads ducklabs.com · 13 points · ...
HN Best 200 @best
DuckDB Scales: DuckDB for the Long-Tail of Workloads ducklabs.com · 13 points · 0 comments · HN thread
TL;DR DuckLabs announced DuckDB Scales, an extension that lets DuckDB run queries distributed across many nodes, reading and writing data in object storage such as S3 in DuckLake or Iceberg format. It is available now as a preview in Amazon Athena, with open-source release planned for H1 2027. The post reports TPC-H results at scale factor 100,000 (100 TB) with a median of 57.1 seconds on 256 nodes.
- Workers exchange intermediate results via files in object storage, so workers never talk to each other and failed tasks can be retried.
- Speculative execution runs the query locally next to the coordinator while the distributed plan starts a few seconds later; whichever finishes first wins.
- TPC-H Q1 at SF100,000 took 37.5 s on 64 workers, 21.1 s on 128 (1.78x) and 11.1 s on 256 (3.38x, 84% efficiency).
- On TPC-H SF100,000, DuckDB 1.4 LTS on a single i8g.48xlarge had a median of 1.19 hours a year earlier; the distributed run on 256 nodes had a median of 57.1 seconds.
- Each query has a fixed overhead of a few hundred milliseconds, so plain DuckDB is faster for small queries.
- Updates (INSERT, DELETE, UPDATE) are supported, currently over Iceberg tables in the Glue Data Catalog in Athena.
Discussion No comments have been posted yet, so the thread has no discussion to summarize.
#DuckDB #distributedQueries #analytics #objectStorage #AmazonAthena