Click here to Skip to main content
15,891,828 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hello,
I have an application which will insert records from files to database tables.The data size is around 50 to 60 gb(size may vary) ,so when i am transfering this records from files to database tables it will take 5 to 6 days for processing data.I am trying to optimize this process.

What are the best method to optimize this process of transfering large amount of data into databse tables.

I am using vs2010 and sql server 2008.
Posted

Use BULK INSERT see here for an example : http://www.sqlteam.com/article/using-bulk-insert-to-load-a-text-file[^]
 
Share this answer
 
Comments
Maciej Los 24-Nov-11 11:20am    
Good answer and link. My 5!
Mehdi Gholam 24-Nov-11 11:25am    
Cheers
thatraja 24-Nov-11 12:11pm    
Right 5!
Mehdi Gholam 24-Nov-11 12:17pm    
Thanks
 
Share this answer
 
Comments
Maciej Los 24-Nov-11 11:20am    
Good links. My 5!
Mehdi Gholam 24-Nov-11 12:17pm    
5'ed

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900