locked mode is set at six and locked for a long time

Hi good moring.i have a problem, can you help me, thanks

Oracle 10 g windows 2003 Server

I found a lock, lock mode is set at six, it makes me surprised, he blocked for several hours.

and I get the sql code:

updating seg$ set type #=: 4, blocks =: 5, extensions =: 6, minexts =: 7, maxexts =: extsize 8, =: extpct 9, =: 10, user #=: 11, iniexts =: 12, lists = decode (: 13, 65535, NULL,: 13), groups = decode (: 14, 65535, NULL,: 14), = cachehint: 15, hwmincr =: 16, spare1 = DECODE (: 17, 0, NULL,: 17), scanhint =: where the 18 ts #=: 1 and folder number =: 2 and block #=: 3

can you tell me what caused it and how to fix?  I think that mode 6 locking is very...

Thank you.

Select sid, serial #, sql_id, last_call_et, situation, event, State, seq #, seconds_in_wait, p1, p1text

session $ v

where sid = 121

Run the query several times and see the EVENT, STATE, SECONDS_IN_WAIT, P1 and P1TEXT

SECONDS_IN_WAIT would show how long the session waiting for the current wait event.

EVENT is the event of waiting.

Is that it is pending or WAITED last (on the previous wait - that would be the EVENT)

SEQ # would be incremented for each new expectation.

Hemant K Collette

Tags: Database

Similar Questions

Maybe you are looking for