Tag

B+Tree

2 posts

B-Tree vs LSM-Tree: In-Place Updates vs Append-Only, and the Write, Read, and Space Amplification Trade-offs

System Design series Part 3-3: B+Tree in-place updates vs LSM-Tree appends, three amplifications simulated for tiering and leveling, tombstone traps, and delete vs erase.

System Design System Design · LSM-Tree · B+Tree

Indexes and B+Trees: From Disk Pages to Composite Indexes, Index-Defeating Queries, and Keyset Pagination

System Design series Part 3-2: why three B+Tree levels hold 100M rows, clustered vs secondary indexes, leftmost prefixes, index-defeating SQL, write costs, keyset paging.

System Design System Design · Index · B+Tree