Back to search

The Ohio State University

Improving Database Performance by Application-side Transaction Merging

Abstract

dc:description

Transaction processing is a baseline for many database systems, and its performance is critical for database applications. A classic approach to improve the performance of transaction processing is batching. While traditional database optimizations often take a long time to be adopted, naive client-side batching approach offers limited gains.To leverage the benefts of batching and give application immediate performance gains, we investigate transaction processing optimizations through application-side transaction merging, which improves throughput by re-writing transactions without requiring database-side modifcations. We explore two opportunities: 1) intra-transaction merging, which combines multiple statements within a single transaction, and 2) inter-transaction merging, which aggregates similar transactions across different clients, to provide more throughput improvement. Concretely, we re-write transactions to 1) merge similar statements using specifc 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 and implementation of TransactionMerger, a middleware that collects and merges transactions across different clients. We further present a static analysis tool to identify the merging opportunities without violating isolation, as well as our experience of rewriting transactions in TPC-C benchmark. We evaluate TransactionMerger against TPC-C, showing that transaction merging can improve TPC-C throughput by up to 2.65x without any changes to the database side.In the process, we fnd that TPC-C has some limitations in representing modern e-commerce applications. TPC-C is widely used in evaluating transaction processing systems, due to its versatility and reasonable complexity to test different aspects of the database system. However, due to its age, it’s questionable whether its workload still represents today’s e-commerce applications. We compare the design of TPC-C with that of three popular online shopping applications. We observe a few key differences, including contention levels, use of complicated queries, imbalanced data and traffc, etc. Based on the study, we propose a few changes to TPC-C to better capture the performance characteristics of modern OLTP applications.To show the effectiveness, we further apply transaction merging to our modifed TPC-C benchmark and Spree application. We evaluate TransactionMerger on both workloads. The results show that TransactionMerger can improve the throughput of the modifed TPCC benchmark by up to 3.68x, and the Spree application by up to 3.52x, demonstrating transaction merging is benefcial in improving database performance for real-world e-commerce applications.

Degree

thesis:*
Name thesis:degree_name
Doctor of Philosophy
Level thesis:degree_level
doctoral
Discipline thesis:degree_discipline
Computer Science and Engineering
Grantor dc:publisher
The Ohio State University
Year dc:date
2025

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Ren, Xueyuan
Advisor dc:contributor.advisor
  • Wang, Yang

Subjects

dc:subject × 5

Rights

dc:rights
Statement dc:rights
  • unrestricted
  • This thesis or dissertation is protected by copyright: all rights reserved. It may not be copied or redistributed beyond the terms of applicable copyright laws.
Language dc:language
English

Identifiers

dc:identifier.*

Chain of custody

source
Harvested from
OhioLINK
Base URL
etd.ohiolink.edu/acprod/odb_etd/ws/oai/oai
Last updated
2026-11-27
Source record
OAI-PMH GetRecord
citation

Ren, Xueyuan. Improving Database Performance by Application-side Transaction Merging. doctoral thesis, The Ohio State University, 2025. http://rave.ohiolink.edu/etdc/view?acc_num=osu176407199051173