Reputation: 14317
there are few Flat Files which contains about 63k records(rows). for such files, my program is taking about 6 hours for one file of 63k records to complete.
This is a test data file. In production i have to deal with 100 time more load.
I am worried, if i can do this any better to speed up.
Can any one suggest a best way to handle this job?
Work Flow is as below:
File.ReadAllLines("location")
Purpose of making this as console application is, this application should be run(scheduled application) on weekly basis and there is conditional logic in it, based on some variable there will be
Upvotes: 1
Views: 2210
Reputation: 986
You can try to use 'bulk insert' operation for inserting a huge data into database.
Upvotes: 0