arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2604.17180cs.DBcs.PF
收藏

BranchBench: 将数据库分支与代理需求对齐

BranchBench: Aligning Database Branching with Agentic Demands

Columbia University(哥伦比亚大学)

Elaine Ang, Sam Weldon, In Keun Kim, Kevin Durand, Kostis Kaffes, Eugene Wu

AI总结:

BranchBench评估可分支关系型数据库在代理探索中的性能,发现优化分支速度的系统读取速度显著下降,而优化数据操作的系统分支创建延迟更高,凸显需设计专门支持代理探索的数据库。

摘要:

可分支数据库正从开发工具演变为支持具有投机性变异和非线性状态探索的代理工作负载的基础设施。传统关系数据库管理系统(RDBMS)机制如嵌套事务无法提供自主代理所需的持久隔离和并发分支管理,而近期的'零拷贝'设计在代理工作负载上的影响尚不明确。为澄清这一领域,我们提出了BranchBench,一个用于评估可分支关系型数据库在代理探索中的基准。我们定义了五个代表性工作负载——代理软件工程、故障重现、数据整理、MCTS和模拟,并设计了参数化的宏基准,执行分支-变异-评估循环以反映这些工作负载,以及隔离分支生命周期成本的微基准。我们评估了包括Neon、DoltgreSQL、Tiger Data、Xata和PostgreSQL基线系统,并发现根本矛盾:优化分支速度的系统在分支深入时读取速度慢达5-4000倍,而优化数据操作的系统分支创建和切换延迟高25-1500倍。进一步,当前系统无法在大规模上支持代表性工作负载。这些结果凸显了需要专门设计用于代理探索的分支原生数据库系统。

英文摘要:

Branchable databases are evolving from developer tools to infrastructure for agentic workloads characterized by speculative mutations and non-linear state exploration. Traditional RDBMS mechanisms such as nested transactions do not provide the persistent isolation and concurrent branch management required by autonomous agents, and recent "zero-copy" designs make different trade-offs whose impact on agentic workloads remains unclear. To clarify this space, we present BranchBench, a benchmark for evaluating branchable relational DBMSes under agentic exploration. We characterize five representative workloads-agentic software engineering, failure reproduction, data curation, MCTS, and simulation-and design parameterized macrobenchmarks that execute branch-mutate-evaluate loops to reflect these workloads, along with microbenchmarks that isolate branch lifecycle costs. We evaluate state of the art systems including Neon, DoltgreSQL, Tiger Data, Xata, and PostgreSQL baselines, and find a fundamental tension: systems optimized for fast branching suffer up to 5-4000x slower reads as branches deepen, while systems optimized for fast data operations incur 25-1500x higher branch creation and switching latency. Further, no current system supports the representative workloads at scale. These results highlight the need for branch-native DBMSes designed specifically for agentic exploration.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑