Abstract
The emerging of Non-Volatile Memory (NVM) has changed the traditional DRAM-only memory system. Compared to DRAM, NVM has the advantages of non-volatility and large capacity. However, as the read/write speed of NVM is still lower than that of DRAM, building DRAM/NVM-based hybrid memory systems is a feasible way of adding NVM into the current computer architecture. This paper aims to optimize the well-known B\({^+}\)-tree for hybrid memory. We present a new index called HATree (Hotness-Aware Tree) that can identify and maintain hot keys with an in-node hotspot cache. The novel idea of HATree is using the unused space of the parent of leaf nodes (PLNs) as the hotspot data cache. Thus, no extra space is needed, but the in-node hotspot cache can efficiently improve query performance. We present the new node structures and operations of HATree and conduct experiments on synthetic workloads using real Intel Optane DC Persistent Memory. The comparative results with three existing state-of-the-art indices, including FPTree, LBTree, and BaseTree, suggest the efficiency of HATree.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
References
Chen, J., et al.: HotRing: a hotspot-aware in-memory key-value store. In: FAST, pp. 239–252 (2020)
Intel: Intel optane DC persistent memory. https://www.intel.com/content/www/us/en/architecture-and-technology/optane-dc-persistent-memory.html
Kim, D., Choi, W.G., Sung, H., et al.: A scalable and persistent key-value store using non-volatile memory. In: SAC, pp. 464–467 (2019)
Liu, J., Chen, S., Wang, L.: LB+-Trees: optimizing persistent index performance on 3DXPoint memory. Proc. VLDB Endow. 13(7), 1078–1090 (2020)
Luo, Y., Jin, P., Zhang, Q., Cheng, B.: TLBtree: a read/write-optimized tree index for non-volatile memory. In: ICDE, pp. 1889–1894 (2021)
Luo, Y., Jin, P., Zhang, Z., Zhang, J., Cheng, B., Zhang, Q.: Two birds with one stone: boosting both search and write performance for tree indices on persistent memory. ACM Trans. Embed. Comput. Syst. 20(5s), 1–25 (2021)
Oukid, I., Lasperas, J., Nica, A., Willhalm, T., Lehner, W.: FPTree: a hybrid SCM-DRAM persistent and concurrent B-tree for storage class memory. In: SIGMOD, pp. 371–386 (2016)
Wang, Q., Lu, Y., Li, J., Shu, J.: Nap: a black-box approach to NUMA-aware persistent memory indexes. In: OSDI, pp. 93–111 (2021)
Yang, J., Kim, J., Hoseinzadeh, M., Izraelevitz, J., Swanson, S.: An empirical guide to the behavior and use of scalable persistent memory. In: FAST, pp. 169–182 (2020)
Yang, J., Wei, Q., Chen, C., Wang, C., Yong, K.L., He, B.: NV-tree: reducing consistency cost for NVM-based single level systems. In: FAST, pp. 167–181 (2015)
Yao, A.C.C.: On random 2–3 trees. Acta Informatica 9(2), 159–170 (1978)
Zhang, J., Luo, Y., Jin, P., Wan, S.: Optimizing adaptive radix trees for NVM-based hybrid memory architecture. In: BigData, pp. 5867–5869 (2020)
Zhang, Z., Jin, P., Wang, X., Lv, Y., Wan, S., Xie, X.: COLIN: a cache-conscious dynamic learned index with high read/write performance. J. Comput. Sci. Technol. 36(4), 721–740 (2021)
Acknowledgments
This paper is supported by the National Science Foundation of China (grant no. 62072419).
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2022 The Author(s), under exclusive license to Springer Nature Switzerland AG
About this paper
Cite this paper
Liu, G., Luo, Y., Jin, P. (2022). HATree: A Hotness-Aware Tree Index with In-Node Hotspot Cache for NVM/DRAM-Based Hybrid Memory Architecture. In: Bhattacharya, A., et al. Database Systems for Advanced Applications. DASFAA 2022. Lecture Notes in Computer Science, vol 13245. Springer, Cham. https://doi.org/10.1007/978-3-031-00123-9_44
Download citation
DOI: https://doi.org/10.1007/978-3-031-00123-9_44
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-031-00122-2
Online ISBN: 978-3-031-00123-9
eBook Packages: Computer ScienceComputer Science (R0)