PAPER DIGEST
Most Influential SIGMOD 2012 Paper · 2026-03 edition

BLSM: A General Purpose Log Structured Merge Tree

Russell Sears; Raghu Ramakrishnan

Venue
ACM SIGMOD Conference (SIGMOD) 2012
Recognition
Most Influential SIGMOD 2012 Paper (Rank No. 4)
Edition
2026-03
Impact factor
7
Certificate ID
cbc8d21c7e4e9424

Abstract

Data management workloads are increasingly write-intensive and subject to strict latency SLAs. This presents a dilemma: Update in place systems have unmatched latency but poor write throughput. In contrast, existing log structured techniques improve write throughput but sacrifice read performance and exhibit unacceptable latency spikes. We begin by presenting a new performance metric: <i>read fanout</i>, and argue that, with <i>read</i> and <i>write amplification</i>, it better characterizes real-world indexes than approaches such as asymptotic analysis and price/performance. We then present <i>bLSM</i>, a Log Structured Merge (LSM) tree with the advantages of B-Trees and log structured approaches: (1) Unlike existing log structured trees, bLSM has near-optimal read and scan performance, and (2) its new "spring and gear" merge scheduler bounds write latency without impacting throughput or allowing merges to block writes for extended periods of time. It does this by ensuring merges at each level of the tree make steady progress without resorting to techniques that degrade read performance. We use Bloom filters to improve index performance, and find a number of subtleties arise. First, we ensure reads can stop after finding one version of a record. Otherwise, frequently written items would incur multiple B-Tree lookups. Second, many applications check for existing values at insert. Avoiding the seek performed by the check is crucial.

Download PDF certificate