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

DILI:一种分布驱动的学习索引(扩展版)

DILI: A Distribution-Driven Learned Index (Extended version)

Pengfei Li, Hua Lu, Rong Zhu, Bolin Ding, Long Yang, Gang Pan

AI总结:

针对内存一维搜索键,提出分布驱动的学习索引树DILI,采用线性回归模型,结合自底向上和自顶向下构建策略平衡叶子节点数与树高,并支持高效增删,在多种工作负载上优于现有方案。

摘要:

针对内存中的一维搜索键,我们提出了一种新颖的分布驱动的学习索引树(DILI),其中每个节点使用一个简洁且计算高效的线性回归模型。内部节点的键范围由其子节点等分,使得键搜索能够享受完美的模型预测精度来找到相关的叶子节点。叶子节点使用机器学习模型生成可搜索的数据布局,从而准确预测键的数据记录位置。为了构建DILI,我们首先根据全局和局部键分布,使用线性回归模型构建一棵自底向上的树。利用该自底向上的树,我们以自顶向下的方式构建DILI,根据局部分布为内部节点单独设置扇出。DILI在叶子节点数量和树高之间取得了良好的平衡,这两个因素是键搜索时间的关键。此外,我们为DILI设计了灵活的算法,以高效插入和删除键,并在必要时自动调整树结构。大量实验结果表明,DILI在各种工作负载上均优于最先进的替代方案。

英文摘要:

Targeting in-memory one-dimensional search keys, we propose a novel DIstribution-driven Learned Index tree (DILI), where a concise and computation-efficient linear regression model is used for each node. An internal node's key range is equally divided by its child nodes such that a key search enjoys perfect model prediction accuracy to find the relevant leaf node. A leaf node uses machine learning models to generate searchable data layout and thus accurately predicts the data record position for a key. To construct DILI, we first build a bottom-up tree with linear regression models according to global and local key distributions. Using the bottom-up tree, we build DILI in a top-down manner, individualizing the fanouts for internal nodes according to local distributions. DILI strikes a good balance between the number of leaf nodes and the height of the tree, two critical factors of key search time. Moreover, we design flexible algorithms for DILI to efficiently insert and delete keys and automatically adjust the tree structure when necessary. Extensive experimental results show that DILI outperforms the state-of-the-art alternatives on different kinds of workloads.

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

↑