ORA-00060: deadlock detected while waiting for resource

后端 未结 4 2085
误落风尘
误落风尘 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:08

    I was testing a function that had multiple UPDATE statements within IF-ELSE blocks.

    I was testing all possible paths, so I reset the tables to their previous values with 'manual' UPDATE statements each time before running the function again.

    I noticed that the issue would happen just after those UPDATE statements;

    I added a COMMIT; after the UPDATE statement I used to reset the tables and that solved the problem.

    So, caution, the problem was not the function itself...

提交回复
热议问题