Lune

VLDB2024Top-tier venue

Sorting on Byte-Addressable Storage: The Resurgence of Tree Structure

Ying Zheng, Kian-Lee Tan

Abstract

The tree structure is notably popular for storage and indexing; however, tree-based sorting such as tree sort is rarely used in practice. Nevertheless, with the advent of byte-addressable storage (BAS), the tree structure captures our attention with its write-once property. This property aligns well with BAS's asymmetric read-write characteristics. In this paper, we seek to answer the question: Can tree-based sorting algorithms outperform existing algorithms in the hybrid DRAM-BAS system? To address this, first, we conduct a comprehensive study to assess the compatibility of existing sorting algorithms with such hybrid memory systems and explore the challenges. We then delve into various design dimensions of tree-sort algorithms which leads to an optimized variant, TSort. Finally, a comparative analysis is conducted among three different sets of sorting algorithms, including in-place sorts, external sorts, and tree-based sorts. The results indicate that TSort not only challenges the traditional negative perceptions of the tree structure in sorting but also exhibits excellent performance. It outperforms all other counterparts across diverse datasets, whether uniformly distributed or skewed, in most cases.

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.

Questions to start from

Lune can draw on

the full paper · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Maximizing Persistent Memory Bandwidth Utilization for OLAP Workloads cites An Empirical Guide to the Behavior and Use of Scalable Persistent Memory
  • Characterizing and Modeling Non-Volatile Memory Systems cites An Empirical Guide to the Behavior and Use of Scalable Persistent Memory
  • NBTree: a Lock-free PM-friendly Persistent B+-Tree for eADR-enabled PM Systems cites An Empirical Guide to the Behavior and Use of Scalable Persistent Memory
  • NBTree: a Lock-free PM-friendly Persistent B+-Tree for eADR-enabled PM Systems cites Characterizing and Modeling Non-Volatile Memory Systems
Builds onCited byLeft to right by year; the more cited, the higher.

Builds on16

  1. 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
  2. SpanDB: A Fast, Cost-Effective LSM-tree Based KV Store on Hybrid StorageHao Chen, Chaoyi Ruan, Cheng Li, Xiaosong Ma et al.FAST 2021 · 120 citations
  3. Characterizing and Modeling Non-Volatile Memory SystemsZixuan Wang, Xiao Liu, Jian Yang, Theodore Michailidis et al.MICRO 2020 · 88 citations
  4. NBTree: a Lock-free PM-friendly Persistent B+-Tree for eADR-enabled PM SystemsBowen Zhang, Shengan Zheng, Zhenlin Qi, Linpeng HuangVLDB 2022 · 41 citations
  5. Maximizing Persistent Memory Bandwidth Utilization for OLAP WorkloadsBjörn Daase, Lars Jonas Bollmeier, Lawrence Benson, Tilmann RablSIGMOD 2021 · 38 citations

Related papers

  1. WiscSort: External Sorting For Byte-Addressable StorageVinay Banakar, Kan Wu, Yuvraj Patel, Kimberly Keeton et al.VLDB 2023 · 11 citations
  2. B-Trees Are Back: Engineering Fast and Pageable Node LayoutsMarcus Müller, Lawrence Benson, Viktor LeisSIGMOD 2025 · 5 citations
  3. Boosting Write Performance of KV Stores: An NVM - Enabled Storage Collaboration ApproachYi Wang, Jiajian He, Kaoyi Sun, Yunhao Dong et al.ICDE 2024 · 6 citations
  4. Bonsai: High-Performance Adaptive Merge Tree SortingNikola Samardzic, Weikang Qiao, Vaibhav Aggarwal, Mau-Chung Frank Chang et al.ISCA 2020 · 51 citations
  5. BL-Tree: The Best of Both Worlds by Combining B+- Tree on Top and LSM - Tree on BottomSuzhen Wu, Zuocheng Wang, Shengzhe Wang, Jiahong Chen et al.ICDE 2025 · 2 citations
Dusk over the sea between two cliffs drawn in fine vertical lines