scispace - formally typeset
Proceedings ArticleDOI

An optimistic commit protocol for distributed transaction management

Reads0
Chats0
TLDR
A family of practical protocols is devised that ensure semantic atomicity is guaranteed as the effects of a transaction that is finally aborted are undone semantically by a compensating transaction, and reduces to serializability when no global transactions are aborted.
Abstract
A major disadvantage of the two-phase commit (2PC) protocol is the potential unbounded delay that transactions may have to endure if certain failures occur. By combining a novel use of compensating transactions along with an optimistic assumption, we propose a revised 2PC protocol that overcomes these difficulties. In the revised protocol, locks are released when a site votes to commit a transaction, thereby solving the indefinite blocking problem of 2PC. Semantic, rather than standard, atomicity is guaranteed as the effects of a transaction that is finally aborted are undone semantically by a compensating transaction. Relaxing standard atomicity interacts in a subtle way with correctness and concurrency control issues. Accordingly, a correctness criterion is proposed that is most appropriate when atomicity is given up for semantic atomicity. The correctness criterion reduces to serializability when no global transactions are aborted, and excludes unacceptable executions when global transactions do fail. We devise a family of practical protocols that ensure this correctness notion. These protocols restrict only global transactions, and do not incur extra messages other than the standard 2PC messages. The results are of particular importance for multidatabase systems.

read more

Citations
More filters
Journal ArticleDOI

Overview of multidatabase transaction management

TL;DR: It is argued that the multidatabase research will become increasingly important in the coming years and basic research issues in multid atabase transaction management are outlined, followed by a discussion of open problems and practical implications.
Proceedings ArticleDOI

A transaction model for multidatabase systems

TL;DR: A transaction model for multidatabase system (MDBS) applications in which global subtransactions may be either compensatable or retriable is presented and a commit protocol and a concurrency control scheme that ensures that all generated schedules are correct are presented.
Journal Article

Ensuring relaxed atomicity for flexible transactions in multidatabase systems

TL;DR: This paper presents an approach that preserves the semi-atomicity (a weaker form of atomicity) of flexible transactions, allowing local sites to autonomously maintain serializability and recoverability of global transactions.
Book

Advanced Transaction Models and Architectures

TL;DR: This work presents an Extensible Approach to Realizing Advanced Transaction Models E. Anwar, et al., a novel and scalable approach to transaction processing designed to address the challenges of real-time data management and distributed systems.
Proceedings ArticleDOI

Ensuring relaxed atomicity for flexible transactions in multidatabase systems

TL;DR: In this article, the authors propose a flexible transaction model for the specification of global transactions, which preserves the semi-atomicity (a weaker form of atomicity) of flexible transactions, allowing local sites to autonomously maintain serializability and recoverability.
References
More filters
Book

Concurrency Control and Recovery in Database Systems

TL;DR: In this article, the design and implementation of concurrency control and recovery mechanisms for transaction management in centralized and distributed database systems is described. But this can lead to interference between queries and updates.
Book ChapterDOI

Notes on Data Base Operating Systems

Jim Gray
TL;DR: This paper is a compendium of data base management operating systems folklore and focuses on particular issues unique to the transaction management component especially locking and recovery.
Book

The transaction concept: virtues and limitations

Jim Gray
TL;DR: Some areas which require further study are described: the integration of the transaction concept with the notion of abstract data type, some techniques to allow transactions to be composed of sub- transactions, and handles which last for extremely long times.
Book

Distributed Databases: Principles and Systems

TL;DR: It is necessary to consider the architecture of the distributed database as a system of principles rather than as a black-box of values.
Journal ArticleDOI

Using semantic knowledge for transaction processing in a distributed database

TL;DR: This paper investigates how the semantic knowledge of an application can be used in a distributed database to process transactions efficiently and to avoid some of the delays associated with failures.