Database Tuning (MOSC)

MOSC Banner

enq: TX - row lock contention and UPDATE

edited Jul 6, 2009 6:04AM in Database Tuning (MOSC) 6 commentsAnswered
 Hi,
We have an application and in AWR we see the next wait event:

Event

Waits

Time(s)

Avg Wait(ms)

% Total Call Time

Wait Class

enq: TX - row lock contention

38341

16907

441

65.6

Application


The transaction generates this wait event is the next one:

update seg_usuarios set num_intentos=:1 where username=:2

It runs 41 times in the AWR, but each user of application executes this update with his username, then we don´t understand why this sentence can locks and produce a lot of waits.

Can you explain us?

Thanks.
Laura.


Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center