AWS adds DuckDB to Athena to speed up AI agent data queries
Amazon Web Services has added the open-source DuckDB engine to Athena, its service for querying data stored in S3. AWS says queries run up to twice as fast and costs for large queries fall by up to half.

Amazon Web Services (AWS) has integrated the open-source DuckDB engine into Athena, the service used to query data stored in Amazon S3. The goal is to speed up and cut the cost of queries run by AI agents. According to AWS, agents work differently from typical users: they run many queries at once and chase individual results.
According to AWS’s own figures, queries on DuckDB-powered Athena run up to twice as fast as on Athena engine version 3. For queries involving 100 GB or more of data, costs can fall by up to 50%. AWS attributes these gains to running routine queries on a single server.
DuckDB-powered Athena is in preview, letting users query S3 data without setting up a separate database infrastructure. The DuckDB Scales extension, which spreads a single query across multiple DuckDB servers, is also in preview. AWS says datasets of tens of terabytes can be processed in seconds.
AWS plans to open-source DuckDB Scales when DuckDB-powered Athena becomes generally available in 2027. DuckDB will also work alongside existing tools on Amazon EMR and will be integrated directly with Amazon Redshift.
Source
- AWS Turns to DuckDB to Speed Up Data Queries for AI Agents · Analytics India Magazine
This article was compiled with AI assistance from the source above and translated from our Turkish edition.
How we make our stories Spotted an error? Let us know.