Lune

VLDB2025Top-tier venue

Sphinx: A Succinct Perfect Hash Index for x86

Sajad Faghfoor Maghrebi, Niv Dayan

Abstract

Many modern key-value stores rely on an in-memory index to map the location of each data entry in storage. The size of this index often becomes a memory bottleneck that makes it difficult to scale the system to large data sizes. To address this problem, the state-of-the-art approach is to structure this index as a succinct perfect hash table using only ≈ 4 bits per key. The downside is that the hash table encoding is computationally expensive to parse and may harm overall system performance. We introduce Sphinx, a succinct perfect hash table reengineered for high performance on commodity CPUs. Sphinx is encoded in a manner that lends itself to efficient access using rank and select primitives, and it uses auxiliary metadata to decode common hash table slots instantaneously. Sphinx is also expandable and parallelizable. We compare Sphinx to the best alternatives and show that it leads to a 2x reduction in query latency, update latency, and memory footprint.

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.

1 top-tier paper has cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Pacman: An Efficient Compaction Approach for Log-Structured Key-Value Store on Persistent Memory cites FlatStore: An Efficient Log-Structured Key-Value Storage Engine for Persistent Memory
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers1

  1. Zeno Filter: To Infinity in Tiny StepsHyuhng Min Kim, Navid Eslami, Niv DayanSIGMOD 2026 · 2 citations

Builds on13

  1. FlatStore: An Efficient Log-Structured Key-Value Storage Engine for Persistent MemoryYoumin Chen, Youyou Lu, Fan Yang, Qing Wang et al.ASPLOS 2020 · 166 citations
  2. ROLEX: A Scalable RDMA-oriented Learned Key-Value Store for Disaggregated Memory SystemsPengfei Li, Yu Hua, Pengfei Zuo, Zhangyu Chen et al.FAST 2023 · 90 citations
  3. Vacuum Filters: More Space-Efficient and Faster Replacement for Bloom and Cuckoo FiltersMinmei Wang, Mingxun Zhou, Shouqian Shi, Chen QianVLDB 2020 · 58 citations
  4. Pacman: An Efficient Compaction Approach for Log-Structured Key-Value Store on Persistent MemoryJing Wang, Youyou Lu, Qing Wang, Minhui Xie et al.USENIX ATC 2022 · 44 citations
  5. Vector Quotient Filters: Overcoming the Time/Space Trade-Off in Filter DesignPrashant Pandey, Alex Conway, Joe Durie, Michael A. Bender et al.SIGMOD 2021 · 40 citations

Related papers

  1. Succinct and Fast Tiny Pointer Hash TablesXilin Tang, Yuqi Mai, William Kuszmaul, Alex ConwayVLDB 2026
  2. GPH: An Efficient and Effective Perfect Hashing Scheme for GPU ArchitecturesJiaping Cao, Le Xu, Man Lung Yiu, Jianbin Qin et al.SIGMOD 2025 · 4 citations
  3. Sphinx: A High-Performance Hybrid Index for Disaggregated Memory With Succinct Filter CacheJingxiang Li, Shengan Zheng, Bowen Zhang, Hankun Dong et al.DAC 2025
  4. Constructing Minimal Perfect Hash Functions Using SAT TechnologySean A. Weaver, Marijn HeuleAAAI 2020 · 6 citations
  5. A Weak Consensus Algorithm and Its Application to High-Performance BlockchainQin Wang, Rujia LiINFOCOM 2021 · 27 citations
Dusk over the sea between two cliffs drawn in fine vertical lines