arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 1905.08898cs.DBcs.DScs.LG
收藏

ALEX:一种可更新的自适应学习索引

ALEX: An Updatable Adaptive Learned Index

Massachusetts Institute of Technology(麻省理工学院);Microsoft Research(微软研究院);Arizona State University(亚利桑那州立大学);Georgia Institute of Technology(佐治亚理工学院)

Jialin Ding, Umar Farooq Minhas, Jia Yu, Chi Wang, Jaeyoung Do, Yinan Li, Hantian Zhang, Badrish Chandramouli, Johannes Gehrke, Donald Kossmann, David Lomet, Tim Kraska

摘要:

最近关于“学习索引”的工作改变了我们看待DBMS索引这个有几十年历史的领域的方式。关键思想是索引可以被认为是预测数据集中键位置的“模型”。因此,索引是可以学习的。Kraska等人的原始工作表明,学习索引在搜索时间上超过B+树三倍,在内存占用上超过B+树一个数量级。但是,它仅限于静态只读工作负载。在本文中,我们提出了一个新的学习索引称为ALEX,它解决了实际问题时出现的工作负载,包含点查找,短程查询,插入,更新和删除的混合实施学习索引。ALEX有效地将学习索引的核心见解与成熟的存储和索引技术相结合,以实现高性能和低内存占用。在只读工作负载上,ALEX比Kraska等人学习的索引性能高出2.2倍,索引大小小了15倍。在各种读写工作负载中,ALEX的性能比B+Trees高出4.1倍,而性能从来没有变差过,索引大小最多减少2000倍。我们相信ALEX是使学习索引实用于更广泛的具有动态更新的数据库工作负载的关键一步。

英文摘要:

Recent work on "learned indexes" has changed the way we look at the decades-old field of DBMS indexing. The key idea is that indexes can be thought of as "models" that predict the position of a key in a dataset. Indexes can, thus, be learned. The original work by Kraska et al. shows that a learned index beats a B+Tree by a factor of up to three in search time and by an order of magnitude in memory footprint. However, it is limited to static, read-only workloads. In this paper, we present a new learned index called ALEX which addresses practical issues that arise when implementing learned indexes for workloads that contain a mix of point lookups, short range queries, inserts, updates, and deletes. ALEX effectively combines the core insights from learned indexes with proven storage and indexing techniques to achieve high performance and low memory footprint. On read-only workloads, ALEX beats the learned index from Kraska et al. by up to 2.2X on performance with up to 15X smaller index size. Across the spectrum of read-write workloads, ALEX beats B+Trees by up to 4.1X while never performing worse, with up to 2000X smaller index size. We believe ALEX presents a key step towards making learned indexes practical for a broader class of database workloads with dynamic updates.

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

↑