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

FITing-Tree:一种数据感知索引结构

FITing-Tree: A Data-aware Index Structure

Alex Galakatos, Michael Markovitch, Carsten Binnig, Rodrigo Fonseca, Tim Kraska

摘要:

索引结构是DBA用来提高分析和事务工作负载性能的最重要工具之一。然而,在大型数据集上构建多个索引通常会变得令人望而却步,并消耗宝贵的系统资源。事实上,最近的一项研究表明,作为TPC-C基准测试的一部分创建的索引可以占现代DBMS中可用总内存的55%。这种开销会消耗宝贵而昂贵的主内存,并限制了存储新数据或处理现有数据的可用空间量。在本文中,我们提出了FITing-Tree,一种新形式的学习索引,它使用分段线性函数,在构造时指定有界误差。这个错误旋钮提供了一个可调参数,允许DBA通过平衡查找性能和空间消耗来将索引匹配到数据集和工作负载。为了导航这种权衡,我们提供了一个成本模型,该模型有助于确定适当的误差参数,给定(1)查找延迟要求(例如,500 ns)或(2)存储预算(例如,100MB)。使用各种现实世界的数据集,我们表明,我们的索引是能够提供的性能,是完整的索引结构,同时减少存储空间的数量级。

英文摘要:

Index structures are one of the most important tools that DBAs leverage to improve the performance of analytics and transactional workloads. However, building several indexes over large datasets can often become prohibitive and consume valuable system resources. In fact, a recent study showed that indexes created as part of the TPC-C benchmark can account for 55% of the total memory available in a modern DBMS. This overhead consumes valuable and expensive main memory, and limits the amount of space available to store new data or process existing data. In this paper, we present FITing-Tree, a novel form of a learned index which uses piece-wise linear functions with a bounded error specified at construction time. This error knob provides a tunable parameter that allows a DBA to FIT an index to a dataset and workload by being able to balance lookup performance and space consumption. To navigate this tradeoff, we provide a cost model that helps determine an appropriate error parameter given either (1) a lookup latency requirement (e.g., 500ns) or (2) a storage budget (e.g., 100MB). Using a variety of real-world datasets, we show that our index is able to provide performance that is comparable to full index structures while reducing the storage footprint by orders of magnitude.

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

↑