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

How do you troubleshoot a slow running query?

$
0
0

Hi guys, I got asked a question in an interview.  They asked me, if one of your users came to you and told you that a query that use to run 2 seconds, now takes a few minutes to run, how would you go about troubleshooting the query?

Part of my answer was to grab the query, check the activity monitor, check for locks, and then run it through dta.  I don't know, what do you guys think?


Viewing all articles
Browse latest Browse all 15264

Trending Articles



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