sp_BlitzCache - Expensive Sort Warning probably won't work (WILL WORK!)
The expensive warnings work for Key Lookups and Remote Queries because they're the final operator in a subtree. For sorts, they can happen anywhere in a plan, so even if their cost is 0, if the underlying branch of the plan has a high EstimatedSubtreeCost, the Sort gets called out as being expensive even if it isn't. I can't think of a way around this, so I'm likely just going to pull this part out. Bummer.
Sad face.
I was a dumb dummy and I did this dumbly.
I was relying on subtree cost, which made sense for end-of-the-line operators, when I could have just used the CPU + IO cost information that makes up per-operator cost.


Heck yeah


Glad I didn't delete the landing page from last time!