{"id":{"repo_id":"ohiolink","oai_identifier":"oai:etd.ohiolink.edu:osu176407199051173"},"canonical_url":"https://search.ndltd.org/etd/ohiolink/oai:etd.ohiolink.edu:osu176407199051173","repository":{"repo_id":"ohiolink","name":"OhioLINK","base_url":"https://etd.ohiolink.edu/acprod/odb_etd/ws/oai/oai"},"display":{"title":"Improving Database Performance by Application-side Transaction Merging","abstract":"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.","abstract_html":"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.","abstract_has_math":false,"creators":["Ren, Xueyuan"],"institution":"The Ohio State University","degree_name":"Doctor of Philosophy","degree_level":"doctoral","degree_discipline":"Computer Science and Engineering","degree_department":null,"school":null,"contributors":[],"advisors":["Wang, Yang"],"committee_chairs":[],"committee_members":[],"year":2025,"date_issued":"2025","date_published":"2025","updated_at":"2026-11-27T05:02:56Z","subjects":["Computer Science","Database systems","transaction processing","database applications","OLTP benchmark."],"languages":["English"],"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."],"rights_urls":[],"identifier_entries":[],"person_identifier_entries":[]},"links":{"outbound_url":"http://rave.ohiolink.edu/etdc/view?acc_num=osu176407199051173","outbound_label":"Repository record","outbound_source":"dc:identifier","record_url":"http://rave.ohiolink.edu/etdc/view?acc_num=osu176407199051173","record_label":"Repository record","record_kind":"record","record_source":"dc:identifier","access_status":null,"embargo_until":null,"access_note":null},"oai_pmh_record":{"url":"https://union.ndltd.org/oai-pmh/?verb=GetRecord&metadataPrefix=oai_dc&identifier=oai%3Aunion.ndltd.org%3Arepo%3Aohiolink%3Aoai%3Aetd.ohiolink.edu%3Aosu176407199051173","prefix":"oai_dc"},"source_record":{"url":"https://etd.ohiolink.edu/acprod/odb_etd/ws/oai/oai?verb=GetRecord&metadataPrefix=oai_etdms&identifier=oai%3Aetd.ohiolink.edu%3Aosu176407199051173","prefix":"oai_etdms"},"metadata_groups":[{"id":"people","label":"People","entries":[{"key":"dc:contributor.advisor","label":"Advisor","values":["Wang, Yang"]},{"key":"dc:creator","label":"Author","values":["Ren, Xueyuan"]}]},{"id":"academic_context","label":"Academic Context","entries":[{"key":"dc:date","label":"Dc Date","values":["2025"]},{"key":"dc:publisher","label":"Institution","values":["The Ohio State University / OhioLINK"]},{"key":"dc:type","label":"Dc Type","values":["Electronic Thesis or Dissertation"]},{"key":"thesis:degree_discipline","label":"Discipline","values":["Computer Science and Engineering"]},{"key":"thesis:degree_level","label":"Degree Level","values":["doctoral"]},{"key":"thesis:degree_name","label":"Degree Name","values":["Doctor of Philosophy"]},{"key":"thesis:institution_name","label":"Thesis Institution Name","values":["The Ohio State University"]}]},{"id":"subjects_keywords","label":"Subjects and Keywords","entries":[{"key":"dc:subject","label":"Dc Subject","values":["Computer Science","Database systems","transaction processing","database applications","OLTP benchmark."]}]},{"id":"language_rights","label":"Language and Rights","entries":[{"key":"dc:language","label":"Dc Language","values":["English"]},{"key":"dc:rights","label":"Dc Rights","values":["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."]}]},{"id":"identifiers","label":"Identifiers","entries":[{"key":"dc:identifier","label":"Identifier","values":["http://rave.ohiolink.edu/etdc/view?acc_num=osu176407199051173"]}]},{"id":"additional","label":"Additional Metadata","entries":[{"key":"dc:description","label":"Description","values":["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."]},{"key":"dc:format","label":"Dc Format","values":["application/pdf","p.112","592.5 KB"]},{"key":"dc:title","label":"Title","values":["Improving Database Performance by Application-side Transaction Merging"]}]}],"canonical_facts":{"dc:contributor.advisor":["Wang, Yang"],"dc:creator":["Ren, Xueyuan"],"dc:date":["2025"],"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."],"dc:format":["application/pdf","p.112","592.5 KB"],"dc:identifier":["http://rave.ohiolink.edu/etdc/view?acc_num=osu176407199051173"],"dc:language":["English"],"dc:publisher":["The Ohio State University / OhioLINK"],"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."],"dc:subject":["Computer Science","Database systems","transaction processing","database applications","OLTP benchmark."],"dc:title":["Improving Database Performance by Application-side Transaction Merging"],"dc:type":["Electronic Thesis or Dissertation"],"thesis:degree_discipline":["Computer Science and Engineering"],"thesis:degree_level":["doctoral"],"thesis:degree_name":["Doctor of Philosophy"],"thesis:institution_name":["The Ohio State University"]},"updated_at":"2026-11-27T05:02:56Z"}