AI dev tools —

AWS rebuilding analytics stack, using DuckDB in Athena, EMR, Redshift through 2027

The shift towards AI agents, which are becoming the most intensive consumers of data, is prompting Amazon's cloud computing subsidiary to undertake a significant overhaul of its data analytics…

AWS rebuilding analytics stack, using DuckDB in Athena, EMR, Redshift through 2027

The shift towards AI agents, which are becoming the most intensive consumers of data, is prompting Amazon's cloud computing subsidiary to undertake a significant overhaul of its data analytics offerings, centering this transformation around the open-source analytical database engine, DuckDB.

At its annual re:Invent conference in Las Vegas on Tuesday, Amazon Web Services (AWS) unveiled plans to establish DuckDB as the foundational engine for its analytics services, commencing with Amazon Athena and subsequently expanding to Amazon EMR and Amazon Redshift through the year 2027. This development follows Amazon's acquisition of DuckLabs, the Dutch startup responsible for DuckDB, which occurred several months prior.

The growing utilization of AI agents carries implications for the data processing infrastructure because these agents can initiate numerous queries concurrently and anticipate near-instantaneous responses, contrasting sharply with the sequential query patterns typically employed by human analysts. Data platforms are already documenting that agents are surpassing human query volumes; for instance, MotherDuck, a cloud data warehouse company built upon DuckDB, reported in September that agents executed 29 times more queries than humans, with an average interval of four seconds for agent queries versus 60 seconds for human ones, although individual agent queries often scanned considerably fewer rows. Furthermore, in October, Andreessen Horowitz, an investor in Databricks, published an essay noting that the data analytics giant was also receiving a higher volume of queries from agents compared to humans. AWS explicitly highlighted this point in its recent announcement, stating that "AI agents are becoming the heaviest users of data." Consequently, the economic models and architectural designs of current analytics systems require reevaluation, as the company noted: "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." AWS also pointed out that "most analytics systems were built more than a decade ago, before agents existed," presenting enterprises with the challenge of managing escalating analytics expenditures while simplifying cross-system data querying for agents.

The first service to incorporate the DuckDB technology is Amazon Athena, AWS's serverless query service that enables users to analyze data residing in Amazon S3 using Structured Query Language. While Athena's current SQL engine relies on the open-source Presto and Trino projects, the version powered by DuckDB, currently available in preview, promises query speeds up to double that of Athena engine version 3, alongside cost reductions of up to 50% for queries involving 100 GB or more of data. Moreover, DuckDB will be integrated alongside established technologies like Apache Spark and Hadoop within Amazon EMR, AWS's managed big data processing service, and it will also be incorporated directly into Amazon Redshift, the cloud data warehouse rooted in PostgreSQL that utilizes a massively parallel processing architecture. Historically, these services shared a common characteristic: an emphasis on distributing computational tasks across several machines to manage substantial data volumes. AWS asserts that advancements in server hardware increasingly render this distribution approach unnecessary for many analytical queries, adding, "An analytics engine designed for today’s hardware also better serves agents’ needs for rapid querying at low cost." AWS further 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 date back to 2018, when researchers Hannes Mühleisen and Mark Raasveldt initiated the database's development at CWI, a mathematics and computer science research institute located in Amsterdam. In 2021, the pair established DuckDB Labs (later renamed DuckLabs) as a commercial entity, followed by the creation of the independent DuckDB Foundation later that same year to protect the intellectual property and the open-source nature of the project. The initial design of DuckDB allowed it to operate directly within an application on a solitary machine, meaning developers could execute analytical SQL queries on their personal computers without needing to provision a separate database server. AWS is now augmenting this architecture with DuckDB Scales, a new plugin that permits Athena to automatically disperse larger queries across multiple servers, capable of processing tens of terabytes of data in mere seconds, according to AWS; this plugin will be open-sourced in 2027 and is accessible in preview via Athena. AWS itself became a Gold supporter of the DuckDB Foundation earlier this year, a status requiring an annual donation of no less than €100,000, preceding the acquisition of DuckLabs in August. The transaction finalized on August 31, maintaining the founders' roles in guiding DuckDB's technical evolution, with the database remaining open source under the MIT license and under the governance of the DuckDB Foundation.

Beyond AWS's developments, the broader DuckDB ecosystem has seen related activity; just one day before AWS announced its DuckLabs agreement in August, MotherDuck disclosed its acquisition of Tower, a data infrastructure startup whose technology facilitates the construction and execution of data pipelines by agents. For both agents and developers operating across AWS's analytics services, perhaps the most significant long-term advantage will be the capacity to formulate a query once and execute it across various systems—potentially even testing it locally on a laptop before deployment in the cloud. AWS explained, "For agents, that changes how they work," reiterating that "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."

The integration of DuckDB into Athena, its serverless, distributed SQL query service, is part of a wider effort by AWS to adapt its analytics services for the demands of AI agents, which exhibit different consumption patterns than human users. AWS CEO Matt Garman stated during his re:Invent keynote, "At AWS, we always listen to our customers and in this case the agent is an important customer that we're listening closely to." Regarding Athena, AWS noted that the injection of DuckDB, now in preview, yields a 50 percent cost reduction for queries exceeding 100 GB, owing to DuckDB's efficiency, and these queries are processed twice as fast as with Athena engine version 3. Mai-Lan Tomsen Bukovec, VP of technology, explained in an interview with The Register that AWS has been observing how LLMs and AI agents interact with data. She observed, "We found that unlike humans who operate sequentially and linearly in a data pipeline, agents operate quite differently," adding, "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 commented that the human linear process "represents an eternity for an agent." In addressing how to accommodate agents as the new primary data users and their parallel query consumption style, AWS sought a scalable solution that aligns with the economics and ergonomics of agentic data patterns, leading to the acquisition of DuckLabs. Tomsen Bukovec described Duck's foundation as stemming from the simple idea that "you can have your second computer when you know how to use your first one," noting that the technology maximizes every available resource from a single compute node through techniques such as "vectorized execution" and various methods for processing data larger than memory. She called this a "pretty revolutionary concept," contrasting it with contemporary data processing relying on Apache Spark, which originated when cloud compute nodes were significantly smaller. Tomsen Bukovec stated that the power of a single cloud compute node has increased by 50 times between 2007 and 2026. She concluded that "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," because agents running many smaller queries in parallel require the performance and economics of single-node execution, which Duck provides. For queries spanning multiple nodes, AWS offers DuckDB Scales, a plugin currently in preview within Athena, with a planned open-source release when Athena's DuckDB engine becomes generally available in 2027. DuckDB is also slated for Amazon EMR and Amazon Redshift, with plans to extend its reach to additional services next year. Tomsen Bukovec summarized that the capacity to handle substantial data in a single query affordably, coupled with the scalability option, signifies a fundamental shift in analytics, stating, "It's one of the reasons why we're choosing [Duck] as the universal SQL engine for all of our AWS analytics services. It is a big bet."

This strategic pivot by AWS reflects a broader industry trend where the computational demands of sophisticated AI agents are forcing platform providers to re-engineer core data interaction paradigms away from traditional, sequential processing models toward highly parallel, single-node efficiency.

Why it matters

This shift signals a fundamental architectural change in how enterprise data is queried, moving away from purely distributed systems. For infrastructure operators, this means adapting to new, potentially more efficient, single-node processing paradigms driven by AI workload characteristics.

Reported by The New Stack and The Register.

ai-devtoolscloud

Related coverage

Elsewhere in this edition