For reference and from practice.
59 articles on SQL Server, organised in five topics: topic hubs we maintain continuously, series in several parts, and individual articles from the lab and from projects. Each with a date, evidence and its limits.
Latest articles.
Something new every week. All changes to the website are listed in What’s new.
Manage SQL Agent jobs and maintenance scripts with dbatools Operations, backup & high availability
Ola Hallengren, First Responder Kit, sp_WhoIsActive: install them in a controlled way, copy and check jobs.
SQL Server inventory with dbatools Operations, backup & high availability
Instance list, patch level, databases, configuration: what the build reference decides and where the export has gaps.
Copy and audit SQL Server logins with dbatools Operations, backup & high availability
Copy-DbaLogin and Export-DbaLogin: what comes along and what is missing without a message, on Windows and Linux.
Find and fix orphaned users in SQL Server Operations, backup & high availability
Find orphans and map them by SID, look at -RemoveNotExisting first: measured with dbatools 2.9.1.
dbatools: managing SQL Server with PowerShellTopic hub Operations, backup & high availability
More than 700 commands, tested in the lab with 2.9.1: start safely, read the checks, prove your backups.Deep dives: Install and connect securely · Inventory · What Test-Dba really tells you · Prove backups restore · Copy logins and permissions · Orphaned users · Agent jobs and maintenance scripts
Five topics, every article.
Topic hubs first, then series in parts, then individual articles, each with its publication date. Hub deep dives sit with their hub.
Performance & plans
Why a query is slow and what the optimizer makes of it.
12 pages
SQL Server performance: finding the causesTopic hub
Guide with six diagnostic paths and read-only SQL queries.Deep dives: Sometimes fast, sometimes slow · Blocking & timeouts · Under load · Why a restart helps
Understanding the optimizer: one query, many plansTopic hub
Real plans to try out, parameter sniffing and the remedies.
Setting up Query Store and checking it in production
State, capture mode, storage, cleanup, and why it goes read-only.
Index tuning: choosing the right index
Derive key and INCLUDE columns, check existing indexes, measure the effect.
More cores, faster cores or a better query?
When more cores help, when only a faster core does, when the query is the answer.
Will an upgrade make our application faster?
Engine, compatibility level and new features looked at separately.
Same query, different speed: sp_BlitzPlanCompare in the lab
What the tool finds and what the findings mean.
Where does the time go? Query Store and nested calls
7.4 seconds in the UPDATE, 0.16 ms in the procedure: both are right.
Locking, deadlocks & TempDB
What blocks what, and where the space goes.
15 pages
Understanding locking: from lock escalation to optimized lockingTopic hub
Why SQL Server locks, what changed from 2017 to 2025, five deep dives.Deep dives: Optimized locking · ADR · ADR for tempdb · Enabling OL · Isolation levels & RCSI
Understanding TempDB: spot problems and relieve the loadTopic hub
Who uses TempDB and what holds the space; with a status query and three deep dives.Deep dives: Setup · Version store & log · Spills & spools
Enable optimized locking? Measure first, then decide
When the switch pays off, what ADR costs, with a measurement query and PoC checklist.
NOLOCK, RCSI or SNAPSHOT? Isolation levels in practice
Missing and duplicate rows, three RCSI traps in code, switching safely.
Deadlocks: reading a deadlock graph step by step
Get the graph from system_health, match victim, processes and resources.
Transaction log full: understanding and fixing error 9002
Read the reason, free up space safely, get the log back under control.
The reader that locks the table
SELECT, prefetch and lock escalation, measured on SQL Server 2019 to 2025.
Operations, backup & high availability
Restore safely, fail over reliably, keep versions under control.
36 pages
SQL Server open source: tools and projectsTopic hub
Free tools, put into context: what they help with, where they end, which license applies.Deep dives: dbatools series
dbatools: managing SQL Server with PowerShellTopic hub
More than 700 commands, tested in the lab with 2.9.1: start safely, read the checks, prove your backups.Deep dives: Install and connect securely · Inventory · What Test-Dba really tells you · Prove backups restore · Copy logins and permissions · Orphaned users · Agent jobs and maintenance scripts
SQL Server on Linux and Docker: what stays the same, what doesn'tTopic hub
Same engine, different platform: features, administration, containers, measured in the lab.Deep dives: Linux, containers or Windows? · For Windows admins · Container pitfalls · Performance and operations
SQL Server versions: builds, updates and end of supportTopic hub
Eleven version pages 2005 to 2025 and a build checker, continuously maintained.
Backup and restore: the basicsBackup & Restore · Part 1/2
Full, differential or log, and the verified restore.
Backup and restore: planning for the real incidentBackup & Restore · Part 2/2
Point-in-time, COPY_ONLY, log chains and retention.
FCI vs. availability groups: the differenceFCI vs. AG · Part 1/4
What a failover protects and what it means for operations.
FCI vs. AG: features, limits and operationsFCI vs. AG · Part 2/4
Matrix for 2017 to 2025, commit latency and failover time from the lab.
Standard or Enterprise? When the full AG pays offFCI vs. AG · Part 3/4
Four requirements, capacity limits and the licensing rules for passive replicas.
FCI, basic AG or full AG? Decision guideFCI vs. AG · Part 4/4
Eight questions, five candidates, a ranking with reasons, in your browser.
Room for the next rowIndexwartung · Part 1/3
How an index reads, fills and splits pages, in nine pictures.
Tidy, but no roomIndexwartung · Part 2/3
REORGANIZE, REBUILD and the next inserts, measured.
When the index grows without maintenanceIndexwartung · Part 3/3
Two indexes without any maintenance, grown to 3.6 million rows.
Find and fix orphaned users in SQL Server
Find orphans and map them by SID, look at -RemoveNotExisting first: measured with dbatools 2.9.1.
Copy and audit SQL Server logins with dbatools
Copy-DbaLogin and Export-DbaLogin: what comes along and what is missing without a message, on Windows and Linux.
SQL Server inventory with dbatools
Instance list, patch level, databases, configuration: what the build reference decides and where the export has gaps.
Manage SQL Agent jobs and maintenance scripts with dbatools
Ola Hallengren, First Responder Kit, sp_WhoIsActive: install them in a controlled way, copy and check jobs.
Test-DbaLastBackup: prove your backups actually restore
Restore, CHECKDB, and why -VerifyOnly is not enough; with a lab on 2017 to 2025.
dbatools best-practice checks: what Test-Dba really tells you
MAXDOP, memory and tempdb: which rule is behind it and what it cannot know.
Install dbatools and connect securely
Installation, signature and the certificate error since version 2, without switching off encryption.
SQL Server on Linux for Windows admins: the habits that change
Paths, permissions, mssql-conf, tools and maintenance scripts, with a profile query.
Tuning SQL Server on Linux: what Microsoft recommends and what actually helps
Kernel settings, flushing, memory and CPU limits, with an operations check and a host check.
Linux, containers or Windows? Where SQL Server belongs
Use cases, missing features, high availability, with a check query.
SQL Server in Docker: what goes wrong in the container
docker stop, CPU quota, memory limits, volumes: measured on 2017 to 2025.
Development & Entity Framework
What arrives at the server from C#, LINQ and T-SQL abstraction.
8 pages
The paradox of abstraction in SQL ServerTopic hub
Functions hide logic from the optimizer, nested views inflate the plan.Deep dives: T-SQL functions · Nested views
Entity Framework & SQL Server: the price of abstractionTopic hub
How LINQ becomes SQL, plans and load; two measured series.Deep dives: Include & split query · Contains() across four EF Core versions
Service Broker: hand off background work reliably
Hand off transactionally, spread across several workers, handle failures.
T-Lift: dynamic SQL without writing it by hand
Our open-source precompiler for catch-all procedures.
Cloud & Azure
Platform choice, migration and performance in Azure.
2 pages
SQL Server in Azure: VM, Managed Instance or SQL Database?Azure · Part 1/2
Features, operational tasks and migration needs compared.
Slower after the Azure migration?Azure · Part 2/2
Narrow down load, queries, resource limits and network paths, traceably.
For your team, to play, to meet.
- 01
SQL Server training
T-SQL, performance driven development, performance tuning, reporting; workshops tailored to your needs. In preparation: development with agentic AI →
- 02
Game: SQL Server Iceberg
15 real performance problems, six zones, one life. How deep can you go?
- 03
Quizzes in six articles
Query Store, lock escalation, index maintenance (three parts), sp_BlitzPlanCompare, backup & restore: check at the end of the article what stuck.
- 04
Hamburg SQL Server user group ↗
Organised by us since 2005, regular meetings in Hamburg and online.
An article matches your problem?
Then the conversation is short: we know the case from the lab, you know your system. Together we find the cause.
Book a conversation →