Journal of Frontiers of Computer Science and Technology ›› 2011, Vol. 5 ›› Issue (8): 707-718.

• 学术研究 • Previous Articles     Next Articles

Performance Analysis of Spatial Database Indices on Chip Multi-Processor

WU Ye, XIONG Wei, CAI Lei, JING Ning   

  1. School of Electronic Science and Engineering, National University of Defense Technology, Changsha 410073, China

  • Received:1900-01-01 Revised:1900-01-01 Online:2011-08-01 Published:2011-08-01

面向多核处理器的空间数据库索引性能分析

吴 烨, 熊 伟, 蔡 蕾, 景 宁   

  1. 国防科学技术大学 电子科学与工程学院, 长沙 410073

Abstract: Spatial indices are used to improve performance of queries in spatial databases. The chip multi-processor (CMP) brings challenges as well as opportunity to spatial index structures. However, there is no comprehensive and quantificational evaluation of spatial index structures based on CMP, thus lacking of analysis on important factors that affect index performance. Based on modern commodity CMPs, this paper compares the performances of R-tree index, Hilbert R tree index, quad tree index and CR tree index in main memory, and evaluates how different factors, including different CPU parameters, different node sizes, different selectivities and different distributions of input data and so on, affect the performance of spatial indices. Experimental results show that, in order to improve per-formance of spatial indices, hardware features of the CMP must be fully exploited.

Key words: chip multi-processor (CMP), spatial index, cache sensitivity

摘要: 空间数据库索引是提高空间查询性能的重要方法, 片上多核处理器的出现, 在提高数据库性能的同时, 也给空间索引结构提出了新的挑战。面向多核处理器, 还缺乏对各种主要空间数据库索引结构和性能的综合实验比较, 从而无法定量分析影响索引性能的重要因素。针对目前主流的共享cache多核处理器, 对R树、Hilbert R树、四叉树及CR树在内存中的性能进行了测试, 分析了不同处理器硬件、不同索引结点大小、不同选择率、不同输入数据等多种因素对索引性能的影响。实验表明, 在多核环境下, 为了提高空间索引性能, 必须充分利用多核处理器的硬件特性。

关键词: 多核处理器, 空间索引, cache敏感