PLIN

Author:

Zhang Zhou1,Chu Zhaole1,Jin Peiquan1,Luo Yongping1,Xie Xike1,Wan Shouhong1,Luo Yun2,Wu Xufei2,Zou Peng2,Zheng Chunyang3,Wu Guoan3,Rudoff Andy3

Affiliation:

1. University of Science of Technology of China

2. Tencent

3. Intel Corporation

Abstract

Non-Volatile Memory (NVM) has emerged as an alternative to next-generation main memories. Although many tree indices have been proposed for NVM, they generally use B+-tree-like structures. To further improve the performance of NVM-aware indices, we consider integrating learned indexes into NVM. The challenges of such an integration are two fold: (1) existing NVM indices rely on small nodes to accelerate insertions with crash consistency, but learned indices use huge nodes to obtain a flat structure. (2) the node structure of learned indices is not NVM friendly, meaning that accessing a learned node will cause multiple NVM block misses. Thus, in this paper, we propose a new persistent learned index called PLIN. The novelty of PLIN lies in four aspects: an NVM-aware data placement strategy, locally unordered and globally ordered leaf nodes, a model copy mechanism, and a hierarchical insertion strategy. In addition, PLIN is proposed for the NVM-only architecture, which can support instant recovery. We also present optimistic concurrency control and fine-grained locking mechanisms to make PLIN scalable to concurrent requests. We conduct experiments on real persistent memory with various workloads and compare PLIN with APEX, PACtree, ROART, TLBtree, and Fast&Fair. The results show that PLIN achieves 2.08x higher insertion performance and 4.42x higher query performance than its competitors on average. Meanwhile, PLIN only needs ~30 μs to recover from a system crash.

Publisher

Association for Computing Machinery (ACM)

Subject

General Earth and Planetary Sciences,Water Science and Technology,Geography, Planning and Development

Reference46 articles.

1. Bztree

2. An adaptive packed-memory array

3. B 3 -Tree

4. Leying Chen and Shimin Chen . 2021. How does updatable learned index perform on non-volatile main memory? . In HardBD@ICDE . IEEE Computer Society , Chania, Greece , 66--71. Leying Chen and Shimin Chen. 2021. How does updatable learned index perform on non-volatile main memory?. In HardBD@ICDE. IEEE Computer Society, Chania, Greece, 66--71.

5. Shimin Chen , Phillip B. Gibbons , and Suman Nath . 2011. Rethinking database algorithms for phase change memory . In CIDR. www.cidrdb.org , Asilomar, CA, USA , 21--31. Shimin Chen, Phillip B. Gibbons, and Suman Nath. 2011. Rethinking database algorithms for phase change memory. In CIDR. www.cidrdb.org, Asilomar, CA, USA, 21--31.

Cited by 6 articles. 订阅此论文施引文献 订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献

1. Morphtree: a polymorphic main-memory learned index for dynamic workloads;The VLDB Journal;2023-12-01

2. WIPE: a Write-Optimized Learned Index for Persistent Memory;ACM Transactions on Architecture and Code Optimization;2023-11-28

3. ESL: A High-Performance Skiplist with Express Lane;Applied Sciences;2023-09-01

4. NVM: Is it Not Very Meaningful for Databases?;Proceedings of the VLDB Endowment;2023-06

5. Learned Index: A Comprehensive Experimental Evaluation;Proceedings of the VLDB Endowment;2023-04

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3