Quantcast
Channel: SQL Server Database Engine forum
Viewing all articles
Browse latest Browse all 15264

How to determine why duration of a query varies.

$
0
0
I have a complex SQL query generated by a C# object model layer. Using SQL Profiler I have monitered the database which is only used by this application. For the same query the duration varies between 10 msecs and 1,295 msecs. How can I determine what is blocking the query? The slow performance is occuring randomly and only affects a few queries before returning to normal response times.

Viewing all articles
Browse latest Browse all 15264

Trending Articles



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