I have a program in c# that Insert 4,500,000 record into sql using ExecuteNoneQuery
and take too long to insert
I need a fast way to insert that take maximum about 10 minutes however when I insert 4,500,000 record from another table to my table via management studio it take 3 minutes
I have a program in c# that Insert 4,500,000 record into sql using ExecuteNoneQuery
Share
The
SqlBulkCopyclass is designed for fast insertion of large sets of data.However, you need to understand that with that kind of size, disk access speed and network latency/bandwidth/saturation come into play.
Your example of populating one table from another is not valid in such a scenario as you are copying on the same machine.