Best method to retrieve millions of records using LINQ?
Could you please explain what are the best methods to retrieve millions of recors from sqlserver using linq?
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Ramesh PalanivelRank #372 · 6.8K reputationPosted Apr 23, 2018, 1:19 AM EDT
Sasi RekhaRank #1,362 · 1.2K reputationPosted Apr 23, 2018, 1:26 AM EDT
Ramesh PalanivelRank #372 · 6.8K reputationPosted Apr 23, 2018, 1:37 AM EDT
Sasi RekhaRank #1,362 · 1.2K reputationPosted Apr 23, 2018, 1:40 AM EDT
Ramesh PalanivelRank #372 · 6.8K reputationPosted Apr 23, 2018, 1:44 AM EDT
Sasi RekhaRank #1,362 · 1.2K reputationPosted Apr 23, 2018, 1:46 AM EDT
Ramesh PalanivelRank #372 · 6.8K reputationPosted Apr 23, 2018, 1:55 AM EDT
Shahriar NikkhahRank #248 · 10.1K reputationPosted Apr 23, 2018, 5:46 AM EDT
- Study/understand your source table and manlys it data patern
- Find a field or fields that can play a role of a point in time
- One field example: a field with identity
- Multiple fields example: CreateDate, ModifyDate
- Use that field as an incremental loading process
- save you last record load from the above field for the next load so you won't have to do a reload of millions of record.
Good luck