I have a table with large amount of data. The data need to be updated frequently: delete old data and add new data. I have two options
- whenever there is an deletion event, I delete the entry immediately
- I marked delete the entries and use an cron job to delete at unpeak time.
any efficiency difference between the two options? or any better solution?