Part of the DBA-Tools Project.
Where to Start With This Series
The DBA Scripts series on this blog covers backups, blocking, indexes, SQL Agent, query performance, extended events tracing, server inventory, and security, organized into ten topic pillars, each one tying together a cluster of scripts that answer a related set of questions. That’s a lot of ground, and “where do I actually start” is a fair question whether you’re new to this site or you’ve been inheriting an unfamiliar server every few months for years.
This post is the map above the maps: not a script itself, and not a pillar, but the guide to the pillars. It’s organized around the moments a DBA actually reaches for tooling, not around the categories the scripts happen to live in, so you can start from your actual situation rather than browsing a list.
The Ten Pillars, One Line Each
Start Here: Inheriting an Unfamiliar Server
If you’ve just been handed a server you’ve never seen before, this is the order that builds understanding fastest, each step assumes the last:
- Server Inventory first, always. Version, hardware, configuration, and licensing are the baseline everything else gets read against. Skipping this means every later finding is read without context.
- Security second. Who has privileged access, what’s actually happening at the login layer, and what auditing infrastructure does or doesn’t exist. This is the review most likely to surface something that changes your priorities for everything after it.
- Backups and Recovery third. Before you touch anything or tune anything, confirm you could actually recover this server if something went wrong during the review itself.
- Storage and Capacity fourth. Confirm there’s actually room to keep operating, disk, database, and filegroup free space, before anything else on this list.
- SQL Agent and Jobs fifth. What’s scheduled to run, whether it’s succeeding, and whether anything’s quietly getting slower. Maintenance jobs you didn’t know existed can explain a lot of otherwise-mysterious server behavior.
- Blocking and Locking, Index Maintenance, and Query and Performance Tuning last, once the foundation is confirmed sane, these three answer “is it fast enough and why not,” in whichever order matches the specific complaint you’re chasing.
By the Question You’re Actually Asking
Sometimes you don’t need the full review, you have one specific problem right now. Here’s the fast path for the moments that come up most.
→ Backups and Recovery, specifically Backup Coverage and Suspect Pages and Integrity Checks
→ Blocking and Locking first to rule out active blocking, then Query and Performance Tuning
→ Security, start with Sysadmin Members and Login Security Audit
→ SQL Agent and Jobs
→ Server Inventory, specifically Edition Feature Usage and Linked Servers
→ Extended Events Tracing
→ Index Maintenance, index health degrades quietly and this is the most commonly overlooked routine check
→ Storage and Capacity, start with Database Free Space Summary and Database Growth Risk and Forecast
→ High Availability, start with AG Failover Readiness and Readable Secondary Usage
Jump Straight to a Popular Script
What Makes This Series Different
Every script post in this series follows the same shape on purpose: the real script (not a snippet), a genuine run against a live SQL Server instance with real captured output, an honest account of what a clean result looks like versus what a real finding looks like, and links forward and backward to the scripts that answer the next logical question. Several posts in this series exist specifically because writing the explanation surfaced a real bug in the script itself, DMV columns that didn’t exist, ambiguous joins, wrong catalog view references, fixed and documented, not just described.
That’s the standard: every script here has actually been run, not just written.
Summary
Ten pillars, one narrative on top of them: start with Server Inventory and Security on any unfamiliar server, confirm Backups and Recovery before you touch anything, then work outward toward whichever specific question brought you here. Bookmark this page as the starting point, and the pillar you land on next will link you the rest of the way.
Leave a Reply