AWS picks DuckDB as the shared engine for its analytics services
AWS announced plans at re:Invent to build its analytics services around DuckDB, arguing that AI agents now query data far more than people do.
The short version
- The DuckDB-powered Athena is in preview from today.
- AWS promises cost savings of up to 50% for queries involving 100 GB of data or more.
- The DuckDB Scales plugin is in preview through Athena and will be open-sourced in 2027.
- The DuckLabs deal closed on August 31.
- Agent query speed: MotherDuck found the median gap between agent queries was four seconds, against 60 seconds for humans.
What AWS announced
On the second day of re:Invent in Las Vegas on Tuesday, Amazon Web Services (AWS) said it wants DuckDB to be the common engine under its analytics services. The news comes about three months after Amazon announced it was buying DuckLabs, the Dutch startup behind the open-source database.
The New Stack reports that AWS revealed an overhaul of its analytics portfolio at its annual conference. The plan is for DuckDB, an open-source analytical database engine, to sit under the company's analytics services. Amazon Athena comes first. Amazon EMR and Amazon Redshift follow through 2027.
AWS is betting that AI agents will change how companies query their data. Its own announcement argues that "AI agents are becoming the heaviest users of data."
Why it matters
If you run analytics on AWS, the engine under Athena, EMR and Redshift is due to change, with Athena's preview open now. AWS says the aim is lower query costs as agent use grows.
Why agents strain old systems
A human analyst may run queries one after another. Agents can send dozens at once and expect answers almost immediately. Some data platforms already report that agents now send more queries than people do.
In September, MotherDuck, a cloud data warehouse company also built on DuckDB, analyzed its own traffic. Agents ran 29 times as many queries as humans. The median gap between agent queries was four seconds, compared with 60 seconds for humans. Individual agent queries typically scanned far fewer rows.
In October, the venture capital firm Andreessen Horowitz, an investor in Databricks, published an essay saying Databricks also fields more queries from agents than from humans. AWS says most analytics systems were built more than a decade ago, before agents existed. The company says organizations want analytics that work for agents and people without rising costs.
What changes in Athena, EMR and Redshift
Athena is AWS's serverless query service for analyzing data in Amazon S3 with SQL. Its current engine draws on the open-source Presto and Trino projects. The DuckDB version is in preview from today. AWS promises queries that run up to twice as fast as Athena engine version 3. It also promises cost savings of up to 50% for queries involving 100 GB of data or more.
DuckDB will appear in Amazon EMR, the managed big data processing service, alongside Apache Spark and Hadoop. It will also be built directly into Amazon Redshift, the cloud data warehouse that has its roots in PostgreSQL and uses a massively parallel processing architecture.
These services have long focused on spreading work across many machines. AWS argues that servers are now much more powerful, so analytics that once needed a complex distributed system can run on a single server.
Where DuckDB came from
Researchers Hannes Mühleisen and Mark Raasveldt began building DuckDB in 2018 at CWI, a mathematics and computer science research institute in Amsterdam. They spun out DuckDB Labs, since rebranded as DuckLabs, as a company in 2021. The independent DuckDB Foundation was set up later that year to protect the open-source project and its intellectual property.
DuckDB was designed to run inside an application on one machine. That design meant developers could run analytical SQL queries on their laptops without first setting up a separate database server.
The DuckLabs deal and DuckDB Scales
AWS became a Gold supporter of the DuckDB Foundation earlier this year. That tier requires a donation of at least €100,000 annually. It then moved to acquire DuckLabs in August, and the deal closed on August 31. Both founders keep leading DuckDB's technical development. The database stays open source under the MIT license and the stewardship of the DuckDB Foundation.
To go beyond one machine, AWS is adding DuckDB Scales, a new plugin that lets Athena spread larger queries across multiple servers. According to AWS, it can process tens of terabytes of data in seconds. It is in preview through Athena, and the plugin will be open-sourced in 2027.
What it could mean for developers
The New Stack says the biggest long-term benefit may be writing a query once and running it across several systems. Developers might even test it on a laptop before running it in the cloud. AWS says a company's data is often spread across systems that each use their own version of SQL, and every mismatch is another chance for an agent to stumble.
Elsewhere in the DuckDB ecosystem, MotherDuck announced its acquisition of Tower a day before AWS announced the DuckLabs deal in August. Tower is a data infrastructure startup whose technology lets agents build and run data pipelines.
The questions people ask
What it means for you
A data engineer on AWS should watch this, since Athena, EMR and Redshift are all due to get DuckDB. Athena's preview is available now.
Who gains
It also promises savings of up to 50% when a query involves 100 GB of data or more.
How solid is it
Mixed. The speed and savings numbers come from AWS itself, while the agent traffic figures come from MotherDuck and Andreessen Horowitz. The report does not say how AWS tested its claims.
What you can do
Teams on Athena can read the preview terms before changing anything, and wait for more detail on EMR and Redshift, which the report places through 2027.
What to watch
- Will the speed and cost claims for Athena hold up once the preview ends?
- How will DuckDB reach Amazon EMR and Amazon Redshift through 2027?
- When in 2027 does the DuckDB Scales plugin become open source?
More stories
Get The Daily
AI news, explained in 5 minutes a day. Free. The first issue is coming soon.
No password. Unsubscribe any time. Privacy
Say why
Liked it? Say why
Add a line for other readers.
No account needed. We never show your email. Comments with links, ads or abuse are held and not shown. Your comment shows after a quick check.
Sources
The reporting and documents this story is built from. Each link opens the original.
- ReportingThe New Stack: the article we sourced thenewstack.io
Written with AI by the SI Agent News Desk from the reporting above. Every number is checked against it.Spot a mistake or a concern? Contact us · Corrections.
Agents
Agents
Agents