Status: Reviewed (deep-dive v1)
Audience: SQL Server admins / PowerShell-to-SQL operators
Stack mapping: PowerShell (Server/AD collection) → SQL Server + stored procedures → Blazor Server UI
Working style: Structured notes, checklists, short deep-dives. Deepen one topic at a time.
Pairs with: Starter Guide, ops topics Inventory & configuration baseline–10, implementation spikes, SQL CLI notes.
Goal: Use this outline as the learning path and backlog map for the SQLKB — not as a second encyclopedia.
This outline is the map of the knowledge base:
Use it when onboarding, when picking the next deep-dive, or when checking that a Blazor board still maps to a real ops concern.
| Outline theme | Topic file | What “done” looks like |
|---|---|---|
| 1. Inventory & configuration baseline | Inventory baseline | Catalog of instances + drift vs last baseline |
| 2. Backup & restore readiness | Backup & restore | Coverage heat map + failed backup queue |
| 3. Index & statistics maintenance | Index & statistics | Top fragmented objects + last maintenance run |
| 4. SQL Agent jobs & schedules | Agent jobs | Failed / long-running job board |
| 5. Security & access hygiene | Security hygiene | Privilege exceptions list |
| 6. Space, growth & capacity | Capacity & growth | Capacity trends + threshold alerts |
| 7. Performance health (ops view) | Performance health | Hot waits / blockers / top SQL cards |
| 8. Patching & build currency | Patching & upgrades | Out-of-date instances vs target matrix |
| 9. HA/DR awareness | HA/DR | Pattern inventory + runbook pointers |
| 10. Alerting, runbooks & change control | Alerting & runbooks | Severity model + ack workflow |
Spikes turn outline themes into vertical slices (table → proc → Blazor):
| Spike | Ties to outline |
|---|---|
| Inventory MVP | Theme 1 |
| Backup heat map | Theme 2 |
| Agent fail board | Theme 4 |
| Capacity tight volumes | Theme 6 |
| Perf triage board | Theme 7 |
| Security exceptions | Theme 5 |
| Alert evaluate + ack | Theme 10 |
| Build out-of-date | Theme 8 |
| Area | Where in SQLKB |
|---|---|
| Interactive / scripted SQL | sqlcmd / go-sqlcmd, bcp, SqlServer PowerShell module |
| Deploy / cloud helpers | sqlpackage, Azure CLI SQL |
| System / Agent / xp procs | Stored Procedures menu section (Stored procedures + System stored procedures / 09a–09e) |
| Functions | User Defined Functions, Built-in functions |
| Deeper T-SQL | Deep-dives 13–30+ (temp tables, APPLY, CTEs, pagination, JSON, …) |
| Layer | Role |
|---|---|
| PowerShell | Discover hosts/instances, AD context, disk/OS health, schedule collectors, export raw facts |
| SQL + stored procs | Persist baselines, retention, scoring/thresholds, maintenance procedures, history |
| Blazor Server | Dashboards, drill-downs, ack/assign, runbook links, operator workflows |
Header habit on deep-dives: What do we collect? Where is it stored? What does the UI show? What does an operator do?
Suggested first build slice: Inventory baseline + Inventory MVP.
Use these as acceptance prompts when a theme or spike is “Reviewed”:
Instances, versions/editions, features, collations, max memory, tempdb layout; linked servers, credentials, Agent operators/mail.
PS: WMI/SMO/registry + AD computer membership · SQL: inventory tables + upsert procs · Blazor: catalog + drift
Full / diff / log coverage, retention, checksum, restore-verify cadence; RPO/RTO by database class.
PS: backup history + file presence · SQL: coverage scoring · Blazor: heat map + failed queue
Fragmentation vs write cost; rebuild/reorg thresholds; stats policy; online vs offline windows.
PS: optional disk pressure · SQL: index health procs · Blazor: top fragmented + last run
Critical job inventory, failure history, duration baselines, overlap / runaway detection.
PS: cross-instance census · SQL: job history warehouse · Blazor: failed/long board
Logins/users/roles, orphans, sysadmin sprawl, xp_cmdshell, guest; cert/key expiry where applicable.
PS: AD group membership · SQL: permission snapshots · Blazor: privilege exceptions
Data/log growth, autogrowth events, volume free space.
PS: volumes / mount points · SQL: file size history · Blazor: trends + thresholds
Wait snapshots, blocking, top expensive queries; plan-cache hygiene at a high level.
PS: off-peak collectors · SQL: snapshot + retention · Blazor: waits / blockers / top SQL
CU/GDR vs target; restart windows.
PS: build + Windows patch context · SQL: target matrix · Blazor: out-of-date list
Backup-based DR vs Always On / log shipping / mirroring as deployed; failover runbook pointers until confirmed.
Stack: inventory + health probes; UI status only when HA exists
Severity model, ack/escalate, post-incident checklist; each alert type links to a short runbook.
Blazor: ack workflow · SQL: action audit · PS: optional ticket/email hooks
Draft → Reviewed → deepen only when neededSQL-NN-Topic-ShortName.md (HTML generated beside them)