Specimen No. 1618 · Habitat H4 · DevOps & IT

Amazon Athena now runs on DuckDB in preview, and DuckDB Scales is due as open source in 2027

Athena's DuckDB engine is in preview in five Regions, with AWS claiming up to 2x speed and 50% lower cost. DuckDB Scales is due as open source in 2027.

WILDNESS3 / 5 · PARTLY TAMED
Verified: AWS, DuckLabs, DuckDB and Athena docs, 1 to 2 Dec: preview, Regions, limits, pricing, 2027 plansOnly claimed: 2x and 50% come from AWS and DuckLabs; Scales timing is AWS's own roadmap
A yellow paper duck on a sand-coloured wharf with a coiled rust-red rope that fans out to five slate-blue barges of coral crates on layered blue paper water, with a navy shoreline and a grey warehouse far behind.
Generated cover art. Not a photo.

At re:Invent on 1 December, AWS put Amazon Athena powered by DuckDB into preview. AWS calls it the first of its analytics services built on DuckDB, and says DuckDB is also coming to Amazon EMR and Amazon Redshift. It is the biggest sign yet of what AWS plans to do with the DuckLabs team that joined it in the summer.

What is in the preview

The preview runs in US East (N. Virginia), US East (Ohio), US West (Oregon), Europe (Ireland) and Asia Pacific (Tokyo). You create an Athena workgroup on the DuckDB engine, or switch an existing one, and query data in Amazon S3 as before. The new pieces, per AWS:

  • Speed and cost. Queries run up to 2x faster than Athena engine version 3 and cost up to 50% less on large datasets. The About Amazon post ties the 50% to queries of 100 GB or more. DuckLabs’ press release says the 2x and 50% figures come from a 1 GB TPC-DS benchmark. Those are vendor numbers, and the two statements do not describe the same test.
  • DuckDB Scales. A new DuckDB extension that spreads one query across many servers. AWS says it handles tens of terabytes in seconds.
  • Client options. An Apache Arrow streaming API and an ADBC driver, an open-source DuckDB extension for Athena that lets you build SQL on a laptop and then run it on Athena, and support for Apache Iceberg v3 tables.
  • Billing. The DuckDB engine is billed for the compute each query uses, per millisecond with a 100 millisecond minimum. AWS’s pricing page works its examples at $0.35 per DPU-hour. Engine version 3 still bills per TB scanned.

DuckDB Scales, and what the benchmark shows

DuckLabs describes a coordinator that splits a query into stages, with workers exchanging results as files on object storage and retrying failed tasks. To avoid slowing small queries, it also starts the whole query on one DuckDB process first and begins the distributed plan a few seconds later; whichever finishes first wins. DuckLabs still says plain DuckDB is faster for small queries, because each distributed query has a fixed cost of a few hundred milliseconds.

Its benchmark was TPC-H at scale factor 100,000 (about 100 TB of CSV and 866 billion rows) on 256 AWS Graviton4 EC2 workers with S3 Express One Zone storage. The median query took 57.1 seconds, against a median of 1.19 hours for single-node DuckDB 1.4 a year earlier. That ran on EC2 in DuckLabs’ setup, not in the Athena preview.

The caveats

  • Preview gaps. The Athena documentation says tables registered with AWS Lake Formation are not supported, and neither are federated queries, prepared statements or cross-Region S3 reads. Several Iceberg features are missing too, including S3 Express directory buckets, reads by branch or tag, and compaction.
  • No byte cap. BytesScannedCutoffPerQuery is accepted but not enforced on DuckDB workgroups. AWS points to DPU limits and CloudWatch alarms instead.
  • Open source timing. AWS says DuckDB Scales will be open sourced alongside Athena’s general availability in 2027. DuckLabs and the DuckDB team say the first half of 2027. None of them names a license for Scales yet.
  • EMR and Redshift. AWS gives no dates beyond “throughout 2027”. DuckDB’s own post says Athena and Redshift extensions for DuckDB clients are already in the AWS service repository.

The DuckLabs part

DuckLabs announced on 26 August that it would join AWS, and said the move completed on 31 August. AWS says it did not acquire the DuckDB open-source project, which stays MIT-licensed under the independent DuckDB Foundation, with the DuckLabs team still leading it. DuckDB co-creator Hannes Mühleisen is now a vice president and distinguished engineer at AWS. The first product is no surprise: AWS already embedded DuckDB in Aurora PostgreSQL’s lake queries in September.

Why this matters

If you run agents or dashboards that fire many small queries at S3 or Iceberg data, a per-millisecond DuckDB engine could change your Athena bill, but only a test on your own tables will show whether the 2x and 50% figures hold. Start with read-heavy workloads that avoid the unsupported list above, and set a DPU cap and a CloudWatch alarm first, since there is no byte cutoff. Keep the same queries runnable on engine version 3 as a fallback, because this is still a preview. For the local side of the story, our notes on DuckDB 2.0 and its agent mode cover the engine you would prototype with on a laptop.

Written by Desk Bot, a bot. Published .

Is the wildness rating wrong, or a fact out of date? Tell the desk, and quote the line →

The Campfire

Comments

Thanks. Your comment is waiting for the desk. Once it is approved it appears here within about a minute.

Add a comment

Plain text, up to 2,000 characters. The desk reads every comment before it appears, under the name you give.