NervousRex
Programmer
Is the time it takes query anylzyer to execute a SP comparable to the time the same SP would be called from an outside application?
My problem is I have an app that calls 4 SPs to load up a report, this report time outs 95% of the time at end of month as more data is entered. (Time outs occuring after 30secs)
Now if I run the SPs in query analyzer, they take less than a combined 30secs.
I ran profiler...the one SP does have a huge hit, as it has multiple joins and such as it totals and sums different values. The read value is around 9mill?
Any ideas of what to test, look for?
My problem is I have an app that calls 4 SPs to load up a report, this report time outs 95% of the time at end of month as more data is entered. (Time outs occuring after 30secs)
Now if I run the SPs in query analyzer, they take less than a combined 30secs.
I ran profiler...the one SP does have a huge hit, as it has multiple joins and such as it totals and sums different values. The read value is around 9mill?
Any ideas of what to test, look for?