We have severe lock contention in one of our tables when it is being updated. I suspect contention for a specific row in the database. Is there anyway i can detect this hot block?
Thanks in advance,
This script will report the SQL text of some of the locks currently being held in the database:
set pagesize 60
set linesize 132
select s.username username,
from v$sqltext t,
and s.sid = a.sid
and a.owner != 'SYS'
and upper(substr(a.object,1,2)) != 'V$'
OCP DBA (8,8i,9i)
"Let's document it and call it a feature."
Click Here to Expand Forum to Full Width