arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1601.00159cs.DBcs.DC
收藏

PI:一种基于并行内存跳表的索引

PI : a Parallel in-memory skip list based Index

Zhongle Xie, Qingchao Cai, H. V. Jagadish, Beng Chin Ooi, Weng-Fai Wong

摘要:

由于数据访问的粗粒度和锁存器的大量使用,B树家族中的索引对于内存中的数据库并不高效,特别是在当今的多核架构的上下文中。在本文中,我们提出了PI,一个并行的内存中的跳表为基础的索引,本身自然的并行和并发的环境,特别是与非均匀的内存访问。在PI中,传入的查询被收集,并在多个线程之间分开分布以进行处理,以避免使用锁存器。对于每个查询,PI以广度优先搜索(BFS)的方式遍历索引,以找到具有匹配键的列表节点,利用SIMD处理来加速搜索过程。为了使查询处理是无锁存的,PI采用了一个轻量级的通信协议,使线程之间重新分配查询工作负载,这样每个列表节点,将被修改为查询处理的结果将被访问的正是一个线程。我们进行了大量的实验,结果表明,PI可以达到三倍的速度为Mastree,一个国家的最先进的B树为基础的索引。

英文摘要:

Due to the coarse granularity of data accesses and the heavy use of latches, indices in the B-tree family are not efficient for in-memory databases, especially in the context of today's multi-core architecture. In this paper, we present PI, a Parallel in-memory skip list based Index that lends itself naturally to the parallel and concurrent environment, particularly with non-uniform memory access. In PI, incoming queries are collected, and disjointly distributed among multiple threads for processing to avoid the use of latches. For each query, PI traverses the index in a Breadth-First-Search (BFS) manner to find the list node with the matching key, exploiting SIMD processing to speed up the search process. In order for query processing to be latch-free, PI employs a light-weight communication protocol that enables threads to re-distribute the query workload among themselves such that each list node that will be modified as a result of query processing will be accessed by exactly one thread. We conducted extensive experiments, and the results show that PI can be up to three times as fast as the Masstree, a state-of-the-art B-tree based index.

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

↑