【24h】

Buffering Accesses to Memory-Resident Index Structures

机译:缓冲对驻留内存的索引结构的访问

获取原文
获取原文并翻译 | 示例

摘要

Recent studies have shown that cache-conscious indexes outperform conventional main memory indexes. Cache-conscious indexes focus on better utilization of each cache line for improving search performance of a single lookup. None has exploited cache spatial and temporal locality between consecutive lookups. We show that conventional indexes, even "cache-conscious" ones, suffer from significant cache thrashing between accesses. Such thrashing can impact the performance of applications such as stream processing and query operations such as index-nested-loops join. We propose techniques to buffer accesses to memory-resident tree-structured indexes to avoid cache thrashing. We study several alternative designs of the buffering technique, including whether to use fixed-size or variable-sized buffers, whether to buffer at each tree level or only at some of the levels, how to support bulk access while there are concurrent updates happening to the index, and how to preserve the order of the incoming lookups in the output results. Our methods improve cache performance for both cache-conscious and conventional index structures. Our experiments show that buffering techniques enable a probe throughput that is two to three times higher than traditional methods.
机译:最近的研究表明,具有缓存意识的索引优于传统的主内存索引。注重缓存的索引专注于更好地利用每个缓存行,以提高单个查找的搜索性能。没有人利用连续查找之间的缓存空间和时间局部性。我们表明,常规索引,即使是“缓存意识强的”索引,在访问之间也会遭受明显的缓存颠簸。这种颠簸可能会影响应用程序的性能,例如流处理和查询操作(例如索引嵌套循环联接)。我们提出了一些技术来缓冲对驻留在内存中的树形索引的访问,从而避免缓存抖动。我们研究了缓冲技术的几种替代设计,包括是使用固定大小的缓冲区还是可变大小的缓冲区,是在每个树级别还是仅在某些级别进行缓冲,如何在发生并发更新时支持批量访问。索引,以及如何在输出结果中保留传入查找的顺序。我们的方法提高了对缓存敏感的索引结构和常规索引结构的缓存性能。我们的实验表明,缓冲技术可使探针的吞吐率比传统方法高两到三倍。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号