title: Upload large CSV file approx 10,000,000 records in mysql table also it contain duplicate rows
body: <p>I want to upload a large csv file approx 10,000,000 records in mysql table which also contain same or more no. of records and also some duplicate records.
  I tried Local data infile but it is also taking more time.
  How can I resolve this without waiting for a long time.
  If it can't be resolved then how can I do it with AJAX to send some records and process it at a time and will do it till the whole csv get uploaded/proccessed.</p>