How do you use cloud databases? Take the survey.
Viewing All Process for a TimeSlice

in SQL Monitor
I see that we can see top 10 or such on processes but how does one see an offending process for a time slice that is registered in the errorlog. Here is the concept
1) Errorlog notice of a "Exhaustion"
2020-08-24 10:12:30.560 spid318 The query processor ran out of internal resources and could not produce a query plan. This is a rare event and only expected for extremely complex queries or queries that reference a very large number of tables or partitions. Please simplify the query. If you believe you have received this message in error, contact Customer Support Services for more information.
2) Shows SPID 318 as the offender
How do I see what the query for that SPID was that threw that error so I can debug it down
1) Errorlog notice of a "Exhaustion"
2020-08-24 10:12:30.560 spid318 The query processor ran out of internal resources and could not produce a query plan. This is a rare event and only expected for extremely complex queries or queries that reference a very large number of tables or partitions. Please simplify the query. If you believe you have received this message in error, contact Customer Support Services for more information.
2) Shows SPID 318 as the offender
How do I see what the query for that SPID was that threw that error so I can debug it down
Tagged:
Best Answer
-
squigley Posts: 221 Gold 1
Good Afternoon!Thanks for your inquiry with SQL Monitor.Unfortunately such a feature doesn't exist within SQL Monitor at the moment, I apologize for the inconvenience that this brings.I would highly recommend up voting this user-voice request so that the developers can see the demand for such a feature: https://sqlmonitor.uservoice.com/forums/91743-suggestions/suggestions/35803951-search-for-spid-for-specific-date-and-timePlease let me know if you have any other questions or concerns.Thanks!
Answers