ORA-00060 Deadlock Due to Missing Indexes on Foreign Key Constraints Occurs in Oracle 11g R2 But Not in 10g
(Doc ID 1570285.1)
Last updated on MAY 12, 2022
Applies to:
Oracle Database - Enterprise Edition - Version 11.2.0.1 and laterOracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Oracle Database Backup Service - Version N/A and later
Information in this document applies to any platform.
Symptoms
- ORA-00060 Deadlock occurs on 11g, but not in 10g/9i.
- Involved tables have foreign key constraints that are unindexed.
- Example scenario:
Session 1: insert into table1 (no commit)
Session 2: update table2 (table2 has a foreign key column reference to table1)
Result: In 11g Session1 blocks Session2 but in 9i/10g this does not occur.
Changes
Database was upgraded to 11g
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Changes |
Cause |
Solution |
References |