AWS puts DuckDB at the heart of its analytics

On Tuesday, at its re:Invent conference in Las Vegas, Amazon Web Services said it will make DuckDB, an open-source database engine for analysing data, the common engine under its analytics services. Amazon Athena goes first, with a DuckDB version in preview from the same day. Amazon EMR and Amazon Redshift follow through 2027. AWS’s reason is AI agents, which it says “are becoming the heaviest users of data.”
The move, reported by The New Stack, comes about three months after Amazon announced it was buying DuckLabs, the Dutch startup behind DuckDB. The deal closed on August 31. Both founders still lead DuckDB’s technical development, and the database stays open source under the MIT license, looked after by the independent DuckDB Foundation.
Why agents change the math
A human analyst works through queries one after another. Agents can fire off dozens at once and expect answers almost instantly. In September MotherDuck, a cloud data warehouse company also built on DuckDB, published an analysis of its own traffic: agents were running 29 times as many queries as humans. The median gap between agent queries was four seconds, against 60 seconds for people, though each agent query usually scanned far fewer rows. In October the venture firm Andreessen Horowitz, an investor in Databricks, wrote that Databricks too was getting more queries from agents than from humans.
“Organizations want analytics that work for both agents and people, with a simple way to query data wherever it lives and without costs climbing as agent use grows,” AWS says. “But most analytics systems were built more than a decade ago, before agents existed.”
One server instead of many
Athena, EMR and Redshift were all built to split each query across many machines so they could handle large amounts of data. AWS argues that servers are now powerful enough for much of that work to run on a single one, and that an engine built for today’s hardware also suits agents, which need quick queries at low cost.
That is what DuckDB was made for. Researchers Hannes Mühleisen and Mark Raasveldt started it in 2018 at CWI, a research institute in Amsterdam, as a database that runs inside an application on one machine, so a developer can run analytical queries on a laptop without setting up a database server. In a blog post about the deal, AWS says DuckDB set out to be fast for the more than 90% of queries that touch a terabyte of data or less, the everyday work of analysis and dashboards.
For bigger jobs, AWS built DuckDB Scales, a plugin that lets Athena spread larger queries across many servers. AWS says it processes tens of terabytes of data in seconds.
What changes for Athena users
Athena lets you run SQL on data stored in Amazon S3 without managing servers. Its current engine draws on the open-source Presto and Trino projects. For the DuckDB version, now in preview, AWS promises queries up to twice as fast as Athena engine version 3 and savings of up to 50% on queries over 100 GB of data.
The bigger change may come later: writing a query once and running it across AWS’s analytics services, possibly testing it on a laptop first. “A company’s data is often spread across several systems, each with its own version of SQL, and every mismatch is another chance for an agent to stumble,” AWS says.
Next, DuckDB will be added to EMR alongside Apache Spark and Hadoop and built directly into Redshift, both through 2027. The DuckDB Scales plugin, now in preview in Athena, is due to be open-sourced in 2027.
Up next
Amodei asks new hires to tell rivals why they said no
When a hire picks Anthropic over a rival, Dario Amodei asks them to tell that rival why. After a few such hires, he says, the rival gets much more interested in that practice.
Related stories
Comments
Join the conversation
Sign in to leave a comment. It appears after moderation.

