Continuous online index tuning in moving object databases

  • Authors:
  • Su Chen;Mario A. Nascimento;Beng Chin Ooi;Kian-Lee Tan

  • Affiliations:
  • National University of Singapore, Singapore, Republic of Singapore;University of Alberta, Edmonton, Alberta;National University of Singapore, Singapore, Republic of Singapore;National University of Singapore, Singapore, Republic of Singapore

  • Venue:
  • ACM Transactions on Database Systems (TODS)
  • Year:
  • 2010

Quantified Score

Hi-index 0.00

Visualization

Abstract

In a Moving Object Database (MOD), the dataset, for example, the location of objects and their distribution, and the workload change frequently. Traditional static indexes are not able to cope well with such changes, that is, their effectiveness and efficiency are seriously affected. This calls for the development of novel indexes that can be reconfigured automatically based on the state of the system. In this article, we design and present the ST2B-tree, a Self-Tunable Spatio-Temporal B+-tree index for MODs. In ST2B-tree, the data space is partitioned into regions of different density with respect to a set of reference points. Based on the density, objects in a region are managed using a grid of appropriate granularity; intuitively, a dense region employs a grid with fine granularity, while a sparse region uses a grid with coarse granularity. In this way, the ST2B-tree adapts itself to workload diversity in space. To enable online tuning, the ST2B-tree employs a “multitree” indexing technique. The underlying B+-tree is logically divided into two subtrees. Objects are dispatched to either subtree depending on their last update time. The two subtrees are rebuilt periodically and alternately. Whenever a subtree is rebuilt, it is tuned to optimize performance by picking an appropriate setting (e.g., the set of reference points and grid granularity) based on the most recent data and workload. To cut down the overhead of rebuilding, we propose an eager update technique to construct the subtree. Finally, we present a tuning framework for the ST2B-tree, where the tuning is conducted online and automatically without human intervention, and without interfering with the regular functions of the MOD. We have implemented the tuning framework and the ST2B-tree, and conducted extensive performance evaluations. The results show that the self-tuning mechanism minimizes the degradation of performance caused by workload changes without any noticeable overhead.