I have a csv file more than one lakhs ( 100,000 ) records. when I'm using these file for inserting records into my database it will be take more than half an hour. Is there any other way increase the efficiency and speed for these process or any frameworks are available?
3
-
How often do you have to add these records, and how are you currently doing it?Tim Biegeleisen– Tim Biegeleisen2015-10-30 07:24:38 +00:00Commented Oct 30, 2015 at 7:24
-
how are you trying to insert using the csv? If you are using phpmyadmin you can import a csv into a table, and it wouldn't take more than 30 seconds.ambe5960– ambe59602015-10-30 07:26:34 +00:00Commented Oct 30, 2015 at 7:26
-
Add some more info. Are you inserting the csv data like firstname and lastname into the database like firstname='firstname', lastname='lastname'?Wim Pruiksma– Wim Pruiksma2015-10-30 07:27:02 +00:00Commented Oct 30, 2015 at 7:27
Add a comment
|