Databases · Fill in the blank

An LSM tree first puts writes in an in-memory blank, flushes it to disk as immutable sorted files called blank, and merges those files in the background, which is called blank.

medium Storage

Answer

An LSM tree first puts writes in an in-memory memtable, flushes it to disk as immutable sorted files called SSTables, and merges those files in the background, which is called compaction.

Also accepted: SSTable, sorted string tables for SSTables.

Why

A write-ahead log alongside the memtable keeps writes safe until the flush.

Review this in your daily deck All cards in Databases