PHP developer and Laravel enthousiast at https://spatie.be, blogging at https://murze.be
Improving the speed of a MySQL import
A few weeks ago Gabriela D’Ávila helped a famous guy with getting an MySQL import down from 16 to 6 minutes. In a post on her blog she explains how that was done.
A few weeks ago my friend Frank de Jonge told me he managed to improve an import into a MySQL server down from more than 10 hours to 16 minutes. According to him it had something to do with one of the field types (too long fields to really small data) and the amount of indexes and constraints in the tables. We were talking about 1 million records here. He wondered if it was possible to make it even faster.
Turns out there are many ways of importing data into a database, it all depends where are you getting the data from and where you want to put it.
Never miss a story from Freek Van der Herten, when you sign up for Medium. Learn more