The Community for Technology Leaders
RSS Icon
Subscribe
Issue No.09 - September (2004 vol.16)
pp: 1070-1081
Shiyong Lu , IEEE
ABSTRACT
Many transaction processing applications execute at isolation levels lower than SERIALIZABLE in order to increase throughput and reduce response time. However, the resulting schedules might not be serializable and, hence, not necessarily correct. The semantics of a particular application determines whether that application will run correctly at a lower level and, in practice, it appears that many applications do. The decision to choose an isolation level at which to run an application and the analysis of the correctness of the resulting execution is usually done informally. In this paper, we develop a formal technique to analyze and reason about the correctness of the execution of an application at isolation levels other than SERIALIZABLE. We use a new notion of correctness, semantic correctness, a criterion weaker than serializability, to investigate correctness. In particular, for each isolation level, we prove a condition under which the execution of transactions at that level will be semantically correct. In addition to the ANSI/ISO isolation levels of READ UNCOMMITTED, READ COMMITTED, and REPEATABLE READ, we also prove a condition for correct execution at the READ-COMMITTED with first-committer-wins and at SNAPSHOT isolation. We assume that different transactions in the same application can be executing at different levels, but that each transaction is executing at least at READ UNCOMMITTED.
INDEX TERMS
Isolation levels, correctness, serializability, transactions.
CITATION
Shiyong Lu, Arthur Bernstein, Philip Lewis, "Correct Execution of Transactions at Different Isolation Levels", IEEE Transactions on Knowledge & Data Engineering, vol.16, no. 9, pp. 1070-1081, September 2004, doi:10.1109/TKDE.2004.34
35 ms
(Ver 2.0)

Marketing Automation Platform Marketing Automation Tool