
Signature
Andrew J. Kelly SQL MVP
Solid Quality Mentors
Proc was re-run with the same parameters.
In order to grab the parameters, I have a trace running in the background
capturing all high read operations.
This allows me to re-run after the fact with the same parameters.
In order to verify that changing data in the database did not affect the
resulting data, I did a point in time restore to an offline server, re-ran
the proc there - got the same execution plan as was captured when the high
read event occured, but with very few reads (on order of 300)
Further thoughts?
> Are you using the same parameters as the one that did all the reads? If the
> plan is using index seeks and the normal parameter values are such that it
[quoted text clipped - 54 lines]
> >> >
> >> > Any suggestions on further steps I can take to investigate this?
Andrew J. Kelly - 26 Mar 2008 00:37 GMT
That sounds fishy. Are you positive the two plans are 100% identical even
though one had lots of reads and the other didn't? And are you sure the
number of rows was the same? What did the plan look like? I mean was it
nested loops, merge etc. and how many steps in the tree?
Did you capture the showplan along with the proc execution in the trace? If
not that is the only way to be sure which plan was used for that exact
execution.

Signature
Andrew J. Kelly SQL MVP
Solid Quality Mentors
> Proc was re-run with the same parameters.
> In order to grab the parameters, I have a trace running in the background
[quoted text clipped - 82 lines]
>> >> >
>> >> > Any suggestions on further steps I can take to investigate this?