Take the 2-minute tour ×
Database Administrators Stack Exchange is a question and answer site for database professionals who wish to improve their database skills and learn from others in the community. It's 100% free, no registration required.

I'm looking through the plan cache, looking for low-hanging optimization fruit and came across this snippet:

enter image description here

Why are many of the costs listed above 100% ? Shouldn't that be impossible?

share|improve this question
I even saw costs of up to 1 mill % from the estimated plan. Just use the real cost, it should be better. –  Marian Apr 10 '13 at 20:52
Because SQL Server's math is messed up. Grab our free Plan Explorer; we don't have this problem. –  Aaron Bertrand Apr 10 '13 at 21:08
I love SQL Sentry Plan Explorer, Aaron - I've been using it for a while now. I want to see what the pro version does! –  Max Vernon Apr 10 '13 at 21:18

1 Answer 1

up vote 7 down vote accepted

The visual cost estimator is crap. This sort of stuff happens all the time. Just go with the highest ones are the most expensive and attack those ones first.

share|improve this answer
Have you ever seen this with previous versions of SQL Server? As far as I'm concerned, I've never noticed it on SS 2008R2 for example. –  KookieMonster Apr 10 '13 at 20:04
I've seen it all the way back to SQL 2000. Far as I know it's just a bug in SSMS (and EM) when it's doing the math to figure out the percentages. –  mrdenny Apr 10 '13 at 20:08
Thanks for the info! –  KookieMonster Apr 10 '13 at 20:10

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.