Is there any problem if we use commit repeatedly after each
dml statement in a plsq procedure ? (eg. there are 10 update
stmt and using 10 commit stmt after each update stmt)

Answer Posted / kiran iyer

Commiting a record frequently will effect the performance as
oracle internally would wait for the transaction to get
commited and then flush the RBS and then would go ahead and
read the Next Record. Hence it is not a good Practice to
commit records frequently. Records should be commited in a
batch.

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which is faster subquery or join?

862


What operating systems are supported by oracle sql developer?

722


What are different clauses used in sql?

829


Does truncate need commit?

704


what are the different type of normalization? : Sql dba

771


What are the different dml commands in sql?

778


what are the limitations of identity column? : Transact sql

836


how can we submit a form without a submit button? : Sql dba

736


What is the life of an sql statement?

732


What is sqlca in db2?

710


How bulk collect improves performance?

750


how is myisam table stored? : Sql dba

789


Can we create view in stored procedure?

701


How do you use collections in procedure to return the resultset?

2013


What are character functions in sql?

679