Skip to main content

Module memtable

Module memtable 

Source
Expand description

In-memory write buffer (memtable)

Stores mutations in memory using a BTreeMap for partition and clustering ordering. Flushes to L0 SSTable when size threshold is reached.

The memtable maintains mutations in token-sorted order (via DecoratedKey) and tracks approximate memory usage to trigger flushes at a configurable threshold.

Structs§

Memtable
In-memory write buffer