Are Database System Researchers Making Correct Assumptions about Transaction Workloads?
Cuong D. T. Nguyen, Kevin Chen, Christopher DeCarolis, Daniel J. Abadi
摘要
Many recent papers have contributed novel concurrency control and transaction processing algorithms that start by making an assumption about the transaction workload submitted by an application, and yield high performance (sometimes by an order of magnitude) under these assumptions. Two of the most common assumptions are (1) Is the read and write set of a transaction known (or easily derivable) directly by analyzing the application code in advance of transaction execution, or is the access set of a transaction dependent on the current state of the database? (2) Does the application send the entire transaction in a single request to the database system or is the transaction sent via several requests ''interactively'', with application code run in between these requests. The database community has made tremendous progress in improving throughput and latency of transaction processing when read/write sets are known in advance, and for non-interactive transactions. However, the impact of this progress is directly dependent on the accuracy of these assumptions both for current and future applications. In this paper, we conduct an extensive study of 111 open-source applications, analyzing over 30,000 transactions to evaluate the accuracy of these assumptions both as they exist in the current codebase, and how extensive are the changes required to the code for these assumptions to hold moving forward. Our study reveals that the second of these assumptions is stronger than the first. More specifically, for 90% of applications, at least 58% of transactions per application have read/write sets that can be inferred in advance. Furthermore, although only 39% of applications contain zero interactive transactions, nonetheless, the majority of the remaining 61% of applications can be converted to being completely non-interactive with minimal changes.These insights underscore the potential for further optimization and research in designing OLTP systems that balance transaction expressivity and performance.
问问这篇 Paper
智能体会读完全文。
Lune 把这篇 Paper 索引到了每一个公式,引用它的顶会 Paper 也一样。你提问,回答直接引用原文。
引用它的顶会 Paper3
- Modeling Concurrency Control as a Learnable FunctionHexiang Pan, Shaofeng Cai, Tien Tuan Anh Dinh, Yuncheng Wu 等SIGMOD 2026 · 被引用 5 次
- Remora: Scale-out Deterministic Execution for Smart ContractsZhengqing Liu, Alberto Sonnino, Igor Zablotchi, Eleftherios Kokoris-Kogias 等VLDB 2026 · 被引用 1 次
- Brook-2PL: Tolerating High Contention Workloads with A Deadlock-Free Two-Phase Locking ProtocolFarzad Habibi, Juncheng Fang, Tania Lorido-Botran, Faisal NawabSIGMOD 2026 · 被引用 1 次
它引用的顶会 Paper18
- Epoch-based Commit and Replication in Distributed OLTP DatabasesYi Lu, Xiangyao Yu, Lei Cao, Samuel MaddenVLDB 2021 · 被引用 52 次
- Caracal: Contention Management with Deterministic Concurrency ControlDai Qin, Angela Demke Brown, Ashvin GoelSOSP 2021 · 被引用 37 次
- Procedural Extensions of SQL: Understanding their usage in the wildSurabhi Gupta, Karthik RamachandraVLDB 2021 · 被引用 34 次
- Handling Highly Contended OLTP Workloads Using Fast Dynamic PartitioningGuna Prasaad, Alvin Cheung, Dan SuciuSIGMOD 2020 · 被引用 34 次
- Achieving low tail-latency and high scalability for serializable transactions in edge computingXusheng Chen, Haoze Song, Jianyu Jiang, Chaoyi Ruan 等EuroSys 2021 · 被引用 32 次
相关 Paper
- Sharing Opportunities for OLTP Workloads in Different Isolation LevelsRobin Rehrmann, Carsten Binnig, Alexander Böhm, Kihong Kim 等VLDB 2020 · 被引用 8 次
- Ad Hoc Transactions in Web Applications: The Good, the Bad, and the UglyChuzhe Tang, Zhaoguo Wang, Xiaodong Zhang, Qianmian Yu 等SIGMOD 2022 · 被引用 20 次
- Transaction Scheduling: From Conflicts to Runtime ConflictsYang Cao, Wenfei Fan, Weijie Ou, Rui Xie 等SIGMOD 2023 · 被引用 8 次
- OOCC: One-Round Optimistic Concurrency Control for Read-Only Disaggregated TransactionsHao Wu, Mingxing Zhang, Kang Chen, Xia Liao 等ICDE 2025 · 被引用 4 次
- Using Read Promotion and Mixed Isolation Levels for Performant Yet Serializable Execution of Transaction ProgramsBrecht Vandevoort, Alan D. Fekete, Bas Ketsman, Frank Neven 等VLDB 2025
