IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

What are the Isolation level and uses of it


IBM Mainframe Forums -> DB2
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
krbabu

New User


Joined: 20 Feb 2004
Posts: 57

PostPosted: Thu Feb 26, 2004 4:31 pm
Reply with quote

Can anybody give an idea of isolation level and uses of it
Back to top
View user's profile Send private message
mdtendulkar

Active User


Joined: 29 Jul 2003
Posts: 237
Location: USA

PostPosted: Thu Feb 26, 2004 5:01 pm
Reply with quote

Hello krbabu,

Maintaining database consistency and data integrity, while allowing more than one application to access the same data at the same time, is known as concurrency. One of the ways DB2 attempts to enforce concurrency is through the use
of isolation levels, which determine how data used in one transaction is locked or isolated from other transactions while the first transaction accesses it. DB2 uses the following isolation levels to enforce concurrency:

Repeatable Read
Read Stability
Cursor Stability
Uncommitted Read

For more details on the same, refer the following link

www2.tw.ibm.com/developerWorks/tutorial/pdf/db2cert6v8-a4.pdf

Hope this helps,

Regards
Mayuresh Tendulkar
Back to top
View user's profile Send private message
rachel

New User


Joined: 09 Mar 2005
Posts: 13

PostPosted: Thu Aug 25, 2005 5:47 pm
Reply with quote

Hi,


The contents of the tutorial are not in english.

icon_rolleyes.gif
Back to top
View user's profile Send private message
anadhamohan

New User


Joined: 27 Sep 2005
Posts: 25
Location: india

PostPosted: Wed Sep 28, 2005 11:09 am
Reply with quote

UR scans: No row locks are held unless row data is changing. It's Read-Only lock.
CS scans: Row locks are only held while the cursor is positioned on the row. Once the cursor moves from that row the lock will be released until the previous row is changed.
RS scans: Only qualifying row locks are held for the duration of the transaction. Others can able to view (or) insert rows to that page.
RR scans: All row locks are held for the duration of the transaction.
Back to top
View user's profile Send private message
Cathy123

New User


Joined: 07 Jul 2006
Posts: 4
Location: Chennai

PostPosted: Mon Mar 19, 2007 10:57 am
Reply with quote

Hi,

Are Isolation levels different types of Row locks?

Thanks,
Cathy
Back to top
View user's profile Send private message
vini_srcna

Active User


Joined: 26 May 2005
Posts: 178
Location: Copenhagen, Denmark

PostPosted: Wed Mar 21, 2007 1:45 pm
Reply with quote

Isolation Level is different from Lock types.
Lock type (typically LOCKSIZE of ROW,TABLE,PAGE) says what kind of lock to hold.
It will be specified in the DDL of tablespace. I think it defaults to ANY which inturn says it ROW level locking.

Isolation level is to say How long to hold this lock. There are many articles on this concept.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> DB2

 


Similar Topics
Topic Forum Replies
No new posts How to load to DB2 with column level ... DB2 6
No new posts ISRSUPC search utility - using high l... TSO/ISPF 2
No new posts JPM Reports for each DB2 V12 Function... DB2 0
No new posts Program level statistics CICS 6
No new posts Feild level validation to test first ... JCL & VSAM 10
Search our Forums:

Back to Top