Page Splits, should I worry?I wish page splits were delicious. What are page splits? Page splits occur when a data page gets filled with data and a new page is...
Capture Query Information with Extended EventsMany of us have not made the effort to switch from profiler to Extended events. It's 2018, if you haven't found a few hours to learn...
New TempDB TraceFlagIn the past we're used to enabling Traceflags 1117 and 1118 in order to help with TempDB Contention. With the release of SQL 2016, these...
Does SQL Server need more memory? Page Life ExpectancyPage Life Expectancy is the number of seconds the average page of data has been in the buffer pool.SQL server keeps data pages in memory...
Use Cases for Query StoreWhy should I use Query Store? Query store can be used for a number of things. For example: Find out what was happening on my server last...
Query Store OverviewIt's amazing that we never had a built in feature that logged historical record of queries. Sure we had the plan cache, but that was...
Clear cache for a single Stored ProcedureSometimes for testing purposes (or an emergency) one might find it useful to remove query plan for a single stored procedure. This way...
RESOURCE_SEMAPHORESI know, it sounds like it could be a desert. But it's poison! You ever have one of those Saturday morning emergencies and come face to...
Using Diskspd To Test StorageIt's important to test your storage performance especially prior to installing or deploying a new SQL Server. Microsoft has provided us...
Deadlock Error HandlingAn elegant function for a more civilized age: Another way to detect deadlocks is to utilize the TRY CATCH block to raise errors in TSQL...