Improving Database Performance by Application-side Transaction Merging

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Ren, Xueyuan, Li, Frank, Wang, Yang
Format: Preprint
Publié: 2026
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866911377704091648
author Ren, Xueyuan
Li, Frank
Wang, Yang
author_facet Ren, Xueyuan
Li, Frank
Wang, Yang
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2601_10596
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Improving Database Performance by Application-side Transaction Merging
Ren, Xueyuan
Li, Frank
Wang, Yang
Databases
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.
title Improving Database Performance by Application-side Transaction Merging
topic Databases
url https://arxiv.org/abs/2601.10596