Basic Oracle Concepts and Programming Question:

Download Job Interview Questions and Answers PDF

What Is a Dead Lock in Oracle?

Oracle Database Interview Question
Oracle Database Interview Question

Answer:

A dead lock is phenomenon happens between two transactions with each of them holding a lock that blocks the other transaction as shown in the following diagram:
<pre>(transaction 1) (transaction 2)
update row X to create lock 1
update row Y to create lock 2
update row X
(blocked by lock 1)
update row Y</pre>
(blocked by lock 2)

(dead lock created)


Download Oracle Database Interview Questions And Answers PDF

Previous QuestionNext Question
How To View Existing Locks on the Database?How Oracle Handles Dead Locks?