Welcome Guest, Not a member yet? Register   Sign In
Large Data Import
#1

[eluser]Unknown[/eluser]
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?

Thanks!
#2

[eluser]n0xie[/eluser]
Maybe this will help?

http://dev.mysql.com/tech-resources/arti...-importing




Theme © iAndrew 2016 - Forum software by © MyBB