Click here to Skip to main content
15,891,184 members
Home / Discussions / C#
   

C#

 
AnswerRe: Reading and filtering 20 m records Pin
Mycroft Holmes28-Oct-13 20:40
professionalMycroft Holmes28-Oct-13 20:40 
GeneralRe: Reading and filtering 20 m records Pin
nitin_ion28-Oct-13 22:01
nitin_ion28-Oct-13 22:01 
GeneralRe: Reading and filtering 20 m records Pin
Mycroft Holmes28-Oct-13 22:24
professionalMycroft Holmes28-Oct-13 22:24 
GeneralRe: Reading and filtering 20 m records Pin
nitin_ion28-Oct-13 23:02
nitin_ion28-Oct-13 23:02 
GeneralRe: Reading and filtering 20 m records Pin
Mycroft Holmes29-Oct-13 2:03
professionalMycroft Holmes29-Oct-13 2:03 
GeneralRe: Reading and filtering 20 m records Pin
nitin_ion29-Oct-13 18:29
nitin_ion29-Oct-13 18:29 
GeneralRe: Reading and filtering 20 m records Pin
Mycroft Holmes29-Oct-13 19:54
professionalMycroft Holmes29-Oct-13 19:54 
AnswerRe: Reading and filtering 20 m records Pin
V.29-Oct-13 0:46
professionalV.29-Oct-13 0:46 
I agree with Mycroft. Write an import module of some sort that inserts the data from the CSV into the database.
If it is a possibility remove the succesfully imported rows from CSV afterwards (in case of updates later on). Then perform the magic through SQL queries instead.

I do something similar with 1.8 million to 8 million records in a file that is inserted in a table now counting >2x107 rows. For this the memory of the object I use to hold the data is too large for the java framework I use (don't ask Sigh | :sigh: ) you need to read in the file and start inserting while you go. I usually do that in batch (1000 inserts at once) instead of reading it in at once or sending to the database one by one.

Hope this helps.

GeneralRe: Reading and filtering 20 m records Pin
Mycroft Holmes29-Oct-13 2:05
professionalMycroft Holmes29-Oct-13 2:05 
QuestionAutoMapper Error - Missing type map configuration or unsupported mapping Pin
Kevin Marois28-Oct-13 15:26
professionalKevin Marois28-Oct-13 15:26 
AnswerRe: AutoMapper Error - Missing type map configuration or unsupported mapping Pin
CodeBlack29-Oct-13 3:14
professionalCodeBlack29-Oct-13 3:14 
QuestionAccessing users folder. Pin
elficodegeek28-Oct-13 13:00
elficodegeek28-Oct-13 13:00 
AnswerRe: Accessing users folder. Pin
Richard Andrew x6428-Oct-13 13:07
professionalRichard Andrew x6428-Oct-13 13:07 
GeneralRe: Accessing users folder. Pin
elficodegeek30-Oct-13 13:10
elficodegeek30-Oct-13 13:10 
AnswerRe: Accessing users folder. Pin
Bernhard Hiller29-Oct-13 21:49
Bernhard Hiller29-Oct-13 21:49 
GeneralRe: Accessing users folder. Pin
elficodegeek30-Oct-13 13:01
elficodegeek30-Oct-13 13:01 
GeneralRe: Accessing users folder. Pin
Bernhard Hiller30-Oct-13 22:19
Bernhard Hiller30-Oct-13 22:19 
GeneralRe: Accessing users folder. Pin
elficodegeek1-Nov-13 13:06
elficodegeek1-Nov-13 13:06 
QuestionWebBrowser - Fetching HTML code from developer tool Pin
AshwiniSH28-Oct-13 2:16
professionalAshwiniSH28-Oct-13 2:16 
AnswerRe: WebBrowser - Fetching HTML code from developer tool Pin
Dave Kreskowiak28-Oct-13 3:12
mveDave Kreskowiak28-Oct-13 3:12 
GeneralRe: WebBrowser - Fetching HTML code from developer tool Pin
AshwiniSH28-Oct-13 4:08
professionalAshwiniSH28-Oct-13 4:08 
GeneralRe: WebBrowser - Fetching HTML code from developer tool Pin
Dave Kreskowiak28-Oct-13 7:03
mveDave Kreskowiak28-Oct-13 7:03 
GeneralRe: WebBrowser - Fetching HTML code from developer tool Pin
AshwiniSH28-Oct-13 19:42
professionalAshwiniSH28-Oct-13 19:42 
GeneralRe: WebBrowser - Fetching HTML code from developer tool Pin
Richard MacCutchan28-Oct-13 22:44
mveRichard MacCutchan28-Oct-13 22:44 
GeneralRe: WebBrowser - Fetching HTML code from developer tool Pin
AshwiniSH28-Oct-13 23:11
professionalAshwiniSH28-Oct-13 23:11 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.