Diagram comparing LSM tree layers with B‑tree nodes.

Why Log Structured Merge Trees Outperform B‑Trees for Writes

LSM trees batch writes into immutable files, avoiding costly in‑place updates that B‑trees require. This post explains the mechanics behind their superior write performance.

May 15, 2026 · 7 min · 1328 words · martinuke0
Diagram illustrating shared memory pages before and after a write.

How Copy‑On‑Write Optimization Reduces Database Memory Overhead

A deep dive into copy‑on‑write (COW) techniques shows how they cut database memory consumption, enable efficient snapshots, and boost concurrent workloads.

May 15, 2026 · 9 min · 1727 words · martinuke0
Diagram of a B-Tree node being duplicated on write.

Why Copy on Write B-Trees Improve Database Concurrency

Copy‑on‑write B‑trees enable high‑concurrency database operations by allowing readers to see a stable snapshot while writers modify a new version of the tree. The article explains the underlying mechanics, performance benefits, and practical implementation tips.

May 15, 2026 · 8 min · 1524 words · martinuke0
Short description of the cover image subject.

Why Write-Ahead Logging Rescues Databases From Power Failures

Write-ahead logging (WAL) ensures that databases can survive sudden power loss by recording changes before they reach the data files, enabling rapid, loss‑free recovery.

May 15, 2026 · 7 min · 1319 words · martinuke0
Diagram comparing LSM tree levels with a B‑tree node hierarchy.

Why LSM Trees Outperform B-Trees for Write Heavy Workloads

The article explains the fundamental design of LSM trees, contrasts them with B‑trees for write‑intensive scenarios, and outlines when each structure shines.

May 15, 2026 · 6 min · 1141 words · martinuke0
Feedback