AWS is integrating DuckDB into Athena, its serverless, distributed SQL query service, as part of a broader effort to adapt its analytics services for AI agents, according to The Register. The DuckDB option is now in preview, and AWS says it has cut costs by 50 percent on queries beyond 100 GB and processes queries 2x faster than Athena engine version 3, which is based on Trino and Presto.
AWS vice president of technology Mai-Lan Tomsen Bukovec said the company observed that AI agents work differently from humans. Agents break a complex question into smaller sub-questions and process them in parallel, while human analysts work sequentially through a pipeline. That pattern makes many small queries running at once, which AWS wants to handle economically.
Tomsen Bukovec argued that DuckDB is well suited to this work because it squeezes resources out of a single compute node. She noted that single-node cloud power has grown about 50 times since 2007, while Apache Spark, dating to 2010, typically requires a cluster for large queries.
For queries spanning several machines, AWS is previewing DuckDB Scales in Athena and plans to open source it when Athena's DuckDB engine becomes generally available in 2027. DuckDB is also coming to Amazon EMR and Amazon Redshift, with more services planned next year. Tomsen Bukovec called DuckDB the universal SQL engine for AWS analytics, adding, "It is a big bet."