I'm building an application that will receive data from several different ERPs every day.
But I have the following problem, the next day the ERP can send me the same data that did or did not change + some new data. And I need to insert these new data and update the others if there is any change, and delete old data that will no longer be used.
There are about 15,000 records per day of each company, and I intend this application to be used by + - about 200 companies on average.
Thinking about it, when I receive this information daily, I'd better check it one by one to see if it had any changes and if so, update them (select + update).
Or every day I delete all the information and insert again (delete + insert).
What is the fastest way to handle great information every day? If anyone has a similar experience and knows of a different solution, I am also interested.
Thank you!