BranchBench: Aligning Database Branching with Agentic Demands

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Ang, Elaine, Weldon, Sam, Kim, In Keun, Durand, Kevin, Kaffes, Kostis, Wu, Eugene
Format: Preprint
Published: 2026
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866917420001656832
author Ang, Elaine
Weldon, Sam
Kim, In Keun
Durand, Kevin
Kaffes, Kostis
Wu, Eugene
author_facet Ang, Elaine
Weldon, Sam
Kim, In Keun
Durand, Kevin
Kaffes, Kostis
Wu, Eugene
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2604_17180
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle BranchBench: Aligning Database Branching with Agentic Demands
Ang, Elaine
Weldon, Sam
Kim, In Keun
Durand, Kevin
Kaffes, Kostis
Wu, Eugene
Databases
Performance
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.
title BranchBench: Aligning Database Branching with Agentic Demands
topic Databases
Performance
url https://arxiv.org/abs/2604.17180