I have a CSV file that I am trying to load into my mysql database. The file is >10MB and has over 100,000 rows. I need an efficent way to check if a row is already in the database or not, and add new entries. It is for updating the database with the most current data from another, third party database.
It seems really inefficient to check line by line and add line by line. Also, if it helps, the CSV file has a date field.