sqlinsight-pro/SQL Scripts/_collectors
Søren Eggert Lundsteen Olsen 66aa47ecb3 Deadlocks: read system_health files without a temp table
The 2012+ query used SELECT ... INTO #system_health, a write to tempdb.
One SELECT with ROW_NUMBER() now returns the deadlock rows and the newest
row (the read position) in the same pass. SQL Scripts and the read-only
test no longer allow any exception.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-02 13:47:31 +02:00
..
ActivityCollector.sql SQL Scripts: one reviewable script per rule 2026-10-02 13:20:06 +02:00
AgentJobCollector.sql SQL Scripts: one reviewable script per rule 2026-10-02 13:20:06 +02:00
AvailabilityGroupCollector.sql SQL Scripts: one reviewable script per rule 2026-10-02 13:20:06 +02:00
BlockingCollector.sql SQL Scripts: one reviewable script per rule 2026-10-02 13:20:06 +02:00
ConfigurationCollector.sql SQL Scripts: one reviewable script per rule 2026-10-02 13:20:06 +02:00
CpuCollector.sql SQL Scripts: one reviewable script per rule 2026-10-02 13:20:06 +02:00
CustomQueryCollector.sql Review 1.3: SQL Scripts for database discovery and the permission check 2026-10-02 13:26:16 +02:00
DatabaseCollector.sql Review 1.3: SQL Scripts for database discovery and the permission check 2026-10-02 13:26:16 +02:00
DatabaseDiscovery.sql Review 1.3: SQL Scripts for database discovery and the permission check 2026-10-02 13:26:16 +02:00
DeadlockCollector.sql Deadlocks: read system_health files without a temp table 2026-10-02 13:47:31 +02:00
ErrorLogCollector.sql SQL Scripts: one reviewable script per rule 2026-10-02 13:20:06 +02:00
FileIoCollector.sql SQL Scripts: one reviewable script per rule 2026-10-02 13:20:06 +02:00
IndexCollector.sql Review 1.3: SQL Scripts for database discovery and the permission check 2026-10-02 13:26:16 +02:00
InstanceConfigurationCollector.sql SQL Scripts: one reviewable script per rule 2026-10-02 13:20:06 +02:00
InstanceProbe.sql SQL Scripts: one reviewable script per rule 2026-10-02 13:20:06 +02:00
LongOperationCollector.sql SQL Scripts: one reviewable script per rule 2026-10-02 13:20:06 +02:00
PerformanceCounterCollector.sql SQL Scripts: one reviewable script per rule 2026-10-02 13:20:06 +02:00
PermissionCheck.sql Review 1.3: SQL Scripts for database discovery and the permission check 2026-10-02 13:26:16 +02:00
PlanAnalysisCollector.sql SQL Scripts: one reviewable script per rule 2026-10-02 13:20:06 +02:00
PlanCacheCollector.sql SQL Scripts: one reviewable script per rule 2026-10-02 13:20:06 +02:00
PrivilegeCollector.sql SQL Scripts: one reviewable script per rule 2026-10-02 13:20:06 +02:00
QueryStatsCollector.sql SQL Scripts: one reviewable script per rule 2026-10-02 13:20:06 +02:00
QueryStoreCollector.sql Review 1.3: SQL Scripts for database discovery and the permission check 2026-10-02 13:26:16 +02:00
ReplicationCollector.sql SQL Scripts: one reviewable script per rule 2026-10-02 13:20:06 +02:00
ServerCollector.sql SQL Scripts: one reviewable script per rule 2026-10-02 13:20:06 +02:00
SuspectPageCollector.sql SQL Scripts: one reviewable script per rule 2026-10-02 13:20:06 +02:00
TempdbCollector.sql SQL Scripts: one reviewable script per rule 2026-10-02 13:20:06 +02:00
TraceFlagCollector.sql SQL Scripts: one reviewable script per rule 2026-10-02 13:20:06 +02:00
WaitSamplingCollector.sql SQL Scripts: one reviewable script per rule 2026-10-02 13:20:06 +02:00
WaitStatsCollector.sql SQL Scripts: one reviewable script per rule 2026-10-02 13:20:06 +02:00