ORA-00060: deadlock detected while waiting for resource

后端 未结 4 2088
误落风尘
误落风尘 2021-02-01 17:40

I have a series of scripts running in parallel as a nohup on an AIX server hosting oracle 10g. These scripts are written by somebody else and are meant to be executed concurrent

4条回答
  •  南方客
    南方客 (楼主)
    2021-02-01 18:16

    I was recently struggling with a similar problem. It turned out that the database was missing indexes on foreign keys. That caused Oracle to lock many more records than required which quickly led to a deadlock during high concurrency.

    Here is an excellent article with lots of good detail, suggestions, and details about how to fix a deadlock: http://www.oratechinfo.co.uk/deadlocks.html#unindex_fk

提交回复
热议问题