Affiliation:
1. New York Univ., New York, NY
2. INRIA Rocquencourt, France
Abstract
Chopping transactions into pieces is good for performance but may lead to nonserializable executions. Many researchers have reacted to this fact by either inventing new concurrency-control mechanisms, weakening serializability, or both. We adopt a different approach. We assume a user who
—has access only to user-level tools such as (1) choosing isolation degrees 1ndash;4, (2) the ability to execute a portion of a transaction using multiversion read consistency, and (3) the ability to reorder the instructions in transaction programs; and
—knows the set of transactions that may run during a certain interval (users are likely to have such knowledge for on-line or real-time transactional applications).
Given this information, our algorithm finds the finest chopping of a set of transactions TranSet with the following property:
If the pieces of the chopping execute serializably, then TranSet executes serializably
. This permits users to obtain more concurrency while preserving correctness. Besides obtaining more intertransaction concurrency, chopping transactions in this way can enhance intratransaction parallelism.
The algorithm is inexpensive, running in
O(n×(e+m))
time, once conflicts are identified, using a naive implementation, where
n
is the number of concurrent transactions in the interval,
e
is the number of edges in the conflict graph among the transactions, and
m
is the maximum number of accesses of any transaction. This makes it feasible to add as a tuning knob to real systems.
Publisher
Association for Computing Machinery (ACM)
Cited by
78 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献
1. CATS: A Computation-Aware Transaction Processing System with Proactive Unlocking;2023 IEEE/ACM 31st International Symposium on Quality of Service (IWQoS);2023-06-19
2. MRVs: Enforcing Numeric Invariants in Parallel Updates to Hotspots with Randomized Splitting;Proceedings of the ACM on Management of Data;2023-05-26
3. Database Deadlock Diagnosis for Large-Scale ORM-Based Web Applications;2023 IEEE 39th International Conference on Data Engineering (ICDE);2023-04
4. Associativity-Aware Transaction Processing Optimization for Web Applications;2022 IEEE 28th International Conference on Parallel and Distributed Systems (ICPADS);2023-01
5. Deciding Robustness for Lower SQL Isolation Levels;ACM Transactions on Database Systems;2022-11-06