AWS 借助 DuckDB 加速 AI 智能体数据查询

Amazon Web Services(AWS)已将开源分析引擎 DuckDB 集成到 Amazon Athena 中,后者是用于查询存储在 Amazon S3 中数据的服务。该公司表示,这一改动将帮助 AI 智能体以更快的速度和更低的成本运行查询。它还计划将 DuckDB 引入 Amazon EMR 和 Amazon Redshift。
AWS 表示,由 DuckDB 驱动的 Athena 查询速度最高可达使用 Athena engine version 3 的查询的两倍。对于涉及 100 GB 或更多数据的查询,该公司声称成本最高可降低 50%。
更新后的 Athena 服务目前处于预览阶段。客户可以查询存储在 Amazon S3 中的数据,无需搭建或维护单独的数据库基础设施。
AWS 表示,AI 智能体对分析系统提出了不同的要求,因为它们可以同时运行多个查询,并针对单个结果继续追问。传统系统旨在将查询分发到多台服务器,以处理大型数据集。AWS 认为,服务器性能的提升已使单服务器处理成为许多分析工作负载的可行选择。
DuckDB 旨在单台服务器上运行分析查询,从而减少将常规工作负载分发到多台机器的需求。AWS 表示,正是这一架构带来了 Athena 在性能和成本上的改进。
针对更大的工作负载,AWS 推出了 DuckDB Scales,这是一个可将单个查询分发到多台运行 DuckDB 的服务器的插件。Athena 可以在单台服务器上运行常规查询,并将更大的工作负载分发到多台服务器。AWS 表示,该功能可以在数秒内处理规模达数十 TB 的数据集。
DuckDB Scales 现已提供预览。AWS 计划在 2027 年 DuckDB 驱动的 Athena 正式可用(general availability)发布时,将其开源。
AWS 还计划将 DuckDB 引入 Amazon EMR,在那里它将与现有工具一起运行,并直接将其集成到 Amazon Redshift 中。该公司预计将在 2027 年期间将其扩展到更多分析服务。
这些集成还将在上述服务中引入 DuckDB SQL。AWS 表示,客户可以只编写一次查询,就能在不同环境中运行,从而减少针对不同 SQL 实现调整查询的需要。
现有数据库如何应对 AI 智能体的需求这一问题,已在围绕企业数据库在智能体式工作流中局限性的讨论中浮现。
译文由英文原文机器翻译,术语按行业惯例统一,可在文末展开原文核对。
查看英文原文(AWS Turns to DuckDB to Speed Up Data Queries for AI Agents)
Amazon Web Services (AWS) has integrated the open-source analytics engine DuckDB into Amazon Athena, its service for querying data stored in Amazon S3. The company said the change would help AI agents run queries faster and at lower cost. It also plans to bring DuckDB to Amazon EMR and Amazon Redshift.
AWS said Athena queries powered by DuckDB ran up to twice as fast as those using Athena engine version 3. For queries involving 100 GB or more of data, the company claimed cost reductions of up to 50%.
The updated Athena service is currently available in preview. Customers can query data stored in Amazon S3 without setting up or maintaining separate database infrastructure.
AWS said AI agents place different demands on analytics systems because they can run multiple queries simultaneously and follow up on individual results. Traditional systems were designed to distribute queries across several servers to handle large datasets. AWS argued that improvements in server performance have made single-server processing a viable option for many analytical workloads.
DuckDB is designed to run analytical queries on a single server, reducing the need to distribute routine workloads across multiple machines. AWS said this architecture accounts for the performance and cost improvements in Athena.
For larger workloads, AWS introduced DuckDB Scales, a plugin that distributes a single query across multiple servers running DuckDB. Athena can run routine queries on a single server and distribute larger workloads across multiple servers. AWS said the feature can process datasets spanning tens of terabytes in seconds.
DuckDB Scales is available in preview. AWS plans to open-source it alongside the general availability launch of DuckDB-powered Athena in 2027.
AWS also plans to bring DuckDB to Amazon EMR, where it will run alongside existing tools, and integrate it directly into Amazon Redshift. The company expects to extend it to more analytics services throughout 2027.
The integrations will also introduce DuckDB SQL across these services. AWS said customers could write queries once and run them across different environments, reducing the need to adjust queries for different SQL implementations.
The question of how existing databases handle the demands of AI agents has emerged in discussions around the limitations of enterprise databases in agentic workflows.
正文保留英文原文,标题与摘要由机器翻译。
原文发布于 Analytics India Magazine(AWS Turns to DuckDB to Speed Up Data Queries for AI Agents),标题、摘要与正文由机器翻译,术语按行业惯例统一,未经人工逐句校订。