检查占用资源等待SQL:
SELECT p.START_TIME, s.MACHINE,s.PROGRAM,s.MODULE, s.ACTION, s.AUDSID, s.INST_ID,s.STATUS, w.*
FROM gv$transaction p, gv$session s, v$session_wait w
WHERE p.SES_ADDR = s.SADDR
AND p.INST_ID = s.INST_ID
AND s.SID = w.SID
ORDER BY p.START_TIME