Give a brief description of DB2 Isolation Levels?

devquora
devquora

Posted On: Feb 22, 2018

 

UR- Uncommitted Read:
  • It is good for accessing read-only tables and read-only queries.
  • No record Locking is done.

CS- Cursor Stability:

  • It is a default isolation level.
  • It locks or unlocks each row at a time.
  • It guarantees to return only data which was committed at the time of reading.

RS- Read Stability:

  • It releases Locks on rows that do not satisfy the query predicates.
  • It is used for result set stability or when the future actions on returned rows may be taken.

RR- Repeatable Read:

  • It allows the application to retrieve and operate on rows as many times as needed.
  • It locks the entire table.

    Related Questions

    Please Login or Register to leave a response.

    Related Questions

    DB2 Interview Questions

    What is DB2 and what is the use of DB2 Optimizer?

    DB2 is a huge relational database management system for the MVS (Multiple Virtual storages) operating systems, where th..

    DB2 Interview Questions

    Mention data types used in DB2 ?

    The data types used in DB2 are: SMALLINT DECIMAL CHAR FLOAT INTEGER VARCHAR DATE TIME ..

    DB2 Interview Questions

    What is Buffer pool and list some of them?

    It is a reserved main storage which is to satisfy the buffer needs for one or more tablespaces or indexes. It is made u..