Transaction Isolation Level

Why Trust Techopedia

What Does Transaction Isolation Level Mean?

The transaction isolation level is a state within databases that specifies the amount of data that is visible to a statement in a transaction, specifically when the same data source is accessed by multiple transactions simultaneously.

Advertisements

Transaction isolation level is part of the isolation state of a database management system. Isolation is one of the ACID (atomicity, consistency, isolation, durability) properties.

Techopedia Explains Transaction Isolation Level

The transaction isolation level is primarily used as a means to provide accurate and reliable access to data within concurrent transactions. For example, two different transactions might be accessing the same data simultaneously. Therefore, if the change made on the data by one transaction is not passed to the other transaction, it can affect database operations. To circumvent this, DBMS employs different transaction isolation levels that enforce read and write locks on the data. There are four different types of transaction isolation levels.

  1. Serializable: Implements read and writes locks until the transaction is finished. Also implements range locks.
  2. Repeatable Reads: Implements read and write locks until the transaction is completed. Doesn’t manage range locks.
  3. Read Committed: Implements write locks until the transaction is completed but releases read locks when a SELECT operation is performed.
  4. Read Uncommitted: One transaction can see the uncommitted changes made by the other transaction
Advertisements

Related Terms

Margaret Rouse
Technology Specialist
Margaret Rouse
Technology Specialist

Margaret is an award-winning writer and educator known for her ability to explain complex technical topics to a non-technical business audience. Over the past twenty years, her IT definitions have been published by Que in an encyclopedia of technology terms and cited in articles in the New York Times, Time Magazine, USA Today, ZDNet, PC Magazine, and Discovery Magazine. She joined Techopedia in 2011. Margaret’s idea of ​​a fun day is to help IT and business professionals to learn to speak each other’s highly specialized languages.