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)



Is there any problem if we use commit repeatedly after each dml statement in a plsq procedure ? (e..

Answer / 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

More SQL PLSQL Interview Questions

What are the new features in Oracle 10g. Compared to Oracle 9i?

1 Answers   Polaris,


Explain what is dbms?

0 Answers  


What do you mean by stored procedures?

0 Answers  


What are the PL/SQL Statements used in cursor processing ?

4 Answers  


What is sql integrity?

0 Answers  






What is a trigger word?

0 Answers  


Where can I learn sql for free?

0 Answers  


What are transaction and its controls?

0 Answers  


Explain the components of sql?

0 Answers  


How do I copy a table in sql?

0 Answers  


what is timestamp in mysql? : Sql dba

0 Answers  


What is the difference between sql and isql*plus?

0 Answers  


Categories