What are the different transaction isolation levels, and what are the trade-offs between Read Committed and Serializable?

Last updated 3 July 2026

  • Four levels, each blocking more anomalies at the cost of concurrency: READ UNCOMMITTED (dirty reads), READ COMMITTED, REPEATABLE READ, SERIALIZABLE (blocks everything, including write skew).

  • Read Committed gives high concurrency but allows non-repeatable and phantom reads across statements. Serializable behaves as if transactions ran one at a time but causes more locking or serialization failures that need retries.

  • Use Read Committed for typical OLTP. Reserve Serializable for invariants that must be provably consistent (e.g. financial), with retry handling.

  • https://medium.com/@_sidharth_m_/how-transaction-isolation-provides-data-integrity-in-databases-0507156a1d0d
  • https://www.postgresql.org/docs/current/transaction-iso.html
  • https://dev.to/philip_mcclarence_2ef9475/postgresql-transaction-isolation-levels-explained-52kj
  • https://surya-digital.com/fr/blog/2025-09-03/transaction-isolation-level-in-postgre-sql
  • https://www.lexuankha.com/blog/cockroachdb-transactions-serializable-isolation
  • https://dev.mysql.com/doc/refman/8.1/en/innodb-transaction-isolation-levels.html
  • https://dev.mysql.com/doc/refman/8.0/ja/innodb-transaction-isolation-levels.html
  • https://learn.microsoft.com/en-us/shows/azure-friday/azure-sql-database-non-blocking-transactions
All SQL interview questions