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.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
References
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)
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)
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)
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)
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)
Kamel, I., Faloutsos, C.: On Packing R-trees. In: Proceedings of the 1993 ACM CIKM Conference, pp. 490–499 (1993)
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)
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)
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)
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights 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