Comments
2 comments
-
Hi @Severn,
What version are you currently using? We have seen this occur where the query start time was being sampled as some time before the process login time on Azure entities and the long-running query was raised as the time difference between the query start time and the login time and this should have been addressed as of 12.1.16.
Normally the query shouldn't be able to start before the process logged in, which is why this is confusing, but it seemed there was some process in Azure that could cause our sampler to go awry. The query isn't actually running long and that is why you are not seeing it before the alert (because it is based on the times sampled rather than it actually running).
If you are on SQL Monitor 12.1.16 or later and are still seeing this then please do let us know otherwise please update and confirm if that also fixes the issue for you.
Kind regards,
Alex -
Hi @Alex B - thanks so much for your reply. I am on 12.1.2.23581 so will update and see if it fixes the issue.
Add comment
Please sign in to leave a comment.
However none of the above show any active sessions greater than a few seconds in duration, nonetheless a couple of hours later we get more alerts. Also not sure if this is a valid test but checked sys.dm_exec_query_stats for the insert query and it's max_elapsed_time since the plan was created a month ago was only 36 seconds.
Sorry if I have missing something but wondered if someone could help me with these questions