deadlocks [message #130468] |
Sun, 31 July 2005 01:17 |
sarfraz_attari
Messages: 123 Registered: July 2005
|
Senior Member |
|
|
can anyone tell me how to find the deadlock if there is any
and how to remove deadlocks
|
|
|
|
|
|
Re: deadlocks [message #130846 is a reply to message #130562] |
Tue, 02 August 2005 19:08 |
mrmarath
Messages: 23 Registered: July 2005
|
Junior Member |
|
|
As you know a deadlock can arise when two or more users wait for data locked by each other.The oracle server automatically detects and resolves deadlocks by rolling back the statement that detected the deadlock.
For eg:Consider two transactions, if transaction 1 detects the deadlock, the oracle server rolls back that statement and returns the message.Although the statement that caused the deadlock is rolled back, the transaction is not, and you receive an ORA-00060 error.Your next action should be to rollback the remainder of the transaction.
Regards
Rajesh
|
|
|