Bad data design leads to poor performances: from 105 minutes to 17 seconds

I requested permission to share anonymized queries and execution plans from this case, but the client declined. So, I’ll be providing only…