Bulk insert [message #353289] |
Mon, 13 October 2008 04:46 |
balaji1482
Messages: 312 Registered: July 2007 Location: INDIA
|
Senior Member |
|
|
Hi all,
Does commit after each insert statement (bulk insert) degrade database performance.If yes how?
Say for example ,i want to do bulk insert of 100 tables to development database from production database.So i have made commit after each insert statement.
Please give me your valuable suggestion.
Thanks & Regards,
Balaji
|
|
|
|
Re: Bulk insert [message #353301 is a reply to message #353296] |
Mon, 13 October 2008 05:09 |
balaji1482
Messages: 312 Registered: July 2007 Location: INDIA
|
Senior Member |
|
|
first of all i want to say thanks for your quick response.
Say for example ,i am doing bulk insert of about 50,000 records and in the middle it got failed due to some external hardware issue.At this point only 20,000 records were inserted.how to solve the issue at this stage?
i cant keep rollback all (20,0000..)uncommited records everytime.
I think commit after each insert should be the better option for this issue.
Please correct me if i am wrong.
Regards,
Balaji
[Updated on: Mon, 13 October 2008 05:13] Report message to a moderator
|
|
|
|
|