CodeIgniter Forums
Large Data Import - Printable Version

+- CodeIgniter Forums (
+-- Forum: Archived Discussions (
+--- Forum: Archived Development & Programming (
+--- Thread: Large Data Import (/showthread.php?tid=33561)

Large Data Import - El Forum - 08-31-2010

Hey Guys,
I am working on a script that needs to loop through a 1GB XML file and import about 9 million records into a mySQL database. I'm using XML Reader to get through the file and CI gets through it at a good pace, I know my bottleneck is with the SQL inserts and queries. Does anyone have any PHP advice to speed up the script? Is CI a bad idea in this case, should I just be using straight PHP?


Large Data Import - El Forum - 08-31-2010

Maybe this will help?