PLIN: A Persistent Learned Index for Non-Volatile Memory with High Performance and Instant Recovery
Zhou Zhang, Zhaole Chu, Peiquan Jin, Yongping Luo, Xike Xie, Shouhong Wan, Yun Luo, Xufei Wu, Peng Zou, Chunyang Zheng, Guoan Wu, Andy Rudoff
Abstract
Non-Volatile Memory (NVM) has emerged as an alternative to nextgeneration 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.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
16 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Oasis: An Optimal Disjoint Segmented Learned Range Filter cites ALEX: An Updatable Adaptive Learned Index
- Oasis: An Optimal Disjoint Segmented Learned Range Filter cites The PGM-index: a fully-dynamic compressed learned index with provable worst-case bounds
- Oasis: An Optimal Disjoint Segmented Learned Range Filter cites Learned Index: A Comprehensive Experimental Evaluation
- Updatable Learned Index with Precise Positions cites ALEX: An Updatable Adaptive Learned Index
- Updatable Learned Index with Precise Positions cites XIndex: a scalable learned index for multicore data storage
- Updatable Learned Index with Precise Positions cites The PGM-index: a fully-dynamic compressed learned index with provable worst-case bounds
- LSGraph: A Locality-centric High-performance Streaming Graph Engine cites ALEX: An Updatable Adaptive Learned Index
- LSGraph: A Locality-centric High-performance Streaming Graph Engine cites Updatable Learned Index with Precise Positions
- LSGraph: A Locality-centric High-performance Streaming Graph Engine cites XIndex: a scalable learned index for multicore data storage
- LSGraph: A Locality-centric High-performance Streaming Graph Engine cites The PGM-index: a fully-dynamic compressed learned index with provable worst-case bounds
- LSGraph: A Locality-centric High-performance Streaming Graph Engine cites Learned Index: A Comprehensive Experimental Evaluation
- COLE: A Column-based Learned Storage for Blockchain Systems cites ALEX: An Updatable Adaptive Learned Index
- COLE: A Column-based Learned Storage for Blockchain Systems cites Updatable Learned Index with Precise Positions
- COLE: A Column-based Learned Storage for Blockchain Systems cites The PGM-index: a fully-dynamic compressed learned index with provable worst-case bounds
- XIndex: a scalable learned index for multicore data storage cites ALEX: An Updatable Adaptive Learned Index
- XIndex: a scalable learned index for multicore data storage cites The PGM-index: a fully-dynamic compressed learned index with provable worst-case bounds
- Making In-Memory Learned Indexes Efficient on Disk cites ALEX: An Updatable Adaptive Learned Index
- Making In-Memory Learned Indexes Efficient on Disk cites Updatable Learned Index with Precise Positions
- Making In-Memory Learned Indexes Efficient on Disk cites XIndex: a scalable learned index for multicore data storage
- Making In-Memory Learned Indexes Efficient on Disk cites The PGM-index: a fully-dynamic compressed learned index with provable worst-case bounds
- Making In-Memory Learned Indexes Efficient on Disk cites Learned Index: A Comprehensive Experimental Evaluation
- Learned Index: A Comprehensive Experimental Evaluation cites ALEX: An Updatable Adaptive Learned Index
- Learned Index: A Comprehensive Experimental Evaluation cites Updatable Learned Index with Precise Positions
- Learned Index: A Comprehensive Experimental Evaluation cites XIndex: a scalable learned index for multicore data storage
- Learned Index: A Comprehensive Experimental Evaluation cites The PGM-index: a fully-dynamic compressed learned index with provable worst-case bounds
Cited by top-tier papers16
- Learned Index: A Comprehensive Experimental EvaluationZhaoyan Sun, Xuanhe Zhou, Guoliang LiVLDB 2023 · 87 citations
- COLE: A Column-based Learned Storage for Blockchain SystemsCe Zhang, Cheng Xu, Haibo Hu, Jianliang XuFAST 2024 · 20 citations
- Making In-Memory Learned Indexes Efficient on DiskJiaoyi Zhang, Kai Su, Huanchen ZhangSIGMOD 2024 · 18 citations
- Oasis: An Optimal Disjoint Segmented Learned Range FilterGuanduo Chen, Meng Li, Siqiang Luo, Zhenying HeVLDB 2024 · 17 citations
- LSGraph: A Locality-centric High-performance Streaming Graph EngineHao Qi, Yiyang Wu, Ligang He, Yu Zhang et al.EuroSys 2024 · 15 citations
Builds on14
- An Empirical Guide to the Behavior and Use of Scalable Persistent MemoryJian Yang, Juno Kim, Morteza Hoseinzadeh, Joseph Izraelevitz et al.FAST 2020 · 470 citations
- ALEX: An Updatable Adaptive Learned IndexJialin Ding, Umar Farooq Minhas, Jia Yu, Chi Wang et al.SIGMOD 2020 · 274 citations
- The PGM-index: a fully-dynamic compressed learned index with provable worst-case boundsPaolo Ferragina, Giorgio VinciguerraVLDB 2020 · 178 citations
- Updatable Learned Index with Precise PositionsJiacheng Wu, Yong Zhang, Shimin Chen, Yu Chen et al.VLDB 2021 · 160 citations
- XIndex: a scalable learned index for multicore data storageChuzhe Tang, Youyun Wang, Zhiyuan Dong, Gansen Hu et al.PPoPP 2020 · 109 citations
Related papers
- APEX: A High-Performance Learned Index on Persistent MemoryBaotong Lu, Jialin Ding, Eric Lo, Umar Farooq Minhas et al.VLDB 2022 · 73 citations
- PACTree: A High Performance Persistent Range Index Using PAC GuidelinesWook-Hee Kim, Madhava Krishnan Ramanathan, Xinwei Fu, Sanidhya Kashyap et al.SOSP 2021 · 61 citations
- Hybrid DRAM-NVM R-Trees with Consistency GuaranteeKaiqi Zhang, Chengyou Shen, Siyuan Zhang, Shengfei Shi et al.ICDE 2025 · 2 citations
- ROART: Range-query Optimized Persistent ARTShaonan Ma, Kang Chen, Shimin Chen, Mengxing Liu et al.FAST 2021 · 73 citations
- TIPS: Making Volatile Index Structures Persistent with DRAM-NVMM TieringMadhava Krishnan Ramanathan, Wook-Hee Kim, Xinwei Fu, Sumit Kumar Monga et al.USENIX ATC 2021 · 32 citations
