Sunday, June 1, 2014

Table locking because of open form

In Oracle form created master detail blocks with master block on a view based on master table.
When form is opened in any session, table is getting locked and not able to perform DML from any other session or database on other records.

http://www.orafaq.com/forum/t/141137/2/ 
https://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:292016138754 

Solution is to create an index on child table for foreign key column 

CREATE INDEX emp_idx1 ON emp(deptno)

No comments: