THE PERFORMANCE OF PROTOCOLS BASED ON LOCKS WITH ORDERED SHARING

被引:19
作者
AGRAWAL, D
ELABBADI, A
LANG, AE
机构
[1] Department of Computer Science, University of California, Santa Barbara, CA
[2] Xerox Corp, El Segundo, CA
基金
美国国家科学基金会;
关键词
CONCURRENCY CONTROL; 2-PHASE LOCKING; SIMULATION; DATABASE SYSTEMS; ORDERED SHARED LOCKS;
D O I
10.1109/69.317708
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
There is growing evidence that for a wide variety of database workloads and system configurations, locking-based concurrency control outperforms other types of concurrency control strategies. However, in the presence of increased data contention, locking protocols such as two-phase locking perform poorly. In this paper, we analyze a family of locking-based protocols that employ a new relationship between locks called ordered sharing. Using a centralized database simulation model, we demonstrate that these protocols exhibit comparable performance to that of traditional locking-based protocols when data contention is low, and they exhibit superior performance when data contention is high. Furthermore, we show that the performance of these protocols improves as resources become more plentiful. This is particularly significant because the performance of two-phase locking degrades as a result of data contention, nor resource contention. Thus, introducing additional resources improves the performance of the proposed protocols, though it does not benefit two-phase locking significantly.
引用
收藏
页码:805 / 818
页数:14
相关论文
共 23 条
[1]  
AGRAWAL D, 1990, IN PRESS J COMPUT SY
[2]  
AGRAWAL D, 1990, 9TH P ACM S PRINC DA, P85
[3]   CONCURRENCY-CONTROL PERFORMANCE MODELING - ALTERNATIVES AND IMPLICATIONS [J].
AGRAWAL, R ;
CAREY, MJ ;
LIVNY, M .
ACM TRANSACTIONS ON DATABASE SYSTEMS, 1987, 12 (04) :609-654
[4]   THE PERFORMANCE OF ALTERNATIVE STRATEGIES FOR DEALING WITH DEADLOCKS IN DATABASE-MANAGEMENT SYSTEMS [J].
AGRAWAL, R ;
CAREY, MJ ;
MCVOY, LW .
IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 1987, 13 (12) :1348-1363
[5]  
Aho A., 1983, DATA STRUCTURES ALGO
[6]   SEMANTICS-BASED CONCURRENCY-CONTROL - BEYOND COMMUTATIVITY [J].
BADRINATH, BR ;
RAMAMRITHAM, K .
ACM TRANSACTIONS ON DATABASE SYSTEMS, 1992, 17 (01) :163-199
[7]   FORMAL ASPECTS OF SERIALIZABILITY IN DATABASE CONCURRENCY CONTROL [J].
BERNSTEIN, PA ;
SHIPMAN, DW ;
WONG, WS .
IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 1979, 5 (03) :203-216
[8]  
Bernstein Philip A., 1987, CONCURRENCY CONTROL
[9]  
Carey M. J., 1983, THESIS U CALIFORNIA
[10]  
CAREY MJ, 1990, 9TH P ACM S PRINC DA, P72