HotshardLearn ↗MVCC & Snapshot IsolationBEGINREADWRITECOMMIT

MVCC & Snapshot Isolation — pick a scenario

0/3 done

Pick one and press Start, then click Next › to step through it.

Watch for

T1's second read returning the original balance after T2 has already committed a new one — then T3 reading the new value.

More about this scenario
You'll learn

How a transaction reads a stable, consistent view of the data even while other transactions commit changes right beside it.

How it runs

Each transaction snapshots the commit clock when it begins and only sees versions committed at or before that point; a write appends a new version rather than overwriting the old.