On Tuesday, AWS introduced a new SQL engine for Amazon Athena, the serverless data lake query service, that the company says will be faster and cheaper for customers building AI agents on AWS. Amazon Athena powered by DuckDB, now in public preview, is up to 2x faster and up to 50% cheaper on datasets of 100 GB or more compared to Athena version 3, AWS said.
DuckDB is a popular, open source analytical query engine that's well-suited for AI workloads. It's designed to run on a single machine, which makes it easier to run locally and embed in applications, but it's not typically used to run large-scale, distributed queries over massive data sets.
To address that, AWS has added a layer of automation on top of the open source engine that allows it to scale out. AWS' version of DuckDB Scales automatically splits and distributes individual SQL queries across multiple nodes, enabling it to process tens of terabytes of data in seconds without provisioning or managing a cluster.
AWS is also adding an Apache Arrow streaming API and an Arrow Database Connectivity driver to Athena that it says will make it easier for AI agents to pull data from the query service and stream it directly into Python and other popular data frameworks without serialization overhead.
Customers can also prototype and develop queries locally on their laptop using an open-source DuckDB extension for Athena that AWS is releasing today.
AWS' expansion of DuckDB support comes as the company is ramping up its tools for building AI agents. This week, AWS also introduced cost-visibility for AWS Bedrock AgentCore, a managed service for building and running AI agents, and expanded its managed MCP integrations.
AWS acquired DuckLabs B.V., the company behind DuckDB, earlier.
AWS plans to expand native DuckDB support to other AWS services, including Amazon EMR and Amazon Redshift, in 2027.
Written by
Priya Nair
Cloud, Enterprise Software & Infrastructure Reporter, Chargezen
Priya covers cloud platforms, developer tools, enterprise software, and AI infrastructure for Chargezen. She examines how engineering and operations teams evaluate new cloud architectures, govern autonomous software agents, and control technology spend at scale.
