SQL Server DBA Guides, Scripts, and AI Health Checks

Production-first SQL Server content from a working DBA: troubleshooting guides, copy-paste scripts, and a health check workflow where dba-tools collects the evidence and AI helps surface the blindspots.

If you run SQL Server in production, this site is built to help with the real work: incidents, performance, HA/DR, monitoring, backups, and repeatable diagnostics.

Prefer reading first? Browse the latest SQL Server posts.

170+
production scripts
39
diagnostics per collection
450+
published SQL Server posts

Need a first pass in minutes?

Run the health-check workflow and get a prioritized list you can work from immediately.

  • Collect diagnostics
  • Review deterministic findings
  • Correlate issues with AI evidence

Need a script now?

Use the script library when you already know the question and need a safe answer fast.

  • Performance and blocking
  • Backups and recovery
  • Security and permissions

Need the bigger map?

Use the complete guide and topic hubs to navigate the full SQL Server coverage on the site.

  • Wait statistics reference library
  • Troubleshooting clusters
  • Topic-driven operations guides

The flagship: dba-tools plus AI correlation

The workflow is intentionally practical: gather evidence from the server, run deterministic checks, then let AI correlate patterns across the full dataset. It does not replace DBA judgment, it shortens the route to a confident diagnosis.

A 30-second run: terminal command, web UI output, then the same script in SSMS.

170+scripts you can run directly
39signals in one health check
1 reportprioritized root-cause summary

Start Here

If this is your first visit, use this order: understand the toolkit, run one practical workflow, then branch into the topic area you are troubleshooting today.

Step 1

DBA Scripts & Tools

Start with the project map and command paths so every script and workflow is predictable.

  • Quick start and environment assumptions
  • Script categories by operational need
  • Health check entry point and AI rubric path
Step 2

Troubleshooting Guides

Use these when you already have symptoms and need a tested sequence of checks and fixes.

  • Blocking and deadlock workflows
  • Recovery and integrity troubleshooting
  • Security and permissions edge cases
Step 3

Wait Stats Library

Use this reference to translate raw waits into practical action and safer follow-up checks.

  • Wait meaning in production context
  • Common root causes and false signals
  • Next checks to run before changing anything

If you are firefighting right now

Go straight to the highest-signal material for live incidents.

If you are improving the platform

Use these paths to reduce recurring issues and raise baseline reliability.

Key Topics

More About Me

I am a SQL Server DBA working in large-scale production environments, working remotely from home in Edinburgh, Scotland.

My focus is on reliability, performance, and keeping systems running when they matter most. Most of my day-to-day work sits around operations, incident response, platform engineering, and automation, supporting SQL Server workloads that need to stay available and predictable under real pressure.

For more background and non-DBA writing, visit my personal site at peterwhyte.com, where you’ll also find my CV.

Peter Whyte, SQL Server DBA

Pick a practical next action

Whether you are in an incident or planning preventative work, start with one workflow and execute it end-to-end.