TY - GEN
T1 - Removing Performance Bottleneck of Timestamp Allocation in Two-Phase Locking Based Protocol
AU - Nakamori, Tatsuhiro
AU - Nemoto, Jun
AU - Hoshino, Takashi
AU - Kawashima, Hideyuki
N1 - Publisher Copyright:
© 2022, The Author(s), under exclusive license to Springer Nature Switzerland AG.
PY - 2022
Y1 - 2022
N2 - Concurrency control ensures the correctness of databases when transactions are processed in parallel. Bamboo is a state-of-the-art concurrency control protocol. One problem of Bamboo is that it requires transactions to fetch timestamps from a single centralized atomic counter. To replace the concentrated access to it, each transaction should generate timestamps independently. This paper proposes two methods of decentralization to address the problem. The first is the thread-ID method (TID): transactions use thread IDs as their timestamps. In high-contention settings, the performance of TID plummets, but proposed optimization FairTID sustains the performance. The second method (RandID) allocates timestamps using random-number generators. Experiments indicated that there were up to 60% and 34% improvement in throughput from Bamboo with FairTID and RandID, respectively. In high-contention settings, TID recorded 24% degradation, but FairTID and RandID showed 19% to 31% and 12% to 22% improvement from Bamboo, respectively.
AB - Concurrency control ensures the correctness of databases when transactions are processed in parallel. Bamboo is a state-of-the-art concurrency control protocol. One problem of Bamboo is that it requires transactions to fetch timestamps from a single centralized atomic counter. To replace the concentrated access to it, each transaction should generate timestamps independently. This paper proposes two methods of decentralization to address the problem. The first is the thread-ID method (TID): transactions use thread IDs as their timestamps. In high-contention settings, the performance of TID plummets, but proposed optimization FairTID sustains the performance. The second method (RandID) allocates timestamps using random-number generators. Experiments indicated that there were up to 60% and 34% improvement in throughput from Bamboo with FairTID and RandID, respectively. In high-contention settings, TID recorded 24% degradation, but FairTID and RandID showed 19% to 31% and 12% to 22% improvement from Bamboo, respectively.
KW - Concurrency control
KW - Database system
KW - Single centralized atomic counter
KW - Transaction processing
KW - Two-phase locking
UR - https://www.scopus.com/pages/publications/85138000036
UR - https://www.scopus.com/pages/publications/85138000036#tab=citedBy
U2 - 10.1007/978-3-031-15512-3_18
DO - 10.1007/978-3-031-15512-3_18
M3 - Conference contribution
AN - SCOPUS:85138000036
SN - 9783031155116
T3 - Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
SP - 201
EP - 208
BT - Databases Theory and Applications - 33rd Australasian Database Conference, ADC 2022, Proceedings
A2 - Hua, Wen
A2 - Wang, Hua
A2 - Li, Lei
PB - Springer Science and Business Media Deutschland GmbH
T2 - 33rd Australasian Database Conference, ADC 2022
Y2 - 2 September 2022 through 4 September 2022
ER -