Skip to main content
QUICK REVIEW

[Paper Review] The B-Skip-List: A Simpler Uniquely Represented Alternative to B-Trees

Daniel Golovin|arXiv (Cornell University)|May 5, 2010
Algorithms and Data CompressionComputer Science22 references12 citations
TL;DR

This paper introduces the B-skip-list, a simpler, uniquely represented alternative to B-trees that supports efficient external memory operations with strong history independence. By combining skip list structure with probabilistic level assignment and block-based layout, it achieves O(logB n) I/Os for search, insert, delete, and range queries, while ensuring linear space and provably erasing all historical traces of operations.

ABSTRACT

In previous work, the author introduced the B-treap, a uniquely represented B-tree analogue, and proved strong performance guarantees for it. However, the B-treap maintains complex invariants and is very complex to implement. In this paper we introduce the B-skip-list, which has most of the guarantees of the B-treap, but is vastly simpler and easier to implement. Like the B-treap, the B-skip-list may be used to construct strongly history-independent index structures and filesystems; such constructions reveal no information about the historical sequence of operations that led to the current logical state. For example, a uniquely represented filesystem would support the deletion of a file in a way that, in a strong information-theoretic sense, provably removes all evidence that the file ever existed. Like the B-tree, the B-skip-list has depth O(log_B (n)) where B is the block transfer size of the external memory, uses linear space with high probability, and supports efficient one-dimensional range queries.

Motivation & Objective

  • To design a uniquely represented data structure for external memory that supports efficient B-tree-like operations while eliminating all historical side-channel information.
  • To simplify the implementation complexity of prior uniquely represented structures like the B-treap, which, despite strong theoretical guarantees, is difficult to implement due to complex invariants.
  • To enable strongly history-independent filesystems and databases where deletions leave no trace, even in memory or disk metadata.
  • To maintain performance comparable to B-trees—within constant factors—while ensuring information-theoretic privacy.

Proposed method

  • The B-skip-list uses a hierarchical skip list structure with probabilistic level assignment, where each element is replicated across levels based on a geometric distribution with parameter 1 - 1/γ.
  • Each level is stored as a block-structured list, with external memory blocks used to manage I/Os, and the block size B is treated as a system parameter.
  • Search paths are analyzed in reverse (backwards analysis) to avoid the 'waiting time paradox' and bound expected I/Os, showing that the number of blocks accessed per level is stochastically dominated by an exponential tail.
  • The structure uses a variable-length key hash table for memory allocation, which ensures linear space usage with high probability.
  • Theoretical bounds are derived using concentration inequalities (e.g., Chernoff bounds) to show that the total number of nodes is O(nγ/(γ−1)) with high probability, and setting γ = B yields linear space.
  • Range queries are supported by first locating the start via lookup and then scanning the lowest-level list, incurring O(k/B) additional I/Os in expectation.

Experimental results

Research questions

  • RQ1Can a uniquely represented B-tree analog be constructed that is significantly simpler to implement than the B-treap while preserving its performance guarantees?
  • RQ2Does a skip list-based structure with probabilistic level assignment and block-based layout achieve O(logB n) I/O complexity for search, insert, and delete operations in external memory?
  • RQ3Can such a structure ensure that all historical traces of operations—including deletions—are provably erased, achieving strong history independence?
  • RQ4Is the expected number of I/Os for operations bounded by O(logB n) even when accounting for skewed partition sizes along the search path?

Key findings

  • The B-skip-list supports insert, delete, lookup, and range query operations with O(logB n) expected I/Os, matching the performance of B-trees up to constant factors.
  • The expected number of I/Os for a lookup is bounded by e²/(e−1) · (⌈logB(N)⌉ + 2), which simplifies to O(logB n) for practical values of B.
  • The structure uses only linear space with high probability, specifically nγ/(γ−1) + O(√n log n) nodes when γ = B, ensuring space efficiency.
  • The analysis proves that the distribution of partition set sizes along the search path does not skew the I/O cost, avoiding the waiting time paradox via backwards analysis.
  • Range queries incur an additional O(k/B) I/Os in expectation, where k is the output size, making them efficient for large ranges.
  • The structure is strongly history-independent: deletions leave no trace, and the final data structure is uniquely represented, revealing no information about the sequence of operations.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.