Global Enqueue Services Deadlock detected

问题归档 2019-05-08
548
0 0
摘要:alert_orcl1.log 这里面看到有死锁 Global Enqueue Services Deadlock detected. More info in file

问题描述

ed Apr 17 10:08:37 2019

Global Enqueue Services Deadlock detected. More info in file

ed Apr 17 10:08:37 2019

Global Enqueue Services Deadlock detected. More info in file

alert_orcl1.log 这里面看到有死锁

 into T_STK_INVENTORY IT 

USING (SELECT TIR.FCONVERTNUMERATOR FCONVERTNUMERATOR, TIR.FCONVERTDENOMINATOR FCONVERTDENOMINATOR,

            TIR.FID FROM (SELECT DISTINCT TIV.FMATERIALID, TIV.FBASEUNITID, TIV.FSTOCKUNITID, TIV.FID, NVL(TM.FMAS

TERID, 0) FMASTERID, CAST(CASE  WHEN T4.FUNITGROUPID = T6.FUNITGROUPID THEN (CAST((BD1.FCONVERTNUMERATOR * BD2.FCO

NVERTDENOMINATOR) AS NUMBER(23, 10)) / CAST((BD1.FCONVERTDENOMINATOR * BD2.FCONVERTNUMERATOR) AS NUMBER(23, 10))) 

ELSE NVL((CAST((CAST((CAST((BD1.FCONVERTNUMERATOR * T8.FCONVERTNUMERATOR) AS NUMBER(23, 10)) * BD2.FCONVERTDENOMIN

ATOR) AS NUMBER(23, 10)) * T9.FCONVERTDENOMINATOR) AS NUMBER(23, 10)) / CAST((CAST((CAST((BD1.FCONVERTDENOMINATOR 

* T8.FCONVERTDENOMINATOR) AS NUMBER(23, 10)) * BD2.FCONVERTNUMERATOR) AS NUMBER(23, 10)) * T9

是因为这条引起的吗

专家解答

死锁从trace文件中直接就可以看到相关SQL。直接搜current SQL关键字

「喜欢文章,快来给作者赞赏墨值吧」

评论

0
0
Oracle
订阅
欢迎订阅Oracle频道,订阅之后可以获取最新资讯和更新通知。
墨值排行
今日本周综合
近期活动
全部
相关课程
全部