Lesson 4.1

Transactions and isolation levels

Isolation decides which concurrency anomalies you can still see. Read committed is the default, and it permits more than most people assume.

Duration
8m
Level
Intermediate
Students
6.4k students

Overview

Isolation decides which concurrency anomalies you can still see. Read committed is the default, and it permits more than most people assume.

In this lesson you will:

  • Keep transactions short and correctly scoped
  • Compare read committed, repeatable read, and serializable
  • Avoid deadlocks by ordering access consistently

Resources

PostgreSQL documentation

The official reference for the tools used in this lesson.