working on the PHP project related to web scraping and my aim is to store the data into the mysql database,i'm using unique key index on 3 indexes in 9 columns table and records are more than 5k.
- should i check for unique data at program level like putting values in arrays and then comparing before inserting into database ?
- is there any way so that i can speed up my database insertion ?