arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1902.00655cs.LGcs.AI
收藏

动态工作负载的学习索引

Learned Indexes for Dynamic Workloads

Shanghai Jiao Tong University(上海交通大学);New York University(纽约大学)

Chuzhe Tang, Zhiyuan Dong, Minjie Wang, Zhaoguo Wang, Haibo Chen

摘要:

最近提出的学习索引结构为如何优化传统的范围索引开辟了一个新的视角。然而,目前的学习索引假设数据分布是相对静态的,访问模式是统一的,而现实世界的场景包括倾斜的查询分布和不断变化的数据。在本文中,我们证明了访问模式和动态数据分布的缺失考虑显着阻碍了学习索引的适用性。为此,我们提出了动态工作负载(称为哆啦A梦)的学习索引解决方案。为了改善偏斜查询的延迟,哆啦A梦增加了访问频率的训练数据。为了解决数据分布偏移时模型重新训练缓慢的问题,哆啦A梦缓存了以前训练过的模型,并针对类似的访问模式和数据分布对其进行增量微调。我们的初步结果表明,哆啦A梦将查询延迟提高了45.1%,并将模型重新训练时间减少到1/20。

英文摘要:

The recent proposal of learned index structures opens up a new perspective on how traditional range indexes can be optimized. However, the current learned indexes assume the data distribution is relatively static and the access pattern is uniform, while real-world scenarios consist of skew query distribution and evolving data. In this paper, we demonstrate that the missing consideration of access patterns and dynamic data distribution notably hinders the applicability of learned indexes. To this end, we propose solutions for learned indexes for dynamic workloads (called Doraemon). To improve the latency for skew queries, Doraemon augments the training data with access frequencies. To address the slow model re-training when data distribution shifts, Doraemon caches the previously-trained models and incrementally fine-tunes them for similar access patterns and data distribution. Our preliminary result shows that, Doraemon improves the query latency by 45.1% and reduces the model re-training time to 1/20.

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

↑