TY - GEN
T1 - Simple rational guidance for chopping up transactions
AU - Shasha, Dennis
AU - Simon, Eric
AU - Valcluriez, Patrick
N1 - Funding Information:
1supported by U.S. Office of Naval Research #~OOOl.l-91-J-1172, U.S. National Science Foundation grants #IRI-8%olww and #C~R-9103953. Work done while Sbasba was at INRIA.
Publisher Copyright:
© 1992 ACM.
PY - 1992/6/2
Y1 - 1992/6/2
N2 - Chopping transactions into pieces is good for performance but may lead to non-serializable executions. Many research ers 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 l has only the degree 2 and degree 3 consistency options offered by the vast majority of conventions] database systems; and knows the set of transactions that may run during a certain interval (users are likely to Jrave such knowledge for online or real-time transactional applications). Given this information, our algorifhm finds the finest parfifioning of a set of transactions TranSet with the following property: if the partitioned transactions execute serializable, then TranSet executes serializable. This permits users to obtain more concurrency while preserving correctness. Besides obtaining more inter-transaction concurrency, chopping transactions in this way can enhance intra-transaction parallelism. The algorithm is inexpensive, running in O(n x (e + m)) time using a naive implementation where n is the number of concurrent transactions in fhe 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 pracfical Systems.
AB - Chopping transactions into pieces is good for performance but may lead to non-serializable executions. Many research ers 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 l has only the degree 2 and degree 3 consistency options offered by the vast majority of conventions] database systems; and knows the set of transactions that may run during a certain interval (users are likely to Jrave such knowledge for online or real-time transactional applications). Given this information, our algorifhm finds the finest parfifioning of a set of transactions TranSet with the following property: if the partitioned transactions execute serializable, then TranSet executes serializable. This permits users to obtain more concurrency while preserving correctness. Besides obtaining more inter-transaction concurrency, chopping transactions in this way can enhance intra-transaction parallelism. The algorithm is inexpensive, running in O(n x (e + m)) time using a naive implementation where n is the number of concurrent transactions in fhe 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 pracfical Systems.
UR - http://www.scopus.com/inward/record.url?scp=85031732932&partnerID=8YFLogxK
UR - http://www.scopus.com/inward/citedby.url?scp=85031732932&partnerID=8YFLogxK
U2 - 10.1145/130283.130317
DO - 10.1145/130283.130317
M3 - Conference contribution
AN - SCOPUS:85031732932
T3 - Proceedings of the ACM SIGMOD International Conference on Management of Data
SP - 298
EP - 307
BT - Proceedings of the 1992 ACM SIGMOD International Conference on Management of Data, SIGMOD 1992
A2 - Stonebraker, Michael
PB - Association for Computing Machinery
T2 - 1992 ACM SIGMOD International Conference on Management of Data, SIGMOD 1992
Y2 - 2 June 1992 through 5 June 1992
ER -