Efficient Rebalancing of Chromatic Search Trees

Authors

  • Joan Boyar
  • Kim Skak Larsen

DOI:

https://doi.org/10.7146/dpb.v21i409.6722

Abstract

In PODS'91, Nurmi and Soisalon-Soininen presented a new type of binary search tree for databases, which they call a chromatic tree. The aim is to improve runtime performance by allowing a greater degree of concurrency, which, in turn, is obtained by uncoupling updating from rebalancing. This also allows rebalancing to be postponed completely or partially until after peak working hours.

The advantages of the proposal of Nurmi and Soisalon-Soininen are quite significant, but there are definite problems with it. First, they give no explicit upper bound on the complexity of their algorithm. Second, some of their rebalancing operations can be applied many more times than necessary. Third, some of their operations, when removing one problem, create another.

We define a new set of rebalancing operations which we prove give rise to at most I_ log_2(N+1) _I - 1 $ rebalancing operations per insertion and at most I_ log_2 (N+1)_I - 2 rebalancing operations per deletion, where N is the maximum'size the tree could ever have, given its initial size and the number of insertions performed. Most of these rebalancing operations, in fact, do no restructuring; they simply move weights around. The number of operations which actually change the structure of the tree is at most one per update.

Author Biographies

Joan Boyar

Kim Skak Larsen

Downloads

Published

1992-08-01

How to Cite

Boyar, J., & Larsen, K. S. (1992). Efficient Rebalancing of Chromatic Search Trees. DAIMI Report Series, 21(409). https://doi.org/10.7146/dpb.v21i409.6722