Reproduce “SharedDB: Killing One Thousand Queries With One Stone” on OpenResearch

Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Georgios Giannikis, Gustavo Alonso, Donald Kossmann

SharedDB, developed at ETH Zurich, implements a general-purpose relational database system that shifts from query-at-a-time to batch-oriented, shared computation. This approach significantly boosts throughput and predictability, achieving up to twice the throughput of a commercial system and eight times that of MySQL on TPC-W Browsing workloads, especially under high and dynamic loads.

Key insights

  • General-purpose shared computation is feasible across all relational operators and for mixed OLTP, OLAP, and update workloads, providing robust performance benefits beyond specialized scenarios.
  • By processing an entire relevant dataset once to serve many queries, the worst-case computation for a set of shared queries becomes bounded, preventing linear scaling of work with concurrent queries.
  • Robustness under dynamic, mixed workloads can be achieved by effectively preventing heavy queries from negatively impacting light queries, even without explicit load control mechanisms, due to shared execution.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.