Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: 9i Referential Integrity Locking
It depends on the front-end tools.
Some application generators (including Oracle*FORMS, up to 4.5, and then you have to set the switch) will perform an update by updating every single column on the table.
So you may not think you are updating the primary key, but the application code is doing it for you, and even a 'update with changing the value' causes the PK/FK lock to take place.
-- Jonathan Lewis http://www.jlcomp.demon.co.uk Next Seminar - UK, April 3rd - 5th 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 Paul Brewer wrote in message <3cae1606_1_at_mk-nntp-1.news.uk.worldonline.com>...Received on Sat Apr 06 2002 - 05:16:00 CST
>
>As ever, the advice from Thomas and Howard is excellent.
>Slight digression though:
>In a well designed system, how often does DML on primary keys occur?
>(Note: I'm *not* suggesting that it is unnecessary to index FK columns).
>
![]() |
![]() |