· AI dev tools
AWS rebuilds analytics stack, using DuckDB in Amazon Athena, EMR, Redshift through 2027
The capacity of a single compute node to handle massive amounts of data is undergoing a dramatic transformation, a shift that AWS is capitalizing on by integrating DuckDB across its analytics suite…
The capacity of a single compute node to handle massive amounts of data is undergoing a dramatic transformation, a shift that AWS is capitalizing on by integrating DuckDB across its analytics suite to cater to the burgeoning demands of AI agents.
Amazon Web Services (AWS) has unveiled a sweeping modernization of its analytics offerings, predicated on the conviction that the increasing prevalence of AI agents will fundamentally alter how organizations interrogate their datasets. During its annual re:Invent event in Las Vegas on Tuesday, AWS detailed plans to establish DuckDB, an open-source analytical database engine, as the unifying core for its various analytics services. This rollout will commence with Amazon Athena, subsequently expanding to Amazon EMR and Amazon Redshift by the year 2027.
This strategic move follows Amazon’s acquisition of DuckLabs, the Dutch startup responsible for DuckDB, which was announced approximately three months prior. The rationale stems from the observation that agents are rapidly becoming the most intensive consumers of data. While a human analyst typically proceeds through a sequence of queries one after another, agents possess the capability to launch numerous queries simultaneously while expecting immediate replies. Indeed, several data platforms are already reporting that agents are surpassing humans in terms of query volume. For instance, in September, MotherDuck, a cloud data warehouse company also built upon DuckDB, released an analysis of its own query traffic, showing that agents executed 29 times more queries than people. Furthermore, the average time between queries generated by an agent was four seconds, contrasting sharply with the 60-second interval observed for human users, although individual agent queries tended to scan significantly fewer rows. Reinforcing this trend, venture capital firm Andreessen Horowitz, an investor in Databricks, published an essay in October indicating that the data analytics giant was also receiving more queries from agents than from human users.
AWS explicitly highlights this point in its recent declaration, asserting that “AI agents are becoming the heaviest users of data.” Consequently, this necessitates a fundamental re-evaluation of the architecture and economic models underpinning current analytics systems. The company clarified this need by stating, “Organizations want analytics that work for both agents and people, with a simple way to query data wherever it lives and without costs climbing as agent use grows.” They further noted, “But most analytics systems were built more than a decade ago, before agents existed.” The core challenge for enterprises, therefore, involves meeting this escalating demand without causing analytics expenditures to skyrocket, while simultaneously simplifying the process for agents to query data spread across diverse platforms.
The initial service to receive the DuckDB enhancement is Amazon Athena, which functions as AWS’s serverless query service, allowing users to analyze data residing in Amazon S3 using SQL. Athena’s existing SQL engine relies on the open-source Presto and Trino projects; however, the version powered by DuckDB, available in preview starting today, promises query speeds up to twice that of Athena engine version 3, alongside potential cost reductions of up to 50% for queries involving 100 GB of data or more. Additionally, DuckDB will be introduced alongside established technologies like Apache Spark and Hadoop within Amazon EMR, AWS’s managed service for big data processing, and it will be incorporated directly into Amazon Redshift, the company’s cloud data warehouse, which utilizes a massively parallel processing architecture rooted in PostgreSQL.
Historically, these services shared a common characteristic: an emphasis on distributing computational tasks across multiple machines to manage substantial data volumes. AWS contends that recent advancements in server hardware diminish the necessity of this distributed approach for many types of analytical queries. As AWS explains, “An analytics engine designed for today’s hardware also better serves agents’ needs for rapid querying at low cost.” They elaborated, “These systems were designed to split each query across many servers to handle larger datasets and the compute necessary to query them; today, servers are much more powerful, so analytics that once required a complex distributed system can now run on a single server. An analytics engine designed for today’s hardware also better serves agents’ needs for rapid querying at low cost.”
DuckDB’s origins trace back to 2018 in Amsterdam, where researchers Hannes Mühleisen and Mark Raasveldt began developing the database at CWI, a research institute specializing in mathematics and computer science. In 2021, the pair established DuckDB Labs (which has since been renamed DuckLabs) as a commercial venture, with the independent DuckDB Foundation following in the same year to safeguard the project's intellectual property and open-source status. DuckDB was engineered to operate directly within an application on a single machine, enabling developers to run analytical SQL queries on their personal laptops without needing to configure a separate database server. AWS is now augmenting this foundation with DuckDB Scales, a novel plugin that permits Athena to automatically distribute larger queries across several servers, enabling the processing of tens of terabytes of data in mere seconds, according to AWS. This plugin is currently in preview within Athena and is scheduled for open-sourcing in 2027.
It is worth noting that AWS became a Gold supporter of the DuckDB Foundation earlier this year, a status requiring an annual contribution of no less than €100,000, preceding the acquisition of DuckLabs in August. The acquisition finalized on August 31, allowing both original founders to continue directing DuckDB's technical development, while the database remains open source under the MIT license and under the oversight of the DuckDB Foundation. Regarding data accessibility, one source noted, “A company’s data is often spread across several systems, each with its own version of SQL, and every mismatch is another chance for an agent to stumble.”
Separately, activity has been noted within the wider DuckDB sphere. Just one day before AWS finalized its DuckLabs agreement in August, MotherDuck announced its own purchase of Tower, a data infrastructure startup whose technology facilitates the creation and execution of data pipelines by agents. For developers and agents interacting with AWS’s analytics services, perhaps the most significant long-term advantage will be the capacity to author a query once and execute it across multiple systems—potentially even testing it locally on a laptop before deploying it in the cloud. AWS stated, “For agents, that changes how they work. A company’s data is often spread across several systems, each with its own version of SQL, and every mismatch is another chance for an agent to stumble.”
AWS CEO Matt Garman remarked during his re:Invent keynote that, “At AWS, we always listen to our customers and in this case the agent is an important customer that we're listening closely to.” Mai-Lan Tomsen Bukovec, VP of technology, shared that AWS has been closely observing how AI agents and Large Language Models utilize data, explaining in an interview with The Register, "We found that unlike humans who operate sequentially and linearly in a data pipeline, agents operate quite differently." She elaborated, "The LLM will take a complex question and will break it down into a series of smaller topics and then it'll process the smaller sub-questions in parallel, combine a response and return it. They are doing a very similar thing when they're writing a data quote."
Tomsen Bukovec further explained that the human linear process, in contrast, represents an immense duration for an agent. Considering that agents have become the new heavy users of data, with a consumption pattern involving parallel query processing, AWS sought a method to adapt the economics and ergonomics of agentic data patterns into something customers could implement at scale. AWS identified this solution in DuckLabs, which it subsequently acquired. "Duck started from a very simple premise, which is you can have your second computer when you know how to use your first one," Tomsen Bukovec recounted. "So they use basically every trick in the book to wring out every last resource from the underlying single compute node. 'It's vectorized execution. It's all kinds of tricks around larger-than-memory processing, a whole set of different database techniques either existing or invented to maximize the resources to process as much and as big of a query as you can on a single node.'"
She characterized this concept as quite revolutionary, noting that much of today's data processing relies on Apache Spark, which dates back to 2010 when compute nodes were considerably smaller, thus necessitating a cluster for handling large queries. However, she added that between 2007 and 2026, the power of a solitary cloud compute node has increased by 50 times. "So if you have a much more powerful single node and you have an engine that knows how to bring every last bit of resource out of that single node, you have an incredibly powerful building block for AI agents working with data," she stated. "Because if the AI agents are running many smaller queries in parallel, they're going to want to have the performance and the economics of executing those queries on a single node. That's what you get with Duck."
For queries that do extend across multiple nodes, AWS provides DuckDB Scales, a plugin designed to extend queries across various servers. This feature is currently accessible in preview within Athena, and the plan is to release it as open source when Athena’s DuckDB engine achieves general availability in 2027. Furthermore, DuckDB is slated for integration into Amazon EMR and Amazon Redshift, with plans to extend its presence to additional services next year. Tomsen Bukovec concluded that the capacity to process such large volumes of data in a single query at a low cost, coupled with the option to scale when required, signifies a fundamental shift in analytics. "It's one of the reasons why we're choosing [Duck] as the universal SQL engine for all of our AWS analytics services," she asserted. "It is a big bet."
Why it matters
This shift signals a major architectural pivot in cloud data tooling to accommodate the high-volume, rapid querying needs of AI agents. Developers should watch how this move toward single-server efficiency impacts existing distributed data patterns in AWS services.





