Query Hash and Query Plan Hash Mapping
DMVs and Query Store store the query hash as binary(8), but Extended Events shows a number, and the two refuse to match. Here's how to map between them.
Long-form notes on TSQL performance, Extended Events, Query Store and the tooling around them. Written from the trenches, not the slide deck.
DMVs and Query Store store the query hash as binary(8), but Extended Events shows a number, and the two refuse to match. Here's how to map between them.
I found an IS lock in a deadlock report on an RCSI database. That shouldn't be possible. Here's what caused it.
Sometimes the fastest help is the kind you find yourself. A rundown of the lazy question patterns I keep seeing in SQL help channels.
This month's T-SQL Tuesday invitation is from John McCormack. I'm sharing a few handy snippets I use on a regular basis - a time loop, impersonation testing, database recreation, and some RegEx for SSMS Find & Replace.
One query against sys.messages can reveal every edge case SQL Server knows about before you commit to a new design.
Query Store comes with default settings - but are they what the documentation says? Let's find out using a simple Extended Events session.
Production errors are hard to reproduce. Here's my go-to Extended Events session that captures errors with their full TSQL calling stack.
WordPress was making me hate blogging. Moving to Hugo, GitHub, and Azure Static Web Apps fixed that.