Skip to main content

HATree: A Hotness-Aware Tree Index with In-Node Hotspot Cache for NVM/DRAM-Based Hybrid Memory Architecture

  • Conference paper
  • First Online:
Database Systems for Advanced Applications (DASFAA 2022)

Part of the book series: Lecture Notes in Computer Science ((LNCS,volume 13245))

Included in the following conference series:

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 89.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 119.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

References

  1. Chen, J., et al.: HotRing: a hotspot-aware in-memory key-value store. In: FAST, pp. 239–252 (2020)

    Google Scholar 

  2. Intel: Intel optane DC persistent memory. https://www.intel.com/content/www/us/en/architecture-and-technology/optane-dc-persistent-memory.html

  3. 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)

    Google Scholar 

  4. Liu, J., Chen, S., Wang, L.: LB+-Trees: optimizing persistent index performance on 3DXPoint memory. Proc. VLDB Endow. 13(7), 1078–1090 (2020)

    Article  Google Scholar 

  5. 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)

    Google Scholar 

  6. 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)

    Article  Google Scholar 

  7. 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)

    Google Scholar 

  8. 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)

    Google Scholar 

  9. 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)

    Google Scholar 

  10. 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)

    Google Scholar 

  11. Yao, A.C.C.: On random 2–3 trees. Acta Informatica 9(2), 159–170 (1978)

    Article  Google Scholar 

  12. Zhang, J., Luo, Y., Jin, P., Wan, S.: Optimizing adaptive radix trees for NVM-based hybrid memory architecture. In: BigData, pp. 5867–5869 (2020)

    Google Scholar 

  13. 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)

    Article  Google Scholar 

Download references

Acknowledgments

This paper is supported by the National Science Foundation of China (grant no. 62072419).

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Peiquan Jin .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2022 The Author(s), under exclusive license to Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

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)

Publish with us

Policies and ethics