Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

what happend with out using Commit,when closing cursor and
program?

Answer Posted / vish

True that we should Explicitly COMMIT the data instead of
depending on auto comit. But COMMITing after every
insert/update of data is not a very good option. Explicit
COMMIT incurs an overhead and makes the processing slow. So
if we are inserting/updating a large number of data into
table, COMMIT after every such update will make the Job
very slow, which in most of the cases, is not preferrable
for production Jobs. In fact, the COMMIT frequency should
be chosen very carefully for every program (please note we
should not have a common COMMIT frequncy for all the
programs as the data being proceesed by different programs
will be different and hence their importance & time to re-
process them also differs) keeping in mind that neither the
performance should be degraded nor the data should be lost.
Suggesstions are Welcome!!

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between using bind () and rebind () methods of naming class?

1387


what is diffrence b/w file-aid tool and file-aid utility???

4886


What is buffer pool in the db2 database?

1086


How do I import a csv file into db2?

979


How to view db2 table structure?

1011


Can there be more than one cursor open for any program?

1161


How to get the ddl of a table in db2?

1125


What is the reason behind not using select * in embedded sql programs?

1099


What is the difference between "db2ilist" and "db2 get instance" commands in DB2 Database Server?

1266


What is the cobol picture clause of the db2 data types date, time, timestamp?

1052


What do you mean by cursor?

988


Explain correlated sub-queries.

1025


What is a cursor in programming?

1058


How can you find out the # of rows updated after an update statement?

1105


What is the usage of open cursor command?

1095