Skip to content

Tag: csv-import

Import CSV data using Laravel

I’m trying to walk through as CSV file and extract all its contents. After the contents are imported I need to insert them into my mysql database table but before I can do that I need to check if these records exist. If a record does not, import this register. I’ve got headers and all content and I had created

How can I improve CSV import faster in Symfony?

I have to import CSV file of around 20,000 rows. This CSV is read from FTP Server which will update every 30 minutes. But the code I have written is already taking more than 45 mintues to import. This is very slow. Can anybody please help me. I am thinking of persist the data every based on the batchSize =