Relaxed AVL trees, main-memory databases and concurrency

被引:4
|
作者
Nurmi, O
SoisalonSoininen, E
Wood, D
机构
[1] HELSINKI UNIV TECHNOL,LAB INFORMAT PROC SCI,SF-02150 ESPOO,FINLAND
[2] HONG KONG UNIV SCI & TECHNOL,DEPT COMP SCI,KOWLOON,HONG KONG
基金
加拿大自然科学与工程研究理事会; 芬兰科学院;
关键词
search trees; relaxed AVL tree; dictionary operations; concurrency;
D O I
10.1080/00207169608804523
中图分类号
O29 [应用数学];
学科分类号
070104 ;
摘要
We consider the use of search trees to represent the dictionary aspects of a main-memory database in a concurrent environment. Efficiency considerations require that the trees be balanced and that operations on a search tree should not block too large a part of the tree for too long a time. These two requirements conflict, since rebalancing a tree after an update can, in a straightforward implementation, block too large a part of the tree. We would prefer that au search operations reserve only a small, fixed-size part of a tree at all times. We propose a new, elegant solution for this problem based on the notion of relaxed AVL trees and the decoupling of updates and rebalancing. The main advantage of our solution is that the implementation of the dictionary operations in a concurrent environment is as simple as their implementation in a sequential environment, whereas previous concurrent solutions are more descriptively complex.
引用
收藏
页码:23 / 44
页数:22
相关论文
共 50 条
  • [1] High-Performance Concurrency Control Mechanisms for Main-Memory Databases
    Larson, Per-Ake
    Blanas, Spyros
    Diaconu, Cristian
    Freedman, Craig
    Patel, Jignesh M.
    Zwilling, Mike
    [J]. PROCEEDINGS OF THE VLDB ENDOWMENT, 2011, 5 (04): : 298 - 309
  • [2] Concurrency control in a main-memory DBMS
    Kim, SW
    [J]. COMPUTER SYSTEMS SCIENCE AND ENGINEERING, 2004, 19 (04): : 263 - 272
  • [3] Energy Efficiency in Main-Memory Databases
    Stefan Noll
    Henning Funke
    Jens Teubner
    [J]. Datenbank-Spektrum, 2017, 17 (3) : 223 - 232
  • [4] Exploiting Hardware Transactional Memory in Main-Memory Databases
    Leis, Viktor
    Kemper, Alfons
    Neumann, Thomas
    [J]. 2014 IEEE 30TH INTERNATIONAL CONFERENCE ON DATA ENGINEERING (ICDE), 2014, : 580 - 591
  • [5] Identifying Hot and Cold Data in Main-Memory Databases
    Levandoski, Justin J.
    Larson, Per-Ake
    Stoica, Radu
    [J]. 2013 IEEE 29TH INTERNATIONAL CONFERENCE ON DATA ENGINEERING (ICDE), 2013, : 26 - 37
  • [6] AVL trees with relaxed balance
    Larsen, KS
    [J]. JOURNAL OF COMPUTER AND SYSTEM SCIENCES, 2000, 61 (03) : 508 - 522
  • [7] Design and implementation of the concurrency control manager in the main-memory DBMS tachyon
    Kim, SW
    Wan, C
    Kim, YH
    [J]. 26TH ANNUAL INTERNATIONAL COMPUTER SOFTWARE AND APPLICATIONS CONFERENCE, PROCEEDINGS, 2002, : 635 - 641
  • [8] Cache-Conscious Index Mechanism for Main-Memory Databases
    SUN Li-mei
    [J]. Wuhan University Journal of Natural Sciences, 2006, (01) : 309 - 312
  • [9] Distributed multi-level recovery in main-memory databases
    Bohannon, P
    Parker, J
    Rastogi, R
    Seshadri, S
    Silberschatz, A
    Sudarshan, S
    [J]. PROCEEDINGS OF THE FOURTH INTERNATIONAL CONFERENCE ON PARALLEL AND DISTRIBUTED INFORMATION SYSTEMS, 1996, : 44 - 55
  • [10] Distributed multi-level recovery in main-memory databases
    Rastogi, R
    Bohannon, P
    Parker, J
    Silberschatz, A
    Seshadri, S
    Sudarshan, S
    [J]. DISTRIBUTED AND PARALLEL DATABASES, 1998, 6 (01) : 41 - 71