arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2601.10596cs.DB
收藏

通过应用侧事务合并提高数据库性能

Improving Database Performance by Application-side Transaction Merging

The Ohio State University(俄亥俄州立大学)

Xueyuan Ren, Frank Li, Yang Wang

AI总结:

通过应用侧事务合并技术提升数据库性能,实现TPC-C和Spree吞吐量分别提升2.65倍和3.52倍。

摘要:

本文探索了一种通过在应用侧合并结构上相似的语句或事务来提高事务处理性能的新机会。具体而言,我们重新编写事务以实现三个目标:1)利用特定的SQL语义合并相似的语句;2)消除冗余读取;3)通过预先计算其聚合效果来跨事务合并竞争性的语句。基于这一想法,我们提出了TransactionMerger,这是一个中间件,用于收集和合并不同客户端的事务。我们进一步提出了一个静态分析工具,用于在不违反隔离性的情况下识别合并机会,以及我们在TPC-C和Spree等流行现实应用中重新编写事务的经验。我们的评估显示,这种事务合并可以将TPC-C的吞吐量提高高达2.65倍,将Spree的吞吐量提高3.52倍。

英文摘要:

This paper explores a new opportunity to improve the performance of transaction processing at the application side by merging structurely similar statements or transactions. Concretely, we re-write transactions to 1) merge similar statements using specific SQL semantics; 2) eliminate redundant reads; and 3) merge contending statements across transactions by pre-computing their aggregated effect. Following this idea, we present the design of TransactionMerger, a middleware to collect and merge transactions across different clients. We further present a static analysis tool to identify the merging opportunity without violating isolation as well as our experience of re-writing transactions in TPC-C and Spree, a popular real-world application. Our evaluation shows that such transaction merging can improve TPC-C throughput by up to 2.65X and Spree throughput by 3.52X.

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

↑