Patching SQL 2017 failed at msdb110_upgrade.sql with error 8649: the query cost exceeded the configured threshold. Here is the cause and the fix.
SQL SERVER – Read Only Routing Error: Client Unable to Establish Connection Because an Error was Encountered During Handshakes Before Login
A client’s Always On read-only routing failed with: an error was encountered during handshakes before login. Here are the checks I shared and how we fixed it.
How to Track Data Platform Service Level and Performance Before and After Consolidation?
Planning data platform consolidation? Track service level and performance before and after consolidation, so you know how well the planning worked.
Retired Features Still in Your Schema: Stretch, text and More
Before an upgrade, look for text and image columns, old rules and defaults, and Stretch metadata. These queries show what is there.
Plan Cache Size in SQL Server: List Every Cached Plan
Plan cache size shows how much memory each cached query plan takes. This post lists every plan in one database with its size, its text and its execution count. It also explains why the cache entry and the plan itself report different sizes.
SQL SERVER – Difference Between Status in SP_Who2 – Running, Pending, Runnable, Suspended, Sleeping
What is the difference between Running, Runnable, Pending, Suspended and Sleeping status in sp_who2? I explain each one simply, in terms of CPU and IO.





