rocksdb-write-buffer-manager · shipping · also WriteBufferManager, RocksDB shared memtable budget

RocksDB WriteBufferManager

RocksDB WriteBufferManager is a shared controller that accounts for memtable memory across participating column families or database instances and can trigger flushing, optional write stalls and block-cache charges.

The scope is participating DB objects in one process, not every process on a host. [3] In v10.10.1, allow_stall defaults to false; with it enabled and a positive budget, the stall threshold includes equality. A zero constructor budget disables the manager's size-based flush and stall decisions, not all database flush triggers, and can still permit cache charging. [1] Cache reservations account for memtable allocations rather than duplicating their contents; delayed reservation release means the cache charge and live memtable bytes need not match. The allocation path absorbs cache-reservation errors, so the budget is not a hard process-memory cap. [2]

Relations

related
Memtable, RocksDB column family, RocksDB write stall, RocksDB write slowdown

Citations

  1. RocksDB v10.10.1. WriteBufferManager: budget, optional stalls and cache charging. (accessed 2026-10-15)
  2. RocksDB v10.10.1. WriteBufferManager implementation: reservations and stall release. (accessed 2026-10-15)
  3. Dong et al. The RocksDB Experience. FAST 2021, section 4: local and shared resource management. (accessed 2026-10-15)

Further reading

  1. RocksDB: shared memory budgets and write-stall domains. (accessed 2026-10-15)

JSON: /data/terms/rocksdb-write-buffer-manager.json

Published by Hesela team · Updated

Report a correction · Editorial standards · Reuse guidance

Cite this page
Hesela team. RocksDB WriteBufferManager. Hesela. 2026-10-15. https://hesela.dev/terms/rocksdb-write-buffer-manager/