Please enable JavaScript.
Coggle requires JavaScript to display documents.
Storage Engines - Coggle Diagram
Storage Engines
For OLTP
-
-
Index
-
-
Additional structure
Maintaining such incurs overhead, esp. on W
-
-
Every index consumes add. disk space and slows down W, sometimes substantially
Choose columns that are most often in JOIN, WHERE, ORDER BY, GROUP BY
Log-structured storage
-
-
-
-
SSTable
-
-
-
-
-
-
-
-
Compaction
-
-
-
Types
Leveled
-
Are grouped into increasing levels (0,...,N)
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Indexes
-
-
-
-
-
When larger data is updated the DB may need to move it and update all related indexes or leave a pointer behind
For OLAP
-
-
-
-
-
Vector embeddings
Semantic search engines use embedding models (often LLMs or neural networks) to convert data into high-dimensional vectors.
-
-