Welcome to OracleGiants.com!     

Oracle 10g DBA & Business Intelligence Resources.

ORA-00060: deadlock detected while waiting for resource
ORA-06512: at

Whenever you have competing DML running against the same data, you run the risk of a deadlock. This issue it not simply a database configuration problem. If the first two recommendations do not work below then the third option is to tune the application and possibly reschedule updates to run in a batch job in the evenings.


Modify INITRANS on the affected tables - The INITTRANS setting controls Initial Transaction Slots (ITLs). A transaction slot is required for any session that needs to modify a block in an object. For tables INITRANS defaults to 1 for indexes, 2. If different processes that are accessing the same records could be run concurrently it will also be necessary to increase the INITRANS setting accordingly.

Other options to consider if INITRANS does not resolve the issue: Use smaller blocks with less data - Since the deadlock contention is at the block-level, consider moving these tables and indexes to a super-small blocksize (create a db2k_cache_size), and using a high PCTFREE to space-out the data over MORE blocks.

Tune the application and re-scheduling batch update jobs to low-update times an also help. Some deadlocks are due to user error in the design of an application or from issuing incorrect ad-hoc SQL.


Use Xattr CloudFiler™ to dedup, encrypt and move your RMAN backups to the cloud.

Recent Posts

This site recommends Burleson Consulting for DBA Support & Consulting.

We are currently paying for accepted Oracle 10g DBA & Business Intelligence articles, scripts, tips & tricks. Send yours to the editor and we will review within three weeks.

Learn more

Editorial submissions & questions: editor@oraclegiants.com



This site is moderated by an:
Oracle Certified Professional
Oracle ACE


  Classic Car Online - The #1 spot for classic and muscle car enthusiats
2010 OracleGiants.com