Friday, January 19, 2024

 How To Identify Sessions Which Cause PL/SQL LOCK TIMER Wait Event:


SELECT vs.sid,vs.sql_id, vs.inst_id,vs.osuser,vw.event,vw.p1,vw.p2,vw.p3 ,vt.sql_text , vs.program FROM gv$session_wait vw, gv$sqltext vt , gv$session vs

WHERE vw.event = 'PL/SQL lock timer'

AND vt.address=vs.sql_address

AND vs.inst_id = vw.inst_id

AND vs.sid = vw.sid;






No comments:

Post a Comment

OCI Operations Insights: Stop Paying for Capacity You Don't Use: Right-Size Your Exadata with OCI Ops Insights

For many enterprises, Oracle Exadata represents one of the largest and most strategic infrastructure investments in their data center portfo...