Amazon Athena DuckDB is now in preview, and AWS says it’s the first AWS analytics service built on the open source engine. Queries run up to twice as fast as on Athena engine version 3, and for queries of 100 GB or more, costs drop by up to 50%.
AWS is also planning to bring DuckDB to Amazon EMR and Amazon Redshift, with more services to follow through 2027.
Why AWS picked DuckDB
AWS argues agents are turning into the biggest consumers of data, and they use it differently from people. A person asks a question, reads the answer, then decides what to ask next. Agents fire dozens of queries at once and want answers in milliseconds.
Most analytics systems are more than a decade old and were built to split each query across many servers. Modern servers are powerful enough that work which once needed a distributed system can often run on one machine. DuckDB was designed to squeeze the most out of one server, so most queries never need to be split up.
AWS says usage has passed 100 million downloads a month and that agents given a choice most often pick DuckDB. The team that created it, DuckLabs, is now part of AWS and keeps leading the project as open source.
What changes in Athena
With Amazon Athena DuckDB, Athena still queries data in Amazon S3 with no separate database to set up. Data stays where it is, and a DuckDB query behaves identically when run in Athena.
AWS offers a scenario: a games company’s product manager asks an agent whether yesterday’s update brought players back and lifted in-game purchases. The agent checks logins, play time and purchases through several queries. Because each one is faster and cheaper, the answer arrives sooner and follow-up questions don’t push up the bill.
DuckDB Scales for the biggest jobs
Athena also gets DuckDB Scales, a plugin that runs a single query across several servers. Everyday work, such as yesterday’s sales by region or a customer’s recent orders, stays on one server. Years of transaction or event data can outgrow that, so Athena spreads the work across servers that each run DuckDB and combines the results. AWS says this handles tens of terabytes in seconds.
Until now, DuckDB users often had to rewrite queries to run big jobs elsewhere. With Scales, the same query covers everything. In AWS’s example, a finance agent investigating a sales dip runs dozens of small queries to find the declining regions and products, then one large query over years of history, without switching systems.
DuckDB Scales is in preview and will be open sourced when Athena reaches general availability in 2027.
One SQL dialect across AWS
AWS wants DuckDB to become the engine for its analytics services and DuckDB SQL the shared language. Company data usually sits across several systems, each with its own SQL flavor, and every mismatch is a chance for an agent to slip.
Take a retailer’s agent checking if stores will sell out of a hot item before the weekend. It needs sales figures from Redshift and supplier shipments handled in EMR, which today can mean writing the query twice. With both services on DuckDB SQL, the agent writes it once and runs it in each place.
DuckDB also shortens its results for agents so there is less to read.
Other upgrades announced
- AWS Glue now runs on AWS Graviton, running up to 30% faster than x86-based workers, at up to 34% lower cost.
- Amazon Redshift Serverless now spins up almost instantly, letting agents run SQL in seconds without setting up networking or compute.
What to watch in 2027
The preview numbers are AWS’s own, so independent benchmarks of Amazon Athena DuckDB on real workloads will matter. Teams with large S3 data sets can test the preview now and compare cost against engine version 3 before deciding whether to switch. The next markers are DuckDB arriving in EMR and built into Redshift, then Athena general availability, when DuckDB Scales moves to open source.
Source: Amazon News