Isolation level

An isolation level defines which changes made by concurrent transactions are visible to a transaction and which conflicts are prevented through locking. MySQL InnoDB supports READ UNCOMMITTED, READ COMMITTED, REPEATABLE READ and SERIALIZABLE.

Minimal example

sql
SET SESSION TRANSACTION ISOLATION LEVEL READ COMMITTED;

Learn this concept

Lesson 3.8 · Isolation levels and anomalies
Prerequisite conceptsTransaction