See if developers use "SELECT * FROM..." in their query-s that they pass.
Make them use named fields "SELECT ID,Name, [blabla all fields just like
with * ] FROM..." and see what happens with and without "SET arithabort OFF
". Name resolving can be an issue.
Anyway arithabort handleing is good thing to do.
"Thomas R. Hummel" <tom_hummel@hotmail.comwrote in message
news:7dd3f6ce-ea03-46ad-a7e8-dce2f4e46a43@e1g2000pra.googlegroups.com...
On Nov 17, 3:43 pm, "Thomas R. Hummel" <tom_hum...@hotmail.comwrote:
Quote:
We are using SQL Server 2005. The SP in question is a fairly simple
select statement. When the developers run their unit tests it is
timing out (15 second timeout is set from their end). When I run the
SP in a query window using the exact same parameters it takes less
than a second to run. I've run profiler and turned up nothing there,
including deadlocks. The SP does show as having a duration of 15
seconds though. I've also run the blocking monitor as described on
Microsoft's site (http://support.microsoft.com/kb/271509) and I don't
see any blocking issues. I've also monitored CPU and IO access times
through the performance monitor on the server and everything looked
clear.
>
Is there something obvious that I should be checking? I'm at a loss
(and a bit rusty in my performance monitoring).
|
Looks like I've found the answer to my own question, at least
partially. SET arithabort OFF is coming from the application
connection and when I set that in my Management Studio I see the same
slowness. Now to find out why that's the case...
-Tom.