Transactions & ACID · SQL SQL

In PostgreSQL and MySQL, what is the default transaction isolation level?

Practice question from Transactions & ACID (SQL SQL), with the correct answer and a step-by-step solution.

medium · MCQ · Q-EB7AED

In PostgreSQL and MySQL, what is the default transaction isolation level?

  1. A.Read Uncommitted
  2. B.Read CommittedCorrect answer
  3. C.Repeatable Read
  4. D.Serializable

Solution

PostgreSQL and MySQL (InnoDB) both use Read Committed as their default isolation level, where a query sees only data committed before the query began.

More from Transactions & ACID

All of Transactions & ACID

Practise more SQL

Sign up free for adaptive practice on this chapter, with instant feedback and hints on every question.

Start practising free

Free to start · No credit card needed