Locking of two sessions [message #552691] |
Fri, 27 April 2012 06:17 |
|
manjumagesh
Messages: 1 Registered: April 2012
|
Junior Member |
|
|
Want to know how to avoid oracle deadlock with two sessions. Here is my example, We use Select query with For Update in order to get the unique number from a table. When one user has accessed this query, while the other user tries, System gives a Performace slow and when checked it is due to locking of this select query with For update.
We don't want to use For update WAIT or FOR UPDATE NOWAIT since these will result in missing of number.
Kindly suggest me.
|
|
|
|
|
|