SERIALIZABILITY OF CONCURRENT DATABASE UPDATES

被引:429
作者
PAPADIMITRIOU, CH
机构
[1] Laboratory for Computer Science, Massachusetts Institute of Technology, Cambridge, MA 02139
关键词
concurrency control; concurrent update problem; database management; schedulers; senahzabdlty; transactions;
D O I
10.1145/322154.322158
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
A sequence of interleaved user transactions in a database system may not be serializable, ie, equivalent to some sequential execution of the individual transactions Using a simple transaction model, it is shown that recognizing the transaction histories that are serlahzable is an NP-complete problem. Several efficiently recognizable subclasses of the class of senahzable histories are therefore introduced; most of these subclasses correspond to senahzabdity principles existing in the hterature and used in practice Two new principles that subsume all previously known ones are also proposed Necessary and sufficient conditions are given for a class of histories to be the output of an efficient history scheduler, these conditions imply that there can be no efficient scheduler that outputs all of senahzable histories, and also that all subclasses of senalizable histories studied above have an efficient scheduler Finally, it is shown how these results can be extended to far more general transaction models, to transactions with partly interpreted functions, and to distributed database systems. © 1979, ACM. All rights reserved.
引用
收藏
页码:631 / 653
页数:23
相关论文
共 22 条
[1]  
Aho A. V., 1974, DESIGN ANAL COMPUTER
[2]  
BERNSTEIN PA, 1978, IEEE T SOFTWARE ENG, V4, P154, DOI 10.1109/TSE.1978.231494
[3]  
BERNSTEIN PA, 1978, 1978 P BERK WORKSH D, P189
[4]  
BERNSTEIN PA, 1977, CCA7709 TR COMP CORP
[5]  
BERNSTEIN PA, 1977, P IEEE WORKSHOP OS D
[6]  
Coffman Jr E. G., 1973, OPERATING SYSTEMS TH
[7]   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
[8]  
Garey M.R., 1979, COMPUTERS INTRACTABI
[9]  
Karp Richard M., 1972, COMPLEXITY COMPUTER, P85
[10]  
KUNG HT, 1978, 4TH P INT C VER LARG, P498