Identify blocking problems
How to recognise a blocking problem, set up the collection of blocked process reports, and send the files for analysis.
How to recognise a blocking problem, set up the collection of blocked process reports, and send the files for analysis.
How to reduce the size of a SQL Server database file properly: good practice, sizing, an incremental strategy, and automation with dbatools.
8 minute read
Consolidating SQL Server instances is better than installing several of them on the same server.
A complete step-by-step guide: installing SQL Server 2025 on Windows Server, then configuring the server properties and the Configuration Manager.
29 minute read
How I write the articles on this site with Claude: what I do, what it measures in the lab, and how every claim gets checked.
4 minute read
Compressing and partitioning a 385 million row table written continuously, on SQL Server 2022 Standard: new table built alongside, copy trigger, a partition boundary for the day, a 2.2 second cutover, and what went wrong.
21 minute read
How SQL Server caches compiled plans: stores, cache keys, parameterization, entry costs, eviction, limits, invalidation, and clearing, from 2005 to 2025.
113 minute read
Does SET NOCOUNT ON speed up a procedure? Bytes, packets and time measured on SQL Server 2025 over a simulated slow network, and against row-by-row code.
10 minute read
Let Claude Code or Codex analyze the Query Store through sqlcmd, with a login that reads the Query Store but not the tables, or on a clone without data.
21 minute read
What separates the ALL, AUTO, CUSTOM and NONE Query Store capture modes, with the AUTO thresholds measured on SQL Server 2019, 2022 and 2025.
8 minute read
What the Query Store keeps about a query and what it leaves out: missing statements, interrupted executions, losses after a hard shutdown.
8 minute read
The string summary of a SQL Server statistics object, decoded: a sample of strings stored in a trie, how it estimates LIKE predicates, and what bypasses it.
43 minute read
The SQL Server servicing model since 2017: choosing between the CU branch and the GDR branch, reading a build number, finding the right update and applying it.
12 minute read
Why a database in the FULL recovery model needs log backups, what VM backups do not replace, and how to restore to a precise point in time.
11 minute read
Why functions in your WHERE clauses stop SQL Server from using your indexes, and how to rewrite your queries to get performance back.
8 minute read