1

My AWR report shows the following :

Event                        Waits  Total Wait Time(s) 
enq: TX - row lock contention 30       10,694         

Does 10,694 represents clock time ?

Or does it represents total time spent by all sessions which were monitored during the period AWR was generated ?

oradbanj
  • 551
  • 7
  • 23

3 Answers3

1

It's the latter; time spent by all sessions which were monitored during the snapshot.

BobC
  • 4,208
  • 1
  • 12
  • 15
0

It is the total suffered time of all the sessions which was suffered due to "TX-row lock contention".

0

you have see wait stats is showing

enter image description here

see what queries are running on server.

enter image description here

check blocking by :- select blocking_session, sid, serial#, wait_class, seconds_in_wait from v$session where blocking_session is not NULL order by blocking_session;

SQL currently is waiting :- select sid, sql_text from v$session s, v$sql q where sid in (select sid from v$session where state in (‘WAITING’) and wait_class != ‘Idle’ and event=’enq: TX – row lock contention’ and (q.sql_id = s.sql_id or q.sql_id = s.prev_sql_id));

Vishe
  • 3,383
  • 1
  • 24
  • 23