TOOL VERDICTS

AWS Just Made DuckDB Its Universal SQL Engine

At re:Invent, AWS put DuckDB inside Athena, slated EMR and Redshift for 2027, and unveiled DuckDB Scales for distributed queries without sharding. For agent workloads, shifting from per-TB scanned pricing to per-millisecond compute matters as much as the engine itself.

2026-12-05

DuckDB spent years saying it would never go distributed. At re:Invent on Dec 1, AWS reversed that stance: Amazon Athena now runs on DuckDB in preview, DuckDB SQL becomes the common language across AWS analytics, and DuckDB Scales splits one query across multiple servers. Amazon EMR and Amazon Redshift follow through 2027. AWS acquired DuckLabs in 2026, while DuckDB itself remains MIT licensed under the DuckDB Foundation.

What actually shipped

Athena powered by DuckDB is in preview in five regions. DuckDB Scales is the multi-node piece: everyday queries run on one server, larger jobs spread across servers that each run DuckDB, all reading shared object storage with no sharding step. DuckLabs plans an open source release in the first half of 2027, alongside Athena general availability. EMR and Redshift integrations are announced, not live. For now, “universal” is a roadmap target rather than today’s production state.

AWS claims the DuckDB engine runs up to 2x faster than Athena engine v3 and cuts cost by up to 50% on queries over 100 GB. Those are AWS figures from launch coverage, not independent benchmarks. The reel’s split-screen race makes the same point visually: it illustrates startup overhead, and it is not a measured benchmark.

How the billing math changes

Engine v3 charges $5 per TB scanned, with a 10 MB minimum per query. The DuckDB engine charges $0.35 per DPU-hour, billed per millisecond with a 100 ms minimum per query, and compute sizes start at 0.25 DPU. That shift targets the agent pattern directly: many tiny parallel queries.

Take 500 small agent queries on the published rates. Under per-scan billing, if each query scans 10 MB or less, the 10 MB minimum bills 5 GB total (decimal) across the session, which is $0.025 at $5 per TB. Under compute-time billing, AWS’s own small-query example prices a one-second lookup on 0.25 DPU at about $0.000024, so 500 such lookups cost about $0.012. The gap widens as scans grow and narrows when queries run long on many DPUs: a slow query is expensive under compute billing even if it scans little. Run your own query log through both models before believing any vendor percentage, including the 50% figure above.

Where Spark and Trino still win

Large multi-terabyte shuffles, stateful streaming jobs, and mature Spark or Trino pipelines are not going away soon. DuckDB Scales is a preview extension, not a drop-in replacement for tuned production clusters, and its open source release is planned for H1 2027. The realistic near-term fit is narrower: bursty AI-agent SQL, matching local DuckDB development to Athena, and keeping one SQL dialect across services.

One pairing to watch: AWS Context reached general availability at the same event. It builds a governed context graph over connected data stores and exposes it to agents through MCP tools, with Athena among the covered services. Connecting a governed metadata layer with compute-time SQL pricing is the pattern AWS is pushing, though it only pays off for bursty agent traffic.

Sources

Discussion

Talk it through

Argue with us on Instagram.