A log-structured merge-tree (LSM tree) is a data structure and storage architecture used by RocksDB.

SSTable (Sorted String Table)

An SSTable is essentially a file format. It’s a simple, immutable file on disk that stores key-value pairs, sorted strictly by their keys.

Sorted Strings Table (SSTable) is a persistent file format used by ScyllaDB, Apache Cassandra, and other NoSQL databases to take the in-memory data stored in memtables, order it for fast access, and store it on disk in a persistent, ordered, immutable set of files.

image

image