WebMar 8, 2024 · Current activity via sp_WhoIsActive. I also use sp_WhoIsActive to look at current activity. On servers I’ve supported in the past, I have it logging to a table every 30-60 seconds and retaining the data for a few days so I can go back in time. I’ll query the WhoIsActive table in that case. If you don’t have that in place, run sp_WhoIsActive. WebBrent Ozar. I make Microsoft SQL Server faster and I write a lot about it. I love pushing SQL Server past the speed limit and showing other people how to drive it faster. I enjoy …
T-SQL Archives - Brent Ozar Unlimited®
WebRun Adam Machanic's excellent sp_WhoIsActive stored proc while your query is running. It'll give you the wait information - meaning, what the stored proc is waiting on - plus things like the execution plan: ... Of course, it's possible to modify code from Brent Ozar answer so it would select a full query text, too, though. Nearly same technique ... WebApr 30, 2024 · Brent Ozar. 42.4k 46 46 gold badges 206 206 silver badges 363 363 bronze badges. asked Apr 30, 2024 at 21:15. kevinnwhat kevinnwhat. ... sp_WhoIsActive @get_locks = 1; If you think that's your biggest problem, though, it's probably time to check in with users and ask them about their biggest database complaints. I think you're … cannabis praxis berlin
How to Tell if You Need More Tempdb Files - Brent Ozar …
WebApr 8, 2024 · Brent Ozar Amazon Web Services (AWS), PostgreSQL 12 You, dear reader, are most likely a Microsoft SQL Server user – either a DBA or developer. Set your pencil down for a second because you’re not going to learn about a Microsoft product today, nor are you going to learn something that is going to be immediately useful to you in your job. WebSep 28, 2024 · The Brent Ozar Unlimited® blog covers SQL server news and free SQL Server training tips about clustering, AlwaysOn, performance tuning, T-SQL, and more. ... The easiest way to get a quick idea what’s happening is to use sp_WhoIsActive (Github – releases) repeatedly with no pauses in between: WebNov 28, 2024 · Adam Machanic’s excellent free sp_WhoIsActive replaces Activity Monitor, sp_who, and sp_who2, and it’s way more powerful. The … fix itv hub