Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups Profile Log in to check your private messages Log in
 
problem of locking in banking domain

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2
Author Message
badal_mainframe

New User


Joined: 10 Aug 2004
Posts: 7

PostPosted: Thu Aug 12, 2004 11:06 am    Post subject: problem of locking in banking domain
Reply with quote

hi
i am using CS and RR but in a perticular situation my client ask to use UR lock.so i want to know what is UR and in which situation it will use
Back to top
View user's profile Send private message
References
sunnyk

Active User


Joined: 20 Oct 2004
Posts: 59

PostPosted: Wed Oct 20, 2004 4:16 pm    Post subject: Regarding UR
Reply with quote

The UR(uncommited read) isolation level provides read-through locks, also know as dirty read or read uncommitted. Using UR can help to overcome concurrency problems. When you're using an uncommitted read, an application program can read data that has been changed but is not yet committed.
UR can be a performance booster, too, because application programs bound using the UR isolation level will read data without taking locks. This way, the application program can read data contained in the table as it is being manipulated.
For ex: Suppose a user updates a data(changes name from Sam to Samuel) and it`s yet not commited.And now a second user tries to access that data.With UR(Uncommited Read) the second user will get the updated data(i.e sameul) even though the changes done have not been commited into the database. So UR is a real relief for projects which involve quick updation and read like yours.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2 All times are GMT + 6 Hours
Page 1 of 1