DELETEs are difficult | boringSQL
Your database is ticking along nicely - until a simple DELETE brings it to its
knees. What went wrong? While we tend to focus on optimizing SELECT and INSERT
operations, we often overlook the hidden complexities of DELETE. Yet, removing
unnecessary data is just as critical. Outdated or irrelevant data can bloat your
database, degrade performance, and make maintenance a nightmare. Worse,
retaining some types of data without valid justification might even lead to
compliance issues.
At first glance...
Read more at notso.boringsql.com