What are transaction isolation levels?

SQL indexes, transactions and performance · Freshers and experienced

Model answer

They define what one transaction can see of another's changes: Read Uncommitted, Read Committed (default in PostgreSQL), Repeatable Read (default in MySQL InnoDB) and Serializable. Higher levels prevent more anomalies (dirty reads, non-repeatable reads, phantom reads) but allow less concurrency.

Learn this topic

Indexes and Faster Queries: EXPLAIN for Beginners in the course SQL for Beginners: Learn Databases Step by Step.

Sign in to add your own answer.

More questions