我们在调试X3访问数据库的性能时发现有一句sql效率比较低。不知道是做什么操作的。能说明一下吗?谢谢!
sql如下,
UPDATE x301.TTASKMESSAGE T
SET FSTATE = :"SYS_B_0", FRECEIVETIME = SYSDATE, FFINISHTIME = SYSDATE
WHERE EXISTS (SELECT NULL
FROM x301.TTASK A, x301.TFLOWID B, X304.TPURPOSE C
WHERE T.FTASKGUID = A.FGUID
AND A.FFLOWGUID = B.FFLOWGUID
AND A.FPROCUNITID = :"SYS_B_1"
AND C.FFLOWID = B.FID
AND C.FID = :"SYS_B_2") |