Quantcast
Channel: Transactions Archives - Vlad Mihalcea
Viewing all articles
Browse latest Browse all 19

A beginner’s guide to the Phantom Read anomaly, and how it differs between 2PL and MVCC

$
0
0
Introduction Unlike SQL Server which, by default, relies on the 2PL (Two-Phase Locking) to implement the SQL standard isolation levels, Oracle, PostgreSQL, and MySQL InnoDB engine use MVCC (Multi-Version Concurrency Control). However, providing a truly Serializable isolation level on top of MVCC is really difficult, and, in this post, I’ll demonstrate that it’s very difficult … Continue reading A beginner’s guide to the Phantom Read anomaly, and how it differs between 2PL and MVCC

Viewing all articles
Browse latest Browse all 19

Trending Articles