logic - Update database best approach -


i have database contain scrapped content (a huge amount of data) . database updated daily . i'm wonder best approach update db .

1) data db backend , compare new scrapped articles list , if it's new article , add list , , after completing comparaison phase , add new articles db .

2) each article in scrapped list , search in db , if doesn't exist add db.

thank


Comments

Popular posts from this blog

php - Vagrant up error - Uncaught Reflection Exception: Class DOMDocument does not exist -

vue.js - Create hooks for automated testing -

Add new key value to json node in java -