Hi All, can some one please through a best approach to go ahead for below problem:
We have a requirement to insert huge number of records in batches. In case if one record fails, the application should continue with remaining records with out rollback remaining records.
We are using commit only end of all the records and even not able to trace which record get failed in batch approach.
I would still consider batches within a transaction, but cut into smaller batches so that you can manage each batch as a transaction so that failures can be managed individually
more or less... [fixed nested block] [ September 22, 2008: Message edited by: David O'Meara ]
I'm not sure what X should be, but if you have few bad records then it can be large (a thousand or more), otherwise you'll need to make it smaller or incur the wrath of individual inserts.
sammaiah kyatham
Ranch Hand
Joined: Aug 03, 2003
Posts: 102
posted
0
Hi, Thanks for the response. The data volume is really high, like 6months past history of customers... It could be more than 1 crore records in real environment...
It would be great if any one could through a best approach...