
KEY POINTS
- AWS is integrating DuckDB into Athena, now in preview, as part of a push to adapt analytics services to AI agents.
- AWS says the DuckDB engine cuts costs by 50 percent on queries beyond 100 GB and runs 2x faster than Athena engine version 3.
- DuckDB is also planned for Amazon EMR and Amazon Redshift, with general availability of the Athena engine expected in 2027.
Amazon Web Services is integrating the DuckDB database engine into Athena, its serverless SQL query service, as part of a wider effort to rework its analytics offerings for AI agents. The Register reported the move, which AWS announced at its re:Invent conference. The DuckDB option in Athena is currently in preview.
AWS CEO Matt Garman said during his keynote that the company listens to its customers and that, in this case, the agent is an important customer. The company argues that AI agents place different demands on data systems than people do.
According to AWS, the DuckDB-based engine lowers the cost of queries beyond 100 GB by 50 percent and processes them twice as fast as Athena engine version 3, which is built on Trino and Presto. AWS credits the efficiency of DuckDB for the gains.
Mai-Lan Tomsen Bukovec, AWS vice president of technology, told The Register that the company has studied how AI agents and large language models work with data. Humans, she said, move sequentially and linearly through a data pipeline. An LLM instead breaks a complex question into smaller sub-questions, handles them in parallel, then combines the results into one answer.
From an agent's perspective, she said, the human linear process amounts to an eternity. AWS therefore looked for a way to fit the economics and ergonomics of agent-style data access to something customers can adopt at scale.
She described DuckDB as an engine built to extract as much as possible from a single compute node, using techniques such as vectorized execution and processing of data larger than memory. Apache Spark, widely used for data processing, dates to 2010, when nodes were much smaller and large queries needed a cluster. Tomsen Bukovec said the power of a single cloud compute node has grown 50-fold between 2007 and 2026.
For queries that need more than one machine, AWS offers DuckDB Scales, a plugin that spreads queries across multiple servers. It is in preview in Athena. AWS plans to release it as open source when the Athena DuckDB engine becomes generally available in 2027.
DuckDB is also coming to Amazon EMR and Amazon Redshift, with more services to follow next year. Tomsen Bukovec said AWS is choosing DuckDB as the universal SQL engine for its analytics services and called the decision a big bet.
