pending-compaction-bytes · shipping · also rocksdb.estimate-pending-compaction-bytes

RocksDB pending compaction bytes

RocksDB pending compaction bytes is an estimate of rewrite work needed to bring LSM levels within their size targets under level-based compaction.

The v10.10.1 property contract limits this estimate to level-based compaction. It is not occupied disk space, free capacity, WAL length or an exact prediction of physical I/O. [1] Separate soft and hard limits govern slowdown and stop conditions; in the pinned code those limits must be positive and automatic compactions enabled for these triggers. [2] Compare the estimate with actual delayed write rate and stopped-write state, not with a claimed durability guarantee. [1]

Relations

related
Leveled compaction, LSM compaction, RocksDB write stall, RocksDB write slowdown, Database write amplification

Citations

  1. RocksDB v10.10.1. Pending compaction bytes and write-control properties. (accessed 2026-10-15)
  2. RocksDB v10.10.1. ColumnFamilyData::GetWriteStallConditionAndCause. (accessed 2026-10-15)

Further reading

  1. RocksDB: a WAL sync is not a memtable flush; write backpressure boundaries. (accessed 2026-10-15)

JSON: /data/terms/pending-compaction-bytes.json

Published by Hesela team · Updated

Report a correction · Editorial standards · Reuse guidance

Cite this page
Hesela team. RocksDB pending compaction bytes. Hesela. 2026-10-15. https://hesela.dev/terms/pending-compaction-bytes/