🗄️ Database Index Page-I/O Lab: B+ Tree Height, Hash Probes and the Index-vs-Scan Crossover
Build a live B+ tree key by key and watch node splits, then scale the same cost model to millions of rows: tree height from fanout, cache effects on page reads, hash-index probe counts and the selectivity at which a sequential scan beats an index. Includes independent checks against a measured tree and hash table.
Computer Science2DModerate60 FPS📱 Mobile-adapted
⚙ Under the hood
Build a live B+ tree key by key and watch node splits, then scale the same cost model to millions of rows: tree height from fanout, cache effects on page reads, hash-index probe counts and the selectivity at which a sequential scan beats an index. Includes independent checks against a measured tree and hash table.
DatabasesB+ treeIndexingQuery costHash table
2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install