Quantcast
Viewing all articles
Browse latest Browse all 15889

Performance issue, compared plans and different plan operator costings

Hi All,

I'm looking at a performance problem, a proc which gets called with some set of date parameters to delete data from a table, on a particular day one takes quite some time whilst the next day it takes a ridiculous amout of time.  I have the execution plan for both, and what I can see is that the plan looks very similar, the only difference is that one has a clustered index delete which has a higher level of percentage compared to the execution plan for the day when it ran fine.

Clustered index delete was 72% of time estimate costings on when it took excessively longer, and the day when it didnt the clustered index delete was only about 10%.

The stats estimate on both of them were not very accurate, so thats not a main difference.

Any ideas here ?


Viewing all articles
Browse latest Browse all 15889

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>