Databases

Isolation levels

The contract for which concurrency anomalies a transaction may observe, traded against how much concurrency the engine allows.

The defaults differ between engines - PostgreSQL and SQL Server default to read committed, MySQL and MariaDB to repeatable read - so identical application code behaves differently on each. Assuming portability here is a common source of subtle bugs.

Explained in depth

Implemented by

Learn it in context

Related concepts