arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1609.01319cs.DB
收藏

一种主存索引结构的性能分析模型

Analytic Performance Model of a Main-Memory Index Structure

Jonas Schneider

摘要:

在主存数据库中有效地评估多维范围查询是一项重要但困难的任务。最先进的技术依赖于优化的顺序扫描或基于树的结构。对于结果集较小的范围查询,顺序扫描表现出较差的渐近性能。此外,随着数据集的维数增加,基于树的结构的性能由于维数灾难而退化。最近的文献提出了Elf,主内存结构,优化的情况下,这种多维低选择性查询。Elf在手动调整的情况下优于其他最先进的方法。然而,选择一个最佳的参数配置的精灵是至关重要的,因为差的配置,搜索性能迅速下降。因此,需要进一步了解Elf在不同配置中的行为,以实现稳健的性能。因此,在这篇论文中,我们提出了一个数值成本模型的精灵。与所有主存索引结构一样,Elf的响应时间不受磁盘访问的影响,因此无法进行直接分析。我们的模型预测了在搜索过程中检查的Elf区域的大小和形状。我们建议搜索的响应时间与该区域的大小成线性关系。此外,我们还研究了偏态数据分布和相关性对精灵形状的影响。我们发现,它们导致的行为,是准确地描述通过简单的属性基数减少。我们的实验结果表明,对于多达15个维度的数据集,我们的成本模型预测的大小检查Elf区域的相对误差低于5%。此外,我们发现,在搜索过程中检查的Elf区域的大小预测的响应时间的准确度为80%。

英文摘要:

Efficient evaluation of multi-dimensional range queries in a main-memory database is an important, but difficult task. State-of-the-art techniques rely on optimised sequential scans or tree-based structures. For range queries with small result sets, sequential scans exhibit poor asymptotic performance. Also, as the dimensionality of the data set increases, the performance of tree-based structures degenerates due to the curse of dimensionality. Recent literature proposed the Elf, a main-memory structure that is optimised for the case of such multi-dimensional low-selectivity queries. The Elf outperforms other state-of-the-art methods in manually tuned scenarios. However, choosing an optimal parameter configuration for the Elf is vital, since for poor configurations, the search performance degrades rapidly. Consequently, further knowledge about the behaviour of the Elf in different configurations is required to achieve robust performance. In this thesis, we therefore propose a numerical cost model for the Elf. Like all main-memory index structures, the Elf response time is not dominated by disk accesses, refusing a straightforward analysis. Our model predicts the size and shape of the Elf region that is examined during search. We propose that the response time of a search is linear to the size of this region. Furthermore, we study the impact of skewed data distributions and correlations on the shape of the Elf. We find that they lead to behaviour that is accurately describable through simple reductions in attribute cardinality. Our experimental results indicate that for data sets of up to 15 dimensions, our cost model predicts the size of the examined Elf region with relative errors below 5%. Furthermore, we find that the size of the Elf region examined during search predicts the response time with an accuracy of 80%.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑