期刊文献+

基于中间层的可扩展学习索引技术 被引量:12

Middle Layer Based Scalable Learned Index Scheme
下载PDF
导出
摘要 在大数据与云计算时代,数据访问速度是衡量大规模存储系统性能的一个重要指标.因此,如何设计一种轻量、高效的数据索引结构,从而满足系统高吞吐率、低内存占用的需求,是当前数据库领域的研究热点之一.Kraska等人提出使用机器学习模型代替传统的B树索引,并在真实数据集上取得了不错的效果,但其提出的模型假设工作负载是静态的、只读的,对于索引更新问题没有提出很好的解决办法.提出了基于中间层的可扩展的学习索引模型Dabble,用来解决索引更新引发的模型重训练问题.首先,Dabble模型利用K-Means聚类算法将数据集划分为K个区域,并训练K个神经网络分别学习不同区域的数据分布.在模型训练阶段,创新性地把数据的访问热点信息融入到神经网络中,从而提高模型对热点数据的预测精度.在数据插入时,借鉴了LSM树延迟更新的思想,提高了数据写入速度.在索引更新阶段,提出一种基于中间层的机制将模型解耦,从而缓解由于数据插入带来的模型更新问题.分别在Lognormal数据集以及Weblogs数据集上进行实验验证,结果表明,与当前先进的方法相比,Dabble模型在查询以及索引更新方面都取得了非常好的效果. In the era of big data and cloud computing,efficient data access is an important metric to measure the performance of a large-scale storage system.Therefore,design a lightweight and efficient index structure,which can meet the system’s demand for high throughput and low memory footprint,is one of the research hotspots in the current database field.Recently,Kraska,et al proposed to use the machine learning models instead of traditional B-tree indexes,and remarkable results are achieved on real data sets.However,the proposed model assumes that the workload is static and read-only,failing to handle the index update problem.This study proposes Dabble,a middle layer based scalable learning index model,which is used to mitigate the index update problem.Dabble first uses K-means algorithm to divide the data set into K regions,and trains K neural networks to learn the data distribution of different regions.During the training phase,it innovatively integrates the data access patterns into the neural network,which can improve the prediction accuracy of the model for hotspot data.For data insertion,it borrows the idea of LSM tree,i.e.,delay update mechanism,which greatly improved the data writing speed.In the index update phase,a middle layer based mechanism is proposed for model decoupling,thus easing the problem of index updating cost.Dabble model is evaluated on two datasets,the Lognormal distribution dataset and the real-world Weblogs dataset.The experiment results demonstrate the effectiveness and efficiency of the proposed model compared with the state-of-the-art methods.
作者 高远宁 叶金标 杨念祖 高晓沨 陈贵海 GAO Yuan-Ning;YE Jin-Biao;YANG Nian-Zu;GAO Xiao-Feng;CHEN Gui-Hai(Shanghai Key Laboratory of Scalable Computing and Systems,Shanghai 200240,China;Department of Computer Science and Engineering,Shanghai JiaoTong University,Shanghai 200240,China)
出处 《软件学报》 EI CSCD 北大核心 2020年第3期620-633,共14页 Journal of Software
基金 国家重点研发计划(2018YFB1004700) 国家自然科学基金(61872238,61972254,61832005) 上海市科技创新行动计划(17510740200) CCF-华为数据库创新研究计划(CCF-Huawei DBIR2019002A)。
关键词 学习索引 聚类 神经网络 动态更新 learned index clustering neural network dynamic update
  • 相关文献

参考文献2

二级参考文献24

  • 1刘小珠,孙莎,曾承,彭智勇.基于缓存的倒排索引机制研究[J].计算机研究与发展,2007,44(z3):153-158. 被引量:8
  • 2吴恒山,徐晓军,桂浩.基于改进B+树索引的结构连接算法[J].计算机工程,2005,31(16):86-88. 被引量:3
  • 3Samsung Electronics.PM800 (256/128/64GB,MLC,SATA 3.0Gbps)[EB/OL].(2009-06-01)[2009-06-15].http://www.samsung.com/global/business/semiconductor/products/flash/ssd/2008/down/pm800.pdf.
  • 4Lee S,Moon B.Design of flash-based DBMS:An in-page logging approach[C] //Proc of the ACM SIGMOD Int Conf on Management of Data.New York:ACM,2007:55-66.
  • 5Lee S,Moon B,Park C,et al.A case for flash memory ssd in enterprise database applications[C] //Proc of the ACM SIGMOD Int Conf on Management of Data.New York:ACM,2008:1075-1086.
  • 6Samsung Electronics.1G×8Bit /2G×8Bit /4G×8Bit NAND Flash Memory,Version 1.1[EB/OL].(2007-06-18)[2009-06-15].http://www.alldatasheet.com/datasheet-pdf/pdf/139788/SAMSUNG/K9WAG08U1A.html.
  • 7Intel-Corporation.Understanding the Flash Translation Layer(FTL) specifications[EB/OL].(1998-12)[2009-06-15].http://www.embeddedfreebsd.org/Documents/Intel-FTL.pdf.
  • 8Wu C,Kuo T,Chang L.An efficient b-Tree layer implementation for flash-memory storage systems[J].ACM Trans on Embedded Computer System,2007,6(3).
  • 9Tsai Y,Hsieh J,Kuo T.Configurable NAND flash translation layer[C] //Proc of IEEE Int Conf on Sensor Networks,Ubiquitous,and Trustworthy Computing.Piscataway,NJ:IEEE,2006:118-127.
  • 10Lee S,Park D,Chung T,et al.A log buffer-based flash translation layer using fully-associative sector translation[J].ACM Trans on Embedded Computer System,2007,6(3).

共引文献22

同被引文献48

引证文献12

二级引证文献15

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部