25
Views
5
CrossRef citations to date
0
Altmetric
Original Articles

Relaxed avl trees, main-memory databases and concurrencyFootnote

, &
Pages 23-44 | Published online: 30 Mar 2007
 

Abstract

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 all 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 dicitionary operations in a concurrent environment is as simple as their implementation in a sequential environment, whereas previous concurrent solutions are more descriptively complex.

C.R. Category::

This research was supported partially by a Natural Sciences and Engineering Research Council of Canada Research Grant and partially by the Academy of Finland. The work of the third author was carried out at the University of Waterloo.

This research was supported partially by a Natural Sciences and Engineering Research Council of Canada Research Grant and partially by the Academy of Finland. The work of the third author was carried out at the University of Waterloo.

Notes

This research was supported partially by a Natural Sciences and Engineering Research Council of Canada Research Grant and partially by the Academy of Finland. The work of the third author was carried out at the University of Waterloo.

Reprints and Corporate Permissions

Please note: Selecting permissions does not provide access to the full text of the article, please see our help page How do I view content?

To request a reprint or corporate permissions for this article, please click on the relevant link below:

Academic Permissions

Please note: Selecting permissions does not provide access to the full text of the article, please see our help page How do I view content?

Obtain permissions instantly via Rightslink by clicking on the button below:

If you are unable to obtain permissions via Rightslink, please complete and submit this Permissions form. For more information, please visit our Permissions help page.