← Lab /Systems

NSHEDB speeds homomorphic DB queries 20× and cuts storage 73×

NSHEDB achieves 20× speedup and 73× storage reduction on TPC-H workloads versus prior HE-based systems

Systems arXiv 27 Feb 2026 Method Prototype evidence

Published as “NSHEDB: Noise-Sensitive Homomorphic Encrypted Database Query Engine”

Why it matters

The system makes practical, high-performance encrypted query processing feasible without trusted hardware, opening the door to real-world privacy-preserving databases.

Summary

NSHEDB achieves up to 1370× speedup and 73× storage reduction versus prior homomorphic encryption databases, eliminating bootstrapping through a noise-aware query planner; the evidence comes from TPC-H benchmarks on a 32K-row dataset showing 20×-1370× faster query times and 1.4% of the storage used by competitors, though some speedup figures are projected because baselines could not finish certain queries.

What they found 2

  1. NSHEDB is 20× to 1370× faster in a set of TPC-H queries.

    “NSHEDB is 20× to 1370× faster in a set of TPC-H queries.”

  2. NSHEDB only requires 1.4% of the space compared to its counterpart, or 28× relative to raw data.

    “NSHEDB only requires 1.4% of the space compared to its counterpart, or 28× relative to the raw data storage without encryption.”

Caveats 3

  • We do not show Q5 in the later result figures because the theoretical runtimes of the two baselines cannot finish this query within reasonable timeframe (more than a year) on our testbed.
  • Note that this limited table size is primarily due to the space requirements of HE3DB and ArcEDB, whereas NSHEDB can support larger workloads.
  • Scaling is not linear due to three factors: Limited parallelism: Queries with few predicates (e.g., Q1, Q6) leave threads idle beyond 4 cores. Bandwidth saturation: Inequality checks generate intermediate ciphertexts and require lookup table accesses (BSGS optimization), creating memory pressure. Operation dependence: Equality-heavy queries (Q4, Q12) scale better than inequality-heavy ones (Q8, Q19) due to lower memory pressure.

What’s new here 4

  • Uses word-level BFV leveled HE to avoid bootstrapping and scheme transciphering.
  • Introduces a noise-aware query optimizer that rewrites plans to stay within multiplicative depth budgets.
  • Implements all major relational operators (joins, aggregates, filters) purely with arithmetic HE.
  • Achieves dramatic storage savings (73×) by packing data at the word level.