Diagram of a B-tree node being duplicated for copy‑on‑write.

How Copy-on-Write B-Trees Enable Instant Database Snapshots

Copy‑on‑write B‑trees let databases take point‑in‑time snapshots instantly, without blocking writes. This post explains the mechanics, trade‑offs, and real‑world implementations.

May 13, 2026 · 8 min · 1573 words · martinuke0
Diagram of shared memory pages before and after a write.

Why Copy on Write Bypasses Memory Allocation Bottlenecks

Copy‑on‑write avoids costly memory allocation by sharing data until a write occurs, dramatically improving throughput in many systems.

May 13, 2026 · 7 min · 1475 words · martinuke0
Illustration of a B-Tree branching with copy-on-write overlays.

Why Copy-on-Write B-Trees Improve Database Concurrency Control

Copy-on-Write B‑Trees provide immutable snapshots for readers while writers work on new nodes, enabling high concurrency with minimal blocking.

May 13, 2026 · 7 min · 1364 words · martinuke0
Illustration of a Linux process tree with shared memory pages.

How Copy-on-Write Optimizes Linux Process Creation

Copy‑on‑write lets the kernel clone a process without copying its memory pages, deferring duplication until a write occurs, which dramatically speeds up fork.

May 13, 2026 · 7 min · 1383 words · martinuke0
Illustration of a copy-on-write B-tree with versioned nodes.

Why Copy-on-Write B-Trees Accelerate Database Snapshots

This article explains how copy‑on‑write B‑trees work, why they speed up database snapshots, and what trade‑offs developers should consider.

May 13, 2026 · 9 min · 1742 words · martinuke0
Feedback