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

多核系统的主存自适应索引

Main Memory Adaptive Indexing for Multi-core Systems

Victor Alvarez, Felix Martin Schuhknecht, Jens Dittrich, Stefan Richter

摘要:

自适应索引是一个概念,它将数据库中的索引创建视为查询处理的副产品;与传统的完整索引创建相反,在传统的完整索引创建中,索引工作在回答任何查询之前预先执行。自适应索引已经得到了相当多的关注,在过去的几年中已经提出了几种算法;包括最近的一项实验研究,比较了大量现有的方法。然而,到目前为止,大多数自适应索引算法都是单线程设计的,而多核系统已经很好地建立起来,为自适应索引设计并行算法的想法是非常自然的。在这方面,最近文献中只出现了一种自适应索引的并行算法:标准破解的并行版本。在本文中,我们描述了三种可供选择的自适应索引并行算法,包括第二个变种的并行标准破解算法。此外,我们描述了一个混合并行排序算法,和NUMA感知方法的基础上排序。然后,我们彻底比较所有这些算法的实验,沿着最近出版的并行版本的基数排序的一个变体。并行排序算法是多线程自适应索引技术的现实基础。在实验中,我们总共比较了七个并行算法。此外,我们广泛的配置文件所有考虑的算法。在本文中考虑的初始实验表明,我们的并行算法显着改善了以前已知的。我们的研究结果表明,虽然自适应索引算法是一个很好的设计选择,在单线程环境中,规则的变化相当大的并行情况下。也就是说,在未来的高度并行环境中,排序算法可能是自适应索引的重要替代方案。

英文摘要:

Adaptive indexing is a concept that considers index creation in databases as a by-product of query processing; as opposed to traditional full index creation where the indexing effort is performed up front before answering any queries. Adaptive indexing has received a considerable amount of attention, and several algorithms have been proposed over the past few years; including a recent experimental study comparing a large number of existing methods. Until now, however, most adaptive indexing algorithms have been designed single-threaded, yet with multi-core systems already well established, the idea of designing parallel algorithms for adaptive indexing is very natural. In this regard only one parallel algorithm for adaptive indexing has recently appeared in the literature: The parallel version of standard cracking. In this paper we describe three alternative parallel algorithms for adaptive indexing, including a second variant of a parallel standard cracking algorithm. Additionally, we describe a hybrid parallel sorting algorithm, and a NUMA-aware method based on sorting. We then thoroughly compare all these algorithms experimentally; along a variant of a recently published parallel version of radix sort. Parallel sorting algorithms serve as a realistic baseline for multi-threaded adaptive indexing techniques. In total we experimentally compare seven parallel algorithms. Additionally, we extensively profile all considered algorithms. The initial set of experiments considered in this paper indicates that our parallel algorithms significantly improve over previously known ones. Our results suggest that, although adaptive indexing algorithms are a good design choice in single-threaded environments, the rules change considerably in the parallel case. That is, in future highly-parallel environments, sorting algorithms could be serious alternatives to adaptive indexing.

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

↑