Search This Blog

Thursday, August 4, 2011

How to resolve Deadlock ORA-00060 error

Deadlock.
What is deadlock?
Deadlock is a situation in which two or more users are waiting for data locked by each other. deadlocks prevent some transactions from continuing to work.

How to resolve deadlock?
We have to do nothing to resolve deadlock error (ORA-00060), oracle automatically detects and resolve the deadlock by rolling back one statement involve in the statement. releasing one set of conflicting row locks.

Why deadlock error occurs?
deadlock is completely application bug. ask DEVELOPER to look into the coding on particular form (query) which raise DEADLOCK.

What is the reason for deadlock?
Deadlocks most often occur when transactions explicitly override the default locking of oracle database. because oracle database not escalate locks and does not use read locks for queries. but does use row-level locking, deadlocks occurs infrequently.

Reference: asktom

No comments: