AWS on Tuesday during its re:Invent user conference revealed that DuckDB is the new engine for Amazon Athena, a move aimed at making the database faster, easier to use and more cost efficient.
AWS will also build DuckDB into its EMR platform for processing and analyzing big data and its Redshift cloud data warehouse.
Athena powered by DuckDB is now in preview, while the DuckDB integrations with EMR and Redshift are not yet in the preview stage.
In August, AWS acquired DuckLabs, the company behind the open-source DuckDB database, for an undisclosed sum after having worked with DuckDB to revise how it runs on the tech giant's S3 object storage platform. According to Mai-Lan Tomsen Bukovec, AWS vice president of technology, AWS realized that DuckDB is better suited for AI workloads, which are far bigger and more complex than the database workloads of previous eras, than its existing database engines.
By making DuckDB the engine for Athena, AWS will enable users to query data stored in S3 without having to move data to separate databases or infrastructures through complex pipelines while also making the database faster and lowering the cost of its use. In addition, Athena now features DuckDB Scales, a plugin that allows a query to run across multiple servers so that DuckDB can be used with any dataset.
"It's a big deal for Athena users," Mike Leone, an analyst at Moor insights & Strategy, told TechTarget. "If a query fits on one machine, Athena just runs it there, and only the big ones get spread across several machines with DuckDB Scales. [And] making DuckDB the universal engine is the biggest analytics move I've seen from AWS this year."
Beyond its value for AWS users, making open-source DuckDB the engine for Athena -- and standardizing other AWS platforms on DuckDB -- distinguishes the AWS from competing data platform providers whose tools are built on proprietary engines that have their own SQL dialect.
"Standardizing on DuckDB sets AWS apart," Leone said. "AWS is putting one open-source engine that developers already run on their laptops across its whole analytics lineup. And since the engine runs pretty much anywhere, AWS is betting it can win by being the best place to run DuckDB."
A response to changing customer needs
AI, in particular agents that often are designed to act without substantial human intervention, need high volumes of relevant data to be accurate. In addition, agents require that context in real time so the actions they take are based on the current state of an organization rather than a past state, and they ask dozens of questions of data at once rather than one at a time.
As a result, the performance demands on the databases that serve agents are far greater than when databases were primarily used to inform analytics tools such as reports and dashboards.
"We are always listening to our customers, and AI agents are a fast-growing [consumers] of our services," Tomsen Bukovec told TechTarget. "With DuckDB's agent ergonomics and economics, agents will work with data faster and more cost-efficiently on AWS."
She added that as enterprises move agents beyond pilot projects and into production, one common request of AWS was a universal SQL analytics dialect that could be used across different AWS services and different non-AWS clouds.
"It simplifies both cost and architecture when you have a simple way to query data wherever it lives, and costs that don't climb as agent use grows," Tomsen Bukovec said. "As DuckDB comes to more AWS services, DuckDB SQL becomes the universal language for AWS analytics, so customers and their agents can write a query once and run it wherever the job fits best."
Regarding performance, Athena powered by DuckDB can run queries up to twice as fast as those run with Athena engine version 3, according to AWS. In addition, on queries of 100 GB or more, AWS reported that Athena powered by DuckDB cut costs by up to 50% when compared with the previous Athena database engine. Independent testing results were not provided.
"It's a big deal for Athena users. If a query fits on one machine, Athena just runs it there, and only the big ones get spread across several machines with DuckDB Scales. [And] making DuckDB the universal engine is the biggest analytics move I've seen from AWS this year."

Mike Leone
Analyst, Moor insights & Strategy
Meanwhile, the development of DuckDB Scales further simplifies operations. Basic queries such as pulling sales figures over a short period of time can run on a single server. But when the time period is extended and the size of the dataset increases, it can grow beyond what a single server can manage. Before DuckDB Scales, users had to rewrite queries to run them in a different system. DuckDB Scales enables DuckDB to be used with any dataset irrespective of size.
Like Leone, IDC analyst Devin Pratt noted that making DuckDB the new engine for Athena is a significant move given that it enables customers to keep the database they are already using while improving its performance.
"Agents run dozens of queries where people run a few -- faster, lower cost queries matter more at that volume," he told TechTarget.
Similarly, the plan to make DuckDB the engine for EMR and Redshift is also important. IDC research shows that most organizations use more than 10 different database platforms, so unifying tools on one engine with one SQL dialect will save developers from tedious integration work while reducing the opportunities for agents to make translation errors.
In addition, Pratt suggested that with Google Cloud, Microsoft, Databricks and Snowflake all running their own proprietary query engines, standardizing on an engine with open source roots add a level openness and portability that differentiates AWS.
"One engine, one language. Customers will be able to write a query once and run it wherever the job fits," he said. "AWS is betting that simple, open, and lower cost wins the agent era."
Built for speed and simplicity
Making DuckDB the new engine for Athena accomplishes AWS's goal of making its SQL database faster, easier to use and more cost-efficient, according to Leone. And by pairing DuckDB with AWS Context, a knowledge layer that the hyperscaler introduced in June, Athena has the appropriate capabilities to serve agents with not simply large volumes of data, but the relevant data agents need to understand how to carry out their work.
"DuckDB takes care of speed and cost, and AWS Context helps agents understand what a company's data actually means," Leone said. "An agent can find the right table and still hand you a fast, wrong answer if it doesn't know what the columns mean. Making AWS Context free is a super smart call, because every customer can set it up before pointing agents at their data."
However, he noted that while AWS's tests show that DuckDB mkes Athena faster and more cost efficient, AWS should encourage transparency and allow its users to run their own direct comparisons.
"I'd love to see AWS let Athena customers test their past queries on the DuckDB engine and compare speed, cost and results," Leone said. "Every company's mix of small and big queries is different, so their own numbers will do the convincing. That test would also flag any queries that need tweaks for DuckDB's version of SQL."
Pratt similarly said that standardizing Athena, EMR and Redshift on DuckDB provides the performance required by AI workloads. But AWS offers a litany of other databases and data management services. Going forward, with IDC research showing that performance is among the top concerns for analytical platforms and cost a leading concern, AWS should further standardize its data management platforms on DuckDB.
"Athena is the starting point," Pratt said. "Each service that adopts DuckDB brings AWS closer to one engine and one language."
Eric Avidon is a senior reporter for Informa TechTarget and a journalist with more than three decades of experience. He covers analytics and data management.