DBA Operations Dashboard
Real-time overview of your DBA handbook progress and key operational areas.
Checklist Progress
Scripts Mapped
Sections Covered
Quick Actions
Section Progress
01. DBA Principles & Production Rules
The foundational mindset for production database administration.
The First Rule of Production DBA
Before changing anything, collect evidence. Never immediately restart, kill, shrink, or change configuration without understanding the situation.
The 5-Layer Diagnostic Model
When a problem arrives, never assume SQL Server is the problem. Investigate each layer:
02. First Responder Checklist
Step-by-step triage when "the database is slow" alert fires at 2 AM.
Step 1: Is SQL Server Alive?
Step 2: Check Overall Health
Step 3: Check Current Blocking
Step 4: Check Running Queries
03. Production Environment Discovery
Essential knowledge when joining a new organization or taking over a new environment.
Production Environment Profile
Fill this out first when taking over a new environment.
Database Inventory
Required Documentation
04. SQL Server Configuration Checklist
Validate critical configuration settings that directly impact performance and stability.
Configuration Audit
Memory Configuration
Parallelism Configuration
TempDB Configuration
05. Daily Health Checks
Morning production health check routine for SQL Server environments.
Morning Health Check
Backup Validation
DBA Daily Operational Workflow
Time-based workflow for structured DBA operations across different cadences.
Morning
Morning Health Check
- Backup validation - Full, Differential, Log
- Disk space review - All drives
- Failed SQL Agent jobs
- Error log review - Last 24 hours
- Blocking sessions - Current state
- AG/Replication health
- Service status - SQL Server + Agent
Monitor
Continuous Monitoring
- Blocking alerts - Respond immediately
- CPU spikes - Investigate source
- Deadlock tracking - Review patterns
- Storage alerts - Growth monitoring
- Long running queries - Identify outliers
- Application connection issues
Maintenance
Weekly Review Tasks
- Index fragmentation review
- Statistics freshness check
- Database growth analysis
- Security review - New logins, permission changes
- Performance baseline comparison
- Capacity trending
Strategic
Monthly Strategic Tasks
- Capacity planning review
- CU/Security patch review
- DR validation and failover test
- Backup restore test
- Security audit - Full scope
- Configuration drift check
- License compliance review
06. Monitoring Checklist
Continuous monitoring setup and validation for proactive DBA operations.
Active Monitoring
07. Incident Response Playbook
Structured response procedures for production incidents.
Incident Response Flow
Incident Priority Model (P1-P4)
Every incident must be classified. Classification drives response time and escalation path.
| Severity | Meaning | Response Time | Escalation | Example |
|---|---|---|---|---|
| P1 - Critical | Database unavailable / Data loss risk | Immediate | DBA + App + Infra + Management | Instance down, AG failover, corruption |
| P2 - High | Major degradation / Service impacted | < 30 min | DBA + App team | Severe blocking, CPU 100%, log full |
| P3 - Medium | Performance issue / Degraded experience | Planned window | DBA team | Slow queries, index fragmentation, growth |
| P4 - Low | Improvement / Optimization | Backlog | DBA team | Config tuning, stats update, cleanup |
Troubleshooting Decision Tree
Interactive diagnostic flow. Scroll horizontally/vertically to navigate. Start at the top and follow the Yes/No path.
Check Memory / OS
Check transaction age
Production Execution Checklist
Before running any script, verify these items. Check each box to confirm:
Before You Execute
Evidence Collection Module
Collect this data BEFORE making any changes. Use the Incident Snapshot to export all evidence at once.
Incident Snapshot Checklist
Incident Response Checklist
08. Performance Troubleshooting
Systematic approach to identifying and resolving SQL Server performance issues.
Before Tuning Checklist
CPU Issues
IO & Disk Bottlenecks
Wait Statistics
Index & Statistics
09. Blocking & Deadlocks
Production checklist for identifying and resolving blocking and deadlock issues.
Blocking Troubleshooting
Root Cause Investigation
10. Transaction Log Issues
Handling "transaction log full" errors and log management.
Transaction Log Full Checklist
Common Causes
| Cause | Diagnosis | Resolution |
|---|---|---|
| Missing log backup | Check backup schedule | Enable log backups |
| Long running transaction | DBCC OPENTRAN | Kill or fix transaction |
| Replication delay | Check replication status | Fix distribution agent |
| AG sync issue | Check AG dashboard | Resolve sync blocker |
11. Backup & Recovery
Backup strategy validation and disaster recovery readiness.
RPO & RTO Definitions
| Term | Definition | Question |
|---|---|---|
| RPO | Recovery Point Objective | How much data loss is acceptable? |
| RTO | Recovery Time Objective | How quickly must recovery happen? |
Backup Checklist
12. Security Audit
SQL Server security review and compliance checklist.
Security Audit Checklist
Security Review Items
13. High Availability
AlwaysOn AG, Failover, and Replication health checks.
High Availability Checklist
14. Disaster Recovery
DR planning, testing, and validation procedures.
DR Readiness Checklist
15. Capacity Planning
Proactive capacity monitoring and growth forecasting.
Capacity Planning Checklist
16. Change Management
Pre-production change validation checklist.
Change Request Checklist
Before Change
After Change
17. Automation Scripts
DBA automation framework and utility scripts.
Automation Maturity Roadmap
Track your automation journey from manual processes to self-healing infrastructure.
Framework Deployment
Utility Procedures
| Procedure | Purpose | Path |
|---|---|---|
sp_DBA_ActiveSessions | Real-time active session monitor | 00_Framework/sp_DBA_ActiveSessions.sql |
sp_DBA_ForEachDatabase | Run command against all databases | 00_Framework/sp_DBA_ForEachDatabase.sql |
sp_DBA_SaveAssessmentRun | Persist health check results | 00_Framework/sp_DBA_SaveAssessmentRun.sql |
fn_DBA_ExcludedWaitTypes | Filter wait types | 00_Framework/fn_DBA_ExcludedWaitTypes.sql |
fn_DBA_AgentRunDurationSeconds | Calculate job duration | 00_Framework/fn_DBA_AgentRunDurationSeconds.sql |
Preventive Measures
| Script | Purpose | Path |
|---|---|---|
| Governance DB Setup | Create governance database | preventive_measures/01_Create_Governance_Database.sql |
| Running Query Capture | Capture running queries | preventive_measures/02_Capture_Running_Queries.sql |
| Long Running Queries | Monitor long queries | preventive_measures/03_Check_Long_Running_Queries.sql |
| Massive DML | Check massive DML operations | preventive_measures/04_Check_Massive_DML.sql |
| Blocked Apps | Check blocked applications | preventive_measures/05_Check_Blocked_Applications.sql |
| Query Policy | Enforce query policies | preventive_measures/06_Enforce_Query_Policy.sql |
| Extended Events | Setup Extended Events | preventive_measures/07_Setup_Extended_Events.sql |
| Alert Management | Configure alerts | preventive_measures/08_Alert_Management.sql |
| Dashboard Views | Create monitoring views | preventive_measures/09_Dashboard_Views.sql |
| Agent Jobs | Create SQL Agent jobs | preventive_measures/10_Create_SQL_Agent_Jobs.sql |
| Resource Governor | Setup Resource Governor | preventive_measures/11_Setup_Resource_Governor.sql |
18. DBA Case Studies
Real-world production scenarios with resolution approaches.
Scenario 1: "Application is slow"
Scenario 2: Blocking Storm
Symptoms: Users cannot save, Queries hanging
Scenario 3: Transaction Log Full
Error: "The transaction log for database is full"
Scenario 4: SQL Server CPU 100%
Scenario 5: Database Growth Problem
19. RCA Templates
Root Cause Analysis documentation template for post-incident review.
Incident Summary
| Field | Details |
|---|---|
| Incident Date/Time | |
| Duration | |
| Severity | |
| Affected Systems | |
| Impact |
Root Cause Analysis
| Field | Details |
|---|---|
| Root Cause | |
| Contributing Factors | |
| Detection Method | |
| Time to Detect | |
| Time to Resolve |
Resolution & Prevention
| Field | Details |
|---|---|
| Immediate Fix | |
| Permanent Fix | |
| Prevention Measures | |
| Monitoring Improvements | |
| Lessons Learned |
Reference Scripts for Investigation
| Investigation Area | Script |
|---|---|
| Health Check | 00_Framework/sp_DBA_HealthCheck.sql |
| Wait Analysis | 00_Framework/sp_DBA_WaitAnalysis.sql |
| Blocking Analysis | 04_Performance_Diagnostics/blocking_and_deadlocks.sql |
| Deadlock Analysis | 04_Performance_Diagnostics/deadlock_analysis.sql |
| Top Resource Queries | 04_Performance_Diagnostics/top_resource_queries.sql |
| Plan Cache | 00_Framework/sp_DBA_PlanCacheAnalyzer.sql |
| CPU Analysis | 01_Server_OS/cpu_utilization.sql |
| Memory Diagnostics | 01_Server_OS/memory_diagnostics.sql |
| Disk Latency | 01_Server_OS/disk_latency.sql |
20. DBA Growth Path
Career development checklist from Junior DBA to Senior DBA.
Junior DBA / 0-2 Years
Mid-Level DBA / 2-5 Years
Senior DBA / 5+ Years
21. SQL Server Patch Management
CU and security patch lifecycle management for SQL Server environments.
Patch Assessment
Patch Application Checklist
Post-Patch Validation
22. Data Corruption Response
Handling database corruption: detection, assessment, and recovery procedures.
Corruption Detection
Corruption Assessment
Which database? Which objects? How many pages affected? Is it clustered vs nonclustered index vs heap?
Verify last known good backup. Check if log backups are available for point-in-time recovery.
Can you restore from backup? Is page-level restore possible? Is emergency mode repair the last resort?
Preferred: Restore from backup. Alternative: Page-level restore. Last resort: DBCC CHECKDB with REPAIR_ALLOW_DATA_LOSS (requires Microsoft support).
Recovery Procedures
23. Wait Statistics Knowledge Base
Senior DBA reference for interpreting wait types and determining corrective actions.
Wait Type Lookup
PAGEIOLATCH
CXPACKET
CXCONSUMER
RESOURCE_SEMAPHORE
WRITELOG
LCK_M_* (All Lock Waits)
PAGELATCH_UP / PAGELATCH_EX / PAGELATCH_SH
SOS_SCHEDULER_YIELD
LATCH_EX / LATCH_SH / LATCH_UP
ASYNC_NETWORK_IO
PREEMPTIVE_OS_*
WAITFOR / WAITFOR_DELAY
Script Explorer
Searchable catalog of all SQL scripts in the repository.
| Script | Category | Description | Risk | Prod Safe | Environment | Path |
|---|