DuckDB, a free database that’s popular with data analysts and increasingly used by AI agents, made its name by doing all its work on a single machine, whether that’s a laptop or a powerful server. DuckDB has always been “proudly single node,” as co-creator Hannes Mühleisen says.
Three months after Amazon acquired the company behind the database, that’s changing.
Amazon Web Services on Tuesday unveiled DuckDB Scales, an add-on that lets DuckDB split a big job across many computers. It’s part of a new version of Amazon Athena, available in preview, that runs on DuckDB. Athena lets companies analyze data they keep in S3, AWS’s widely used cloud storage service.
Mühleisen said the single-machine focus was deliberate for many years. The team wanted to get the most out of one computer before taking on the harder job of coordinating many of them. The idea, he said, is that “you can have a second computer when you have shown how to use the first one.”
The team always expected to take on many computers eventually, said Andy Warfield, an AWS vice president and distinguished engineer who works on S3. Joining AWS moved it to the top of the list.
“Left to their own devices, they might not have jumped into doing this distributed thing at this moment,” Warfield said.
AWS’s reason comes down to its biggest customers. Most of their queries are small, but a few giant ones scan most of their data, and those are too much for one machine. Amazon wanted DuckDB to work across “every size of query,” Warfield said, so the team made scaling out its priority.
The move puts DuckDB at the center of AWS’s analytics business, the services companies use to crunch their data for answers. AWS says DuckDB will become the common engine across those services, and its version of SQL their shared language.
Amazon doesn’t own the DuckDB open-source project itself, which wasn’t part of the acquisition. The software remains free and open source, held by the nonprofit DuckDB Foundation. DuckDB Scales is a different story, at least for now. It’s being built privately and is available initially in the Athena preview, and AWS plans to release it as open source in 2027.
It’s a bet that the industry’s standard approach is out of date. Most analytics systems were built more than a decade ago to split every query across many servers, AWS argues. Today’s machines are powerful enough to handle most jobs on their own, faster and for less money.
AI agents raise the stakes. AWS says agents are becoming the heaviest users of data, firing off dozens of queries at once and expecting answers in milliseconds. When agents get to pick their own tools, the company says, they most often pick DuckDB.
That makes this a play for one of the most contested markets in the cloud. Snowflake and Databricks, the data-platform companies that compete with AWS for the same customers, have each built big businesses analyzing data. Amazon’s purchase of DuckLabs was part of a broader shakeup in that market, as AWS pushes to make S3 a place to analyze data, not just store it.
The new Athena is available in preview starting today. Warfield said AWS expects general availability early next year. It’s the first major product to come out of the DuckLabs deal, which was announced in August.
AWS says Athena powered by DuckDB runs queries up to twice as fast as the current version, and cuts costs by up to half on queries of 100 GB or more.
Everyday queries in the new Athena still run on a single server. When a job is too big for one machine, such as years of transaction history, Athena automatically breaks it into hundreds or thousands of small tasks, runs each on an ordinary copy of DuckDB, and stitches the results back together. AWS says it can process tens of terabytes of data in seconds.
The system is built to serve many customers at once from a giant shared pool of computers. Mühleisen said that makes it work better the more people use it. With so many tasks in flight from so many customers, one company’s monster query barely registers.
He called that approach “absolutely unheard of in the open source space.”
Less typing: For Athena users, the most noticeable change may be how much less SQL they have to write. Warfield said queries that once took “tens or hundreds of lines” just to describe how the data is laid out are being replaced, in early testing, by one-line queries that point at a folder in S3.
The current version of Athena will stay available, and AWS plans AI-assisted tools to help customers move to the new one.
Warfield said pricing for the DuckDB version will likely be tied more closely to the computing power used. AWS was still finalizing the details.
AWS goes first: When DuckDB Scales is released as open source, Mühleisen said, the DuckDB Foundation will hold it under the same MIT license as DuckDB.
Mühleisen said the team has never shipped a scale-out system and wants real-world traffic first. DuckDB’s reliability comes from millions of test cases, built up over about eight years as users reported queries that broke. Running Scales inside Athena lets the team shortcut that process.
Mühleisen said the open-source version won’t be tied to AWS or any other single cloud. That will be possible to check once the code is public.
A longer relationship: The acquisition wasn’t the start. DuckLabs has worked with AWS since 2024, Mühleisen said. Warfield first had dinner with Mühleisen and co-creator Mark Raasveldt around AWS’s launch of S3 Tables that year, a feature for storing data in a form built for analysis.
Athena is the first of several AWS data services getting DuckDB. It’s also coming to EMR, AWS’s service for running big-data processing tools, and will be built into Redshift, its data warehouse, with more services to follow in 2027.
AI agents: DuckDB is downloaded more than 100 million times a month, according to AWS, which says AI agents pick it more often than any other tool when they get to choose.
DuckDB 2.0, released in October, added an agent mode to its command-line version. It detects when AI coding agents such as Anthropic’s Claude are using it, skips the tidy column formatting meant for human eyes, and trims its output to save tokens, the units AI models process and companies pay for. Mühleisen calls it “AX,” for agent experience.
Warfield didn’t pitch the move as an answer to Snowflake or Databricks, saying AWS partners with both.
When the DuckLabs deal was announced in August, Jordan Tigani, CEO of Seattle-based MotherDuck, which sells a cloud service built on DuckDB, predicted AWS would eventually launch its own DuckDB service. It took about three months.
Since the acquisition, Warfield said, customers who already rely on DuckDB have mostly given AWS the same message: “This is so exciting! Don’t screw this up!”
