Skip to main content

Optimizing Both Cache and Disk Performance of R-Trees

  • Conference paper
Database and Expert Systems Applications (DEXA 2003)

Part of the book series: Lecture Notes in Computer Science ((LNCS,volume 2736))

Included in the following conference series:

Abstract

R-Trees have been traditionally optimized for I/O performance with disk pages as tree nodes. Recently, researchers have proposed cache-conscious variations of R-Trees optimized for CPU cache performance in main memory environments, where the node size is wider than the cache line size and more entries are packed in a node by compressing MBR keys. However, because there is a big difference between the node sizes of two types of R-Trees, disk-optimized R-Trees show poor cache performance while cache-optimized R-Trees exhibit poor disk performance. In this paper, we propose a cache and disk optimized R-Tree, called the TR-Tree (Two-way optimized R-Tree). We evaluate the in-page leaf and non-leaf node sizes and the height of the in-page tree to minimize the cache miss cost for searching a TR-Tree. In addition, we fit nodes into disk pages to maximize the disk I/O performance. Our implementation achieves better cache and disk performance than disk-optimized R-Trees: a factor of 6-28 improvement for insertions and a factor of 1.28-2.00 improvement for range queries.

This work was supported by the Brain Korea 21 Project.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 84.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 109.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Beckmann, N., Kriegel, H.-P., Schneider, R., Seeger, B.: The R*-Tree: An Efficient and Robust Access Method for Points and Rectangles. In: Preceedings of the 1990 ACM SIGMOD International Conference, pp. 322–331 (1990)

    Google Scholar 

  2. Berchtold, S., Böhm, C., Kriegel, H.-P.: The Pyramid-Tree: Breaking the Curse of Dimensionality. In: Proceedings of the 1998 ACM SIGMOD International Conference, pp. 142–153 (1998)

    Google Scholar 

  3. Boncz, P., Manegold, S., Kersten, M.: Database Architecture Optimized for the new Bottleneck: Memory Access. In: Proceedings of 25th International Conference on Very Large Data Bases, pp. 54–65 (1999)

    Google Scholar 

  4. Chen, S., Gibbons, P.B., Mowry, T.C.: Improving Index Performance through Prefetching. In: Proceedings of the 2001 ACM SIGMOD International Conference, pp. 235–246 (2001)

    Google Scholar 

  5. Chen, S., Gibbons, P.B., Mowry, T.C., Valentin, G.: Fractal Prefetching B + -Trees: Optimizing Both Cache and Disk Performance. In: Proceedings of the 2002 ACM SIGMOD International Conference, pp. 157–168 (2002)

    Google Scholar 

  6. Kamel, I., Faloutsos, C.: On Packing R-trees. In: Proceedings of the 1993 ACM CIKM Conference, pp. 490–499 (1993)

    Google Scholar 

  7. Kim, K., Cha, S., Kwon, K.: Optimizing Multidimensional Index Trees for Main Memory Access. In: Proceedings of the 2001 ACM SIGMOD International Conference, pp. 139–150 (2001)

    Google Scholar 

  8. Rao, J., Ross, K.A.: Cache Conscious Indexing for Decision-Support in Main Memory. In: Proceedings of 25th International Conference on Very Large Data Bases, pp. 78–89 (1999)

    Google Scholar 

  9. Rao, J., Ross, K.A.: Making B + -Trees Cache Conscious in Main Memory. In: Proceedings of the 2000 ACM SIGMOD International Conference, pp. 475–486 (2000)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2003 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Park, M., Lee, S. (2003). Optimizing Both Cache and Disk Performance of R-Trees. In: Mařík, V., Retschitzegger, W., Štěpánková, O. (eds) Database and Expert Systems Applications. DEXA 2003. Lecture Notes in Computer Science, vol 2736. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-540-45227-0_15

Download citation

  • DOI: https://doi.org/10.1007/978-3-540-45227-0_15

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-40806-2

  • Online ISBN: 978-3-540-45227-0

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics