DocumentCode
2416021
Title
Design and implementation of the concurrency control manager in the main-memory DBMS Tachyon
Author
Kim, Sang-Wook ; Choi, Wan ; Kim, Byoung-Ho
Author_Institution
Div. of Comput. Inf. & Commun. Eng., Kangwon Nat. Univ., Chunchon, South Korea
fYear
2002
fDate
2002
Firstpage
635
Lastpage
641
Abstract
In this paper we discuss the design and implementation of a concurrency control manager for Tachyon, a main-memory DBMS. Since a main-memory DBMS, unlike a disk-resident DBMS, performs all data updates or data retrievals by accessing main-memory only the portion of the cost for the concurrency control manager in the total cost for a data update or a data retrieval is fairly high. Thus, the development of an efficient concurrency control manager greatly accelerates the performance of the entire main-memory DBMS. Our concurrency control manager employs the two-phase locking protocol, and has the following characteristics. First, it adapts the partition as a locking granule, and thus effectively adjusts the trade-off between system concurrency and locking cost. Second, it enjoys low locking costs by maintaining lock information directly in the partition itself. Third, it provides the latch as a mechanism for physical consistency of system data. Our latch supports both shared and exclusive modes. and maximizes CPU utilization by combining the Bakery algorithm and the Unix semaphore facility. Fourth, for solving the deadlock problem, it periodically examines whether a system is in a deadlock state based on lock waiting information. In addition, we discuss various issues arising in development such as mutual exclusion of a transaction table, mutual exclusion of indexes and system catalogs, and phantom problem handling.
Keywords
concurrency control; database management systems; Bakery algorithm; CPU utilization; Tachyon main-memory DBMS; Unix semaphore facility; concurrency control manager; data retrievals; data updates; deadlock problem; exclusive modes; locking cost; locking granule; mutual index exclusion; mutual system catalog exclusion; mutual transaction table exclusion; phantom problem handling; shared modes; two-phase locking protocol; Acceleration; Catalogs; Concurrency control; Concurrent computing; Costs; Imaging phantoms; Information retrieval; Partitioning algorithms; Protocols; System recovery;
fLanguage
English
Publisher
ieee
Conference_Titel
Computer Software and Applications Conference, 2002. COMPSAC 2002. Proceedings. 26th Annual International
ISSN
0730-3157
Print_ISBN
0-7695-1727-7
Type
conf
DOI
10.1109/CMPSAC.2002.1045075
Filename
1045075
Link To Document