Scarydba.com

Extended Events, the system_health Session, and Waits

On your servers, any of them that are SQL Server 2008 or newer, right now, unless you’ve performed actions to prevent this, you’re running the ExtendedSee more

Actived: 8 days ago

URL: https://www.scarydba.com/2018/06/04/extended-events-the-system_health-session-and-waits/

Extended Events: system_health and a Long Running Query

WEBThe system_health Extended Events session is very well documented by Microsoft here. I’ve talked about it before, in relation to Azure SQL Database, and, on …

Category:  Health Go Health

Which Query Used the Most CPU

WEBThe first time, ascending. The second time, descending. Ta-da, the query that used the most CPU was a batch consisting of several queries: That actually doesn’t …

Category:  Health Go Health

system_health Extended Events in Azure SQL Database

WEBThis is because the implementation of Extended Events inside Azure SQL Database is a little different. Instead, you need to use the Azure SQL Database …

Category:  Health Go Health

Jobs That Beat The Caring Out Of You

WEBSounds like an example of most government departments in Australia (Queensland) where the vendor ships a product that will only operate on a version of …

Category:  Health Go Health

Extended Events: Queries and Waits

WEBYou all capture query metrics using some method. Most of us query sys.dm_os_wait_stats or sys.dm_db_wait_stats. Combining them is hard. You could …

Category:  Health Go Health

Extended Events and Stored Procedure Parameter Values

WEBHere are the three methods I know to capture just the completion metrics on stored procedure calls: rpc_completed. sql_batch_completed. module_end. The first, …

Category:  Health Go Health

Extended Events for Anything But Query Tuning: …

WEBOne of my favorite little bits of information about Extended Events is the fact that everyone running a full instance of SQL Server has deadlock information available …

Category:  Health Go Health

Fun Fact: AWS RDS and system_health

WEBDid you know that the system_health Extended Event session was running in your RDS instances? Well, it is. HOWEVER. This query, which works perfectly fine on …

Category:  Health Go Health

Extended Events: Embrace the XML

WEBWhile we have ways to avoid the XML, sometimes it makes sense to go right after it. For example, if you want to look at the deadlock graph in an AWS RDS SQL …

Category:  Health Go Health

Compliance Ain't Easy

WEBI’m sure by now you’ve heard of the GDPR and some of the large scale data breaches that have occurred within it. If you haven’t heard of the GDPR, you’ve been …

Category:  Health Go Health

Develop Resiliency

WEBWant to see resiliency in action? Today is another anniversary for Apollo 13. Today is the day that coined “Houston, we’ve had a problem.” Certainly, NASA is a pile …

Category:  Health Go Health

Two Years of “Good Morning!”

WEBTwo years ago at the start of the pandemic, I wasn’t feeling great about things. I saw that quite a few others weren’t all that thrilled about how things were going either. …

Category:  Health Go Health

Removing All SQL Server Query Store Data

WEBRemoving All SQL Server Query Store Data. 18Jan 2016 15 Comments. While setting up example code for my presentation at SQL Cruise (which is going to be …

Category:  Health Go Health

AWS RDS and SQL Server Deadlocks

WEBWhat’s the story with AWS RDS and SQL Server deadlocks? I’m approaching AWS RDS like I was taking on a new role at a new organization. Do we have backups in …

Category:  Health Go Health

SQL Server First Aid

WEBIf you take basic first aid, say a CPR course, you’ll learn a handy mnemonic for the primary assessment you have to make, A-B-C. That breaks down as Airway, …

Category:  Course Go Health

Review: Idera SQL Doctor

WEBRecently, a co-worker practically slammed me up against the wall, exclaiming “You have to check out this new tool, right now!†The piece of software he was so …

Category:  Health Go Health

Identifying HIPAA, PCI & SOX Data for Masking

WEBWorking for a company based in the UK (still currently a part of the EU) I had a lot of motivation to learn about the GDPR and what it means for data professionals. …

Category:  Health Go Health

Cargo Cult Data Professionals

WEBCargo Cult Data Professionals. 12Nov 2013 19 Comments. Ever since David Moutray introduced me to the concept of cargo cult programming, it’s been …

Category:  Health Go Health