Change language to
0:00

Most of the databases that run inside large companies sit on servers and need someone to look after them. DuckDB took the opposite approach, as an analytics database that installs in seconds and runs on whatever computer is in front of you. That simplicity has made it the tool AI agents most often choose when they need to analyse data, and at re:Invent 2026 in Las Vegas on Tuesday AWS said it will make DuckDB the common engine behind its analytics services, starting with Amazon Athena. tbreak attended the keynote where AWS chief executive Matt Garman and DuckDB co-creator Hannes Mühleisen made the announcements.

What DuckDB is

DuckDB is a free, open-source database built for analytics, the kind of work that involves summarising and comparing large tables rather than recording individual transactions. It was created by Mühleisen and Mark Raasveldt, database researchers at CWI, the Dutch national research institute for mathematics and computer science in Amsterdam, and first released in 2019. Unlike a conventional database it has no server. It runs inside the program that uses it, on a laptop, in a browser or in the cloud, and can query common file formats such as Parquet and CSV directly without the data being loaded first.

Mühleisen said on stage that the idea came from talking to data practitioners who avoided databases because they were clunky, and nobody wants to set up a server to answer a question about a spreadsheet. The team named it after his pet duck, Wilbur, and expected a few thousand users, most of them fellow academics. DuckDB is now downloaded more than 100 million times a month.

Live coverage
AWS re:Invent 2026
All AWS re:Invent 2026 coverage →

What if an analytical database system were as easy to use as an app on your phone?

Hannes Mühleisen, co-creator, DuckDB

Why AI agents use it

AI agents began appearing among DuckDB’s users about two years ago and are now its largest group, according to Mühleisen. An agent can install it into its workspace in seconds with no administrator rights and no dependencies, and when a query fails the error message says how to fix it, so the agent does not have to consult documentation. DuckDB 2.0 added an agent mode that detects when an agent is in control and changes its output to a format that uses fewer tokens, and reports progress and estimated cost so an agent can cancel a query that is about to become expensive.

Garman showed monthly download figures from PyPI, the public repository for Python packages, in which DuckDB has overtaken Apache Spark, the long-standing standard for large-scale analytics. His explanation was that Spark dates from around 2010, when datasets were outgrowing what one machine could process and work had to be spread across clusters. A single server is now roughly 200 times more capable than it was then, he said, and agents send large numbers of small queries rather than a few big ones. Mühleisen put figures on that pattern, saying 95% or more of real-world queries run on less than 300 GB of data and the median query reads 100 MB.

What AWS announced

AWS is adopting DuckDB’s SQL dialect and engine across its analytics services, so that a query written on a laptop runs unchanged in the cloud. Amazon Athena powered by DuckDB is the first, available in preview. Athena lets companies query data stored in Amazon S3 without maintaining a database. AWS says the new version runs queries up to twice as fast as Athena engine version 3 and costs up to 50% less on queries of 100 GB or more, figures Garman said come from TPC-DS, an industry-standard analytics benchmark. The existing version of Athena remains available.

DuckDB will also come to Amazon EMR, where it will run alongside existing tools, and will be built into Amazon Redshift, with further services following during 2027. Two related changes were announced with it. AWS Glue now runs on the company’s Graviton processors, which AWS says makes it up to 30% faster at up to 34% lower cost than x86-based workers, and Amazon Redshift Serverless now provisions almost instantly so that an agent can run SQL within seconds. AWS has not published pricing or regions for the Athena preview.

DuckDB Scales adds distributed queries

For most of its history DuckDB has been deliberately limited to a single machine, and Mühleisen told the audience that for seven years someone at the back of every talk has asked whether it scales. His answer had always been the same.

We are never going to be distributed. Never.

Hannes Mühleisen, recalling his past answer to whether DuckDB scales

DuckDB Scales reverses that position, and Mühleisen said he was slightly embarrassed to contradict himself. It is an extension that splits one query across many servers, runs each piece on an ordinary copy of DuckDB and combines the results, using the same SQL and the same installation. Everyday queries continue to run on one machine. The case for it, he said, is the small share of jobs, such as event data and transaction histories, that are few in number but account for a large share of cost and until now required a second engine with its own dialect. AWS says Athena with DuckDB Scales can process tens of terabytes of data in seconds.

Mühleisen described DuckDB Scales on stage as open source and part of DuckDB. The DuckDB team’s own announcement says it is initially available only in Amazon Athena, with an open-source release planned for the first half of 2027, and AWS says that release will accompany Athena’s general availability.

What changes for DuckDB under AWS

AWS acquired DuckLabs, the company formed by DuckDB’s creators, in August for an undisclosed price, GeekWire reports. DuckDB itself was not part of the acquisition. The project is held by the non-profit DuckDB Foundation and remains free under the MIT licence, and Mühleisen told GeekWire that the foundation will hold DuckDB Scales under the same licence once it is released.

Mühleisen said on stage that DuckDB stays open source and that the same team continues to lead it from Amsterdam. Amazon Athena powered by DuckDB is planned to reach general availability in 2027.

tbreak is attending AWS re:Invent in Las Vegas as a guest of AWS.

NEWSLETTERS

Subscribe to our Newsletters

Two newsletters. Zero noise. Pick what lands in your inbox.

Unsubscribe anytime. We don’t share your email.