Tag: Collectors
-
DBA Scripts: Performance and Troubleshooting
🔧Part of the DBA-Tools Project, copy/paste SQL Server scripts and health checks. Something is slow · the investigation You are past the point of guessing. This pillar is the middle step: turning “it feels slow” into a named, evidenced cause before you change anything. Look up the wait type Pick a diagnostic scriptYou are here…
Written by
-
DBA Scripts: Collectors and Baseline Infrastructure
🔧Part of the DBA-Tools Project, copy/paste SQL Server scripts and health checks.In: Maintenance & Automation From “Check When Asked” to “Already Watching” Every other pillar on this site answers a question the moment you ask it: what’s blocking right now, what are the current wait stats, how much free space is on disk today. The…
Written by
-
DBA Scripts: Generate Collector Alerts
🔧Part of the DBA-Tools Project, copy/paste SQL Server scripts and health checks.In: Maintenance & Automation › Collectors & Baselines Alert on What Your Collectors Find Your collectors fill tables every few minutes and nobody reads them. Generate-CollectorAlertJob.sql writes one SQL Agent job that checks the latest collector data every 30 minutes, lists every CRITICAL and…
Written by
-
DBA Scripts: Collect AG Health, Index Fragmentation, Query Store and Error Log Baselines
🔧Part of the DBA-Tools Project, copy/paste SQL Server scripts and health checks.In: Maintenance & Automation › Collectors & Baselines History for AG Health, Indexes, Query Store and the Error Log When something breaks, the first question is what it looked like before: was the AG secondary already behind last night, when did that query start…
Written by
-
DBA Scripts: Collect TempDB Space, VLF Count and Database Growth Baselines
🔧Part of the DBA-Tools Project, copy/paste SQL Server scripts and health checks.In: Maintenance & Automation › Collectors & Baselines History for TempDB Space, VLF Counts and Database Growth TempDB filled overnight, or a database grew and nobody knows when: questions only history can answer. The DMVs show how full TempDB is and how big each…
Written by
-
DBA Scripts: Collect Performance Baselines (Wait Stats, Perfmon, Storage I/O)
🔧Part of the DBA-Tools Project, copy/paste SQL Server scripts and health checks.In: Maintenance & Automation › Collectors & Baselines History for Wait Stats, Perfmon Counters and Storage I/O Something was slow between two and three this afternoon, and you want to know what the server was waiting on and whether the disks were struggling. sys.dm_os_wait_stats…
Written by
-
DBA Scripts: Collect Blocking and Deadlock Events
🔧Part of the DBA-Tools Project, copy/paste SQL Server scripts and health checks.In: Maintenance & Automation › Collectors & Baselines Blocking and Deadlocks, Recorded as They Happen When someone reports that the app was slow ten minutes ago, the blocking has usually cleared and the evidence has gone with it. Get Blocking Sessions and sys.dm_exec_requests only…
Written by
- Backups & Recovery (18)
- DBA Scripts (154)
- High Availability (HA) (13)
- Installation & Configuration (59)
- Maintenance (25)
- Migration & Upgrades (14)
- Monitoring (9)
- Performance Tuning (37)
- Security (Encryption & Permissions) (25)
- Storage & Capacity (17)
- T-SQL Fundamentals (16)
- Troubleshooting (105)
- Wait Types (236)