database-write-amplification · shipping

Database write amplification

Database byte write amplification is storage-engine output bytes written divided by logical input bytes over a stated interval and accounting boundary.

Related Observatory article: Read on hesela.com

Specify whether input counts keys, values or both, and whether output includes WAL, compaction and value-store cleaning. This ratio is distinct from host-to-NAND write amplification. [1]

Aggregate compatible measurements by adding their output and input byte counters, then dividing the totals. An arithmetic mean of per-batch ratios generally gives a different answer; weighting those ratios by their input bytes recovers the aggregate. Keep log-only cleaning ratios separate from whole-engine amplification. [2]

TRIAD's paper reports (flushed bytes + compacted bytes) / flushed bytes. That denominator is not logical application input. Reducing both counted byte totals proportionally leaves this ratio unchanged; retain the original counters when comparing work. [3]

Relations

related
Write amplification, Log-structured merge-tree, Key-value separation, LSM compaction, Read amplification, Space amplification, Value log, TRIAD, RUM conjecture

Citations

  1. Lu et al. WiscKey: Separating Keys from Values in SSD-conscious Storage. FAST 2016, pp. 133-148, sections 3.2-3.3. (accessed 2026-11-11)
  2. Key-value separation: the cleaning bill moves elsewhere (accessed 2026-10-19)
  3. Balmau et al. TRIAD. USENIX ATC 2017, pp. 363-375; sections 4.1-4.3 and 5.1-5.3. (accessed 2026-11-10)

JSON: /data/terms/database-write-amplification.json

Published by Hesela team · Updated

Report a correction · Editorial standards · Reuse guidance

Cite this page
Hesela team. Database write amplification. Hesela. 2026-11-13. https://hesela.dev/terms/database-write-amplification/