TLDR

  • Amazon Athena powered by DuckDB is in preview, with queries up to 2x faster and costs up to 50% lower on large datasets.

  • A new add-on called DuckDB Scales splits very large jobs across hundreds or thousands of small tasks.

  • DuckDB Scales is private for now, with an open source release planned for 2027.

  • New Arrow streaming, an ADBC driver and a DuckDB extension target data scientists and AI agents.

  • The preview runs in five AWS Regions, with general availability expected early next year.


Amazon Web Services has opened a preview of Amazon Athena powered by DuckDB. The new version of the query service was unveiled Tuesday at the re:Invent conference in Las Vegas.

Athena lets companies analyze data stored in S3, the cloud storage service from Amazon. The update swaps in DuckDB as the engine that runs those queries.

AWS says queries run up to twice as fast as on Athena version 3. Costs fall by up to half on queries of 100 GB or more.

How Athena Splits Big Jobs Across Many Machines

DuckDB is known for doing all its work on one machine, whether a laptop or a large server. Everyday queries in the new Athena still run on a single server.

Larger jobs, such as years of transaction history, work differently. Athena breaks them into hundreds or thousands of small tasks, runs each on a standard copy of DuckDB and joins the results.

The add-on that does this is called DuckDB Scales. It can process tens of terabytes of data in seconds.

DuckDB Scales is being built privately for now. It debuts in the Athena preview, and a release as open source is planned for 2027.

The open source version will use the same MIT license as DuckDB. Co-creator Hannes Mühleisen said it will not be tied to AWS or any single cloud, which can be checked once the code is public.

Amazon does not own the DuckDB open source project. It stays free and is held by the nonprofit DuckDB Foundation. Amazon acquired DuckLabs, the company behind the database, in a deal announced in August.

New Tools for Developers and AI Agents

Athena now supports Apache Arrow through a new streaming API and an ADBC driver. Results flow straight into data science tools as they arrive, with no extra conversion step.

A new open source DuckDB extension lets users write SQL on a laptop, then run it on Athena. Data engineers can test transformations locally before deploying them at scale. Think of it as a test drive before the highway.

The service also supports Apache Iceberg v3 tables. Users can query the same Iceberg data they use in other analytics tools.

DuckDB 2.0, released in October, added an agent mode to its command line version. It detects AI coding agents such as Claude and trims its output to save tokens.

Agents often run many exploratory queries before answering one question. DuckDB is downloaded more than 100 million times a month.

Early tests show one-line queries that point at an S3 folder replacing tens or hundreds of lines of SQL describing data layout, AWS vice president Andy Warfield said.

The current version of Athena will stay available. AWS plans AI-assisted tools to help customers move to the new one.

Athena is the first of several AWS data services getting DuckDB. It is also coming to EMR and will be built into Redshift, with more to follow in 2027.

Pricing is likely to be tied more closely to computing power used, and details are not final. The preview runs in US East (N. Virginia), US East (Ohio), US West (Oregon), Europe (Ireland) and Asia Pacific (Tokyo), with general availability expected early next year.