Improving the performance of read-only. transactions through speculation

被引:0
作者
Ragunathan, T. [1 ]
Reddy, P. Krishna [1 ]
机构
[1] Int Inst Informat Technol, Hyderabad, Andhra Pradesh, India
来源
DATABASES IN NETWORKED INFORMATION SYSTEMS, PROCEEDINGS | 2007年 / 4777卷
关键词
speculation; transaction processing; read-only transactions; serializability;
D O I
暂无
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
A read-only transaction (ROT) does not modify any data. The main issues regarding processing ROTs are correctness, data currency and performance. Two-phase Locking (2PL) protocol is widely used for concurrency control with serializabilty as correctness criteria. Even though 2PL processes ROTs correctly with no data currency related issues, the performance deteriorates as data contention increases. To improve the performance over 2PL, snapshot isolation (SI)-based protocols have been proposed. SI-based protocols process ROTs by reading from a snapshot of the committed data and ignoring the modifications produced by the concurrent active transactions. Even though SI-based algorithms improve the performance of ROTs, both data currency of ROTs and correctness (serializability) are compromised. In this paper, we propose an approach to improve the performance of ROTs using speculation without compromising data currency of transactions and correctness. The proposed approach improves the performance of ROTs by trading extra computing resources without violating serializability as correctness criteria. The simulation results show that with the proposed protocol the throughput performance is improved significantly over 2PL and SI-based approaches with manageable extra resources.
引用
收藏
页码:203 / +
页数:3
相关论文
共 22 条
[1]  
Adya A., 2000, P IEEE INT C DAT ENG
[2]   THE PERFORMANCE OF PROTOCOLS BASED ON LOCKS WITH ORDERED SHARING [J].
AGRAWAL, D ;
ELABBADI, A ;
LANG, AE .
IEEE TRANSACTIONS ON KNOWLEDGE AND DATA ENGINEERING, 1994, 6 (05) :805-818
[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]  
*ANSI, 1992, X31351992 ANSI
[5]  
BADRINATH BR, 1990, SIGMOD REC, V19, P163, DOI 10.1145/93605.98726
[6]  
Barracuda ES, 2006, HIGHEST CAPACITY DRI
[7]  
Bernstein P.A., 1987, Concurrency Control and Recovery in Database Systems
[8]  
Bestavros A., 1995, P 21 INT C VER LARG, P122
[9]   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
[10]   Making snapshot isolation serializable [J].
Fekete, A ;
Liarokapis, D ;
O'Neil, E ;
O'Neil, P ;
Shasha, D .
ACM TRANSACTIONS ON DATABASE SYSTEMS, 2005, 30 (02) :492-528