XRPL Hackathon at Blockchain Kaigi 2026 (Tokyo) | Dec 9, 2026 | Sumida City
AI

AWS rebuilds Amazon Athena on DuckDB to run queries twice as fast

The engine is in testing now, and AWS says large scans can cost up to 50% less than on Athena engine version 3.

macro photography of black circuit board
Photo Alexandre Debiève on Unsplash

Key takeaways

  • Queries that scan 100 GB of data or more can cost up to 50% less than on Athena engine version 3.
  • AWS has closed its purchase of DuckLabs, the Amsterdam company behind DuckDB, while the open-source project stays free under the MIT license and is run by the DuckDB Foundation.
  • The DuckDB Scales plugin will be released as open source when the new Athena engine becomes generally available in early 2027.

Amazon Web Services has rebuilt Amazon Athena, its cloud analytics service, on DuckDB, an open-source database, and says the new engine can run queries twice as fast as the one it replaces.

The engine is available for testing now. AWS says queries that scan 100 GB of data or more can cost up to 50% less than on Athena engine version 3, and general availability is planned for early 2027.

The rebuild is aimed at AI agents, which can fire off dozens of queries at once, while human analysts work through one question at a time. AWS wants to handle that volume without making analytics more expensive.

DuckDB runs analytical queries quickly by using a single machine well instead of spreading work across many servers. It gets more than 100 million downloads a month, and Amazon's report says it is the database AI agents pick most often when allowed to choose their own tool.

AWS moved to buy DuckLabs, the Amsterdam company behind DuckDB, on Aug. 26, and the deal has closed. The purchase covers DuckLabs, not the open-source project, which stays free under the MIT license and is run by the DuckDB Foundation. Co-founders Hannes Mühleisen and Mark Raasveldt still lead DuckDB development at AWS.

For queries too big for one machine, AWS uses a plugin called DuckDB Scales, which splits them into smaller pieces run on several servers at once.

It is being built privately and will be released as open source when the new Athena engine becomes generally available in early 2027.

AWS also plans to add DuckDB to its Amazon EMR and Amazon Redshift services in 2027, giving agents and analysts one version of SQL to share.

The new engine supports Apache Iceberg v3, an open standard for large datasets, so users can query data sitting in Amazon S3 without moving or reformatting it. The push puts AWS in closer competition with Snowflake and Databricks. Cheaper queries may not shrink cloud bills much if agents respond by asking more questions.

Sources

  1. CryptopolitanAWS rebuilds Amazon Athena on DuckDB to serve AI agents
  2. The DefiantAWS Puts DuckDB at the Center of Its Analytics Overhaul
Get stories like this in your inbox

The day’s biggest crypto stories and market moves in one short morning email. Free, no spam.

No spam, unsubscribe any time. Privacy Policy

Not financial advice. This article is for information only. Crypto assets are highly volatile and you can lose all of your investment. See our Financial Risk Disclosure.
AWSAmazon AthenaDuckDBDuckLabsAI agents