SELECT * FROM V$LOCK;
SELECT * FROM dba_blockers;
SELECT * FROM dba_locks;
SELECT * FROM dba_waiters;
SELECT * FROM V$SQLTEXT WHERE ADDRESS IN (SELECT SQL_ADDRESS FROM V$SESSION WHERE SID IN (SELECT HOLDING_SESSION FROM dba_blockers));
SELECT * FROM V$SESSION WHERE SID IN (SELECT HOLDING_SESSION FROM dba_blockers);
SELECT * FROM V$SQLTEXT WHERE SQL_ID = '21hy5qgd56a6g';
SELECT * FROM V$SESSION WHERE SID = 152;
Table Lock
Posted by
Michael Nitschke
on Monday, 3 June 2013
Some useful tables when something somewhere has a table locked:
0 comments:
Post a Comment