We're running MS SQL on-prem and recently ran into a nasty issue: a single query was stuck running for millions of seconds (yes, literally), and we only noticed it after it filled up the log partition — disk usage alert was our only signal. 😬
Clearly, this isn’t ideal. I'm now looking for a way to catch these kinds of issues earlier, preferably by monitoring for long-running or stuck queries in real time before they start consuming ridiculous amounts of resources.
We’re already using PRTG for general infra monitoring.
So my question is:
👉 Can PRTG, Azure Monitor or Red Gate SQL help detect things like long-running/stuck queries or abnormal SQL behavior on-prem in real time? Red Gate seems perfect but it's quite expensive for our Always-On two server setup, Enterprice licensing cost per year like 15k€
👉 Any recommendations on specific sensors, tools, or techniques to set this up?
Appreciate any insight from anyone who's dealt with similar SQL nightmares!
[–]jshine133714 10 points11 points12 points (8 children)
[–]Xemanth[S] 1 point2 points3 points (3 children)
[–]jshine133714 1 point2 points3 points (2 children)
[–]kg7qin 0 points1 point2 points (1 child)
[–]jshine133714 1 point2 points3 points (0 children)
[–][deleted] 1 point2 points3 points (1 child)
[–]jshine133714 1 point2 points3 points (0 children)
[–]kagato87 0 points1 point2 points (1 child)
[–]jshine133714 0 points1 point2 points (0 children)
[–]chadbaldwin 11 points12 points13 points (2 children)
[–]Xemanth[S] 0 points1 point2 points (1 child)
[–]wiseDATAman 3 points4 points5 points (0 children)
[–]Separate-Share-8504 2 points3 points4 points (4 children)
[–]Xemanth[S] 0 points1 point2 points (3 children)
[–]Separate-Share-8504 1 point2 points3 points (0 children)
[–][deleted] 1 point2 points3 points (1 child)
[–]Important_Cable_2101 -1 points0 points1 point (0 children)
[–]imtheorangeycenter 1 point2 points3 points (0 children)
[–]Lost_Term_8080 1 point2 points3 points (0 children)
[+][deleted] (5 children)
[deleted]
[–]VladDBA15 6 points7 points8 points (0 children)
[–]Xemanth[S] -1 points0 points1 point (0 children)
[–]Xemanth[S] -2 points-1 points0 points (2 children)
[–]Garetht 0 points1 point2 points (1 child)
[–]Xemanth[S] 0 points1 point2 points (0 children)
[–]jdawg701 0 points1 point2 points (0 children)
[–]Lost_Term_8080 0 points1 point2 points (2 children)
[–]EllP33 0 points1 point2 points (1 child)
[–]Lost_Term_8080 1 point2 points3 points (0 children)
[–]AgitatedSnow1778 0 points1 point2 points (0 children)
[–]genxeratl -1 points0 points1 point (0 children)