COMMUTATIVITY-BASED CONCURRENCY-CONTROL FOR ABSTRACT DATA-TYPES

被引:107
作者
WEIHL, WE
机构
[1] MIT, Cambridge, MA, USA
基金
美国国家科学基金会;
关键词
Automata Theory - Computer Systems; Digital--Fault Tolerant Capability;
D O I
10.1109/12.9728
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
Two novel concurrency algorithms for abstract data types are presented that ensure serializability of transactions by using conflict relations based on the commutativity of operations. It is proved that both algorithms ensure a local atomicity property called dynamic atomicity. This means that the algorithms can be used in combination with each other and with other algorithms, as long as the other algorithms also ensure dynamic atomicity. The algorithms are quite general, permitting operations to be both partial and nondeterministic. The results returned by operations can be used in determining conflicts, thus allowing higher levels of concurrency than otherwise possible. The descriptions and proofs encompass recovery as well as concurrency control. The two algorithms use different recovery methods: one uses intentions lists, and the other uses undo logs. It is shown that conflict relations that work with one recovery method do not necessarily work with the other, thus illustrating the subtle interactions between concurrency control and recovery. A general correctness condition that must be satisfied by the combination of a recovery method and a conflict relation is identified.
引用
收藏
页码:1488 / 1505
页数:18
相关论文
共 32 条
[1]  
ALLCHIN JE, 1983, GITICS8323 GEORG I T
[2]  
BEERI C, 1983, 2ND P ACM S PRINC DI, P45
[3]  
BERNSTEIN PA, 1981, 5TH P BERK WORKSH DI, P71
[4]  
BERNSTEIN PA, 1981, ACM COMPUT SURV, V13, P185
[5]  
Bernstein Philip A., 1987, CONCURRENCY CONTROL
[6]   NOTIONS OF CONSISTENCY AND PREDICATE LOCKS IN A DATABASE SYSTEM [J].
ESWARAN, KP ;
GRAY, JN ;
LORIE, RA ;
TRAIGER, IL .
COMMUNICATIONS OF THE ACM, 1976, 19 (11) :624-633
[7]  
GRAY J, 1978, LECTURE NOTES COMPUT, V60
[8]   A THEORY OF RELIABILITY IN DATABASE-SYSTEMS [J].
HADZILACOS, V .
JOURNAL OF THE ACM, 1988, 35 (01) :121-145
[9]  
HERLIHY M, 1987, 17TH P INT S FAULT T
[10]   LOCKING PRIMITIVES IN A DATABASE SYSTEM [J].
KORTH, HF .
JOURNAL OF THE ACM, 1983, 30 (01) :55-79