Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: SSX lock
The SSX (mode 5) lock can also appear with the PK/FK problem if the session that is updating the PK has previous updated the child table. The steps are:
update child table
I would guess that in your experiments you only did the update on parent.
-- Jonathan Lewis http://www.jlcomp.demon.co.uk Now running 3-day intensive seminars http://www.jlcomp.demon.co.uk/seminar.html Host to The Co-Operative Oracle Users' FAQ http://www.jlcomp.demon.co.uk/faq/ind_faq.html Author of: Practical Oracle 8i: Building Efficient Databases Stephan Bressler wrote in message ...Received on Wed Jan 16 2002 - 07:30:40 CST
>Hi,
>
>I've got a locking problem on 8.1.7.
>
>v$locks shows 1 session holding a lock (type 5) on table a while some other
>sessions are requesting locks(type 3) on table a.
>
>What causes type 5 (SSX) locks (beside 'lock table in share row exclusiv
>mode' statements)?
>
>Some describe problems with missing foreign key indexes. But my experiments
>show locks type 4 (shared table lock) on the child tables.
>
>TIA
>Stephan
>
>
![]() |
![]() |