Skip to content

Commit cee9cf1

Browse files
author
Greg Dodd
committed
Merge branch 'dev-2591' of https://github.com/gdoddsy/SQL-Server-First-Responder-Kit into dev-2591
2 parents 4a72994 + bcfe577 commit cee9cf1

23 files changed

Lines changed: 9427 additions & 7047 deletions

‎Documentation/sp_BlitzCache_Checks_by_Priority.md‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ If you want to add a new check, start at 70
1313
|----------|---------------------------------|---------------------------------------|-------------------------------------------------|----------|-------------|
1414
| 10 | Execution Plans | Forced Serialization | http://www.brentozar.com/blitzcache/forced-serialization/ | 25 | No |
1515
| 10 | Large USERSTORE_TOKENPERM cache | Using Over 10% of the Buffer Pool | https://brentozar.com/go/userstore | 69 | No |
16+
| 50 | Complexity | High Compile CPU | https://www.brentozar.com/blitzcache/high-compilers/ | 64 | No |
17+
| 50 | Complexity | High Compile Memory | https://www.brentozar.com/blitzcache/high-compilers/ | 65 | No |
1618
| 50 | Execution Plans | Compilation timeout | http://brentozar.com/blitzcache/compilation-timeout/ | 18 | No |
1719
| 50 | Execution Plans | Compile Memory Limit Exceeded | http://brentozar.com/blitzcache/compile-memory-limit-exceeded/ | 19 | No |
1820
| 50 | Execution Plans | No join predicate | http://brentozar.com/blitzcache/no-join-predicate/ | 20 | No |
@@ -28,6 +30,7 @@ If you want to add a new check, start at 70
2830
| 50 | Performance | Long Running Query | http://brentozar.com/blitzcache/long-running-queries/ | 9 | No |
2931
| 50 | Performance | Missing Indexes | http://brentozar.com/blitzcache/missing-index-request/ | 10 | No |
3032
| 50 | Selects w/ Writes | Read queries are causing writes | https://dba.stackexchange.com/questions/191825/ | 66 | No |
33+
| 100 | Complexity | Long Compile Time | https://www.brentozar.com/blitzcache/high-compilers/ | No |
3134
| 100 | Complexity | Many to Many Merge | Blog not published yet | 61 | Yes |
3235
| 100 | Complexity | Row Estimate Mismatch | https://www.brentozar.com/blitzcache/bad-estimates/ | 56 | Yes |
3336
| 100 | Compute Scalar That References A CLR Function | Calls CLR Functions | https://www.brentozar.com/blitzcache/compute-scalar-functions/| 31 | Yes |
@@ -75,7 +78,7 @@ If you want to add a new check, start at 70
7578
| 200 | Execution Plans | Nearly Parallel | http://brentozar.com/blitzcache/query-cost-near-cost-threshold-parallelism/ | 7 | No |
7679
| 200 | Execution Plans | Parallel | http://brentozar.com/blitzcache/parallel-plans-detected/ | 6 | No |
7780
| 200 | Indexes | Backwards Scans | https://www.brentozar.com/blitzcache/backwards-scans/ | 38 | Yes |
78-
| 200 | Is Paul White Electric? | This query has a Switch operator in it! | https://www.sql.kiwi/2013/06/hello-operator-my-switch-is-bored.html | 998 | Yes |
81+
| 200 | Is Paul White Electric? | This query has a Switch operator in it! | https://www.sql.kiwi/2013/06/hello-operator-my-switch-is-bored.html | 57 | Yes |
7982
| 200 | Trace Flags | Session Level Trace Flags Enabled | https://www.brentozar.com/blitz/trace-flags-enabled-globally/ | 29 | No |
8083
| 254 | Plan Cache Information | Breaks cache down by creation date (24/4/1 hrs) | None | 999 | No |
8184
| 255 | Global Trace Flags Enabled | You have Global Trace Flags enabled on your server | https://www.brentozar.com/blitz/trace-flags-enabled-globally/ | 1000 | No |

‎Documentation/sp_BlitzFirst_Checks_by_Priority.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ If you want to add a new check, start at 47
2525
| 1 | SQL Server Internal Maintenance | Log File Shrinking | https://BrentOzar.com/go/logsize | 14 |
2626
| 10 | Server Performance | Poison Wait Detected | https://BrentOzar.com/go/poison | 30 |
2727
| 10 | Server Performance | Target Memory Lower Than Max | https://BrentOzar.com/go/target | 35 |
28+
| 10 | Azure Performance | Database is Maxed Out | https://BrentOzar.com/go/maxedout | 41 |
2829
| 40 | Table Problems | Forwarded Fetches/Sec High | https://BrentOzar.com/go/fetch | 29 |
2930
| 50 | In-Memory OLTP | Garbage Collection in Progress | https://BrentOzar.com/go/garbage | 31 |
3031
| 50 | Query Problems | Compilations/Sec High | https://BrentOzar.com/go/compile | 15 |
Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
# sp_BlitzIndex Checks by Priority
2+
3+
This table lists all checks ordered by priority.
4+
5+
Before adding a new check, make sure to add a Github issue for it first, and have a group discussion about its priority, description, and findings URL.
6+
7+
If you want to change anything about a check - the priority, finding, URL, or ID - open a Github issue first. The relevant scripts have to be updated too.
8+
9+
CURRENT HIGH CHECKID: 120
10+
If you want to add a new check, start at 121.
11+
12+
| Priority | FindingsGroup | Finding | URL | CheckID |
13+
|----------|---------------------------------|---------------------------------------|-------------------------------------------------|----------|
14+
| 10 | Index Hoarder | Many NC Indexes on a Single Table | https://www.brentozar.com/go/IndexHoarder | 20 |
15+
| 10 | Index Hoarder | Unused NC Index with High Writes | https://www.brentozar.com/go/IndexHoarder | 22 |
16+
| 20 | Multiple Index Personalities | Duplicate Keys | https://www.brentozar.com/go/duplicateindex | 1 |
17+
| 30 | Multiple Index Personalities | Borderline Duplicate Keys | https://www.brentozar.com/go/duplicateindex | 2 |
18+
| 40 | Indexaphobia | High Value Missing Index | https://www.brentozar.com/go/indexaphobia | 50 |
19+
| 70 | Aggressive Indexes | Total Lock Time with Long Average Waits | https://www.brentozar.com/go/aggressiveindexes | 11 |
20+
| 70 | Aggressive Indexes | Total Lock Time with Short Average Waits | https://www.brentozar.com/go/aggressiveindexes | 12 |
21+
| 80 | Abnormal Psychology | Columnstore Indexes with Trace Flag 834 | https://support.microsoft.com/en-us/kb/3210239 | 72 |
22+
| 80 | Abnormal Psychology | Identity Column Near End of Range | https://www.brentozar.com/go/AbnormalPsychology | 68 |
23+
| 80 | Abnormal Psychology | Filter Columns Not In Index Definition | https://www.brentozar.com/go/IndexFeatures | 34 |
24+
| 90 | Functioning Statistaholics | Low Sampling Rates | https://www.brentozar.com/go/stats | 91 |
25+
| 90 | Functioning Statistaholics | Statistics Not Updated Recently | https://www.brentozar.com/go/stats | 90 |
26+
| 90 | Functioning Statistaholics | Statistics with NO RECOMPUTE | https://www.brentozar.com/go/stats | 92 |
27+
| 100 | Index Hoarder | NC index with High Writes:Reads | https://www.brentozar.com/go/IndexHoarder | 48 |
28+
| 100 | Self Loathing Indexes | Heap with a Nonclustered Primary Key | https://www.brentozar.com/go/SelfLoathing | 47 |
29+
| 100 | Self Loathing Indexes | Heap with Forwarded Fetches | https://www.brentozar.com/go/SelfLoathing | 43 |
30+
| 100 | Self Loathing Indexes | Large Active Heap | https://www.brentozar.com/go/SelfLoathing | 44 |
31+
| 100 | Self Loathing Indexes | Low Fill Factor on Clustered Index | https://www.brentozar.com/go/SelfLoathing | 40 |
32+
| 100 | Self Loathing Indexes | Low Fill Factor on Nonclustered Index | https://www.brentozar.com/go/SelfLoathing | 40 |
33+
| 100 | Self Loathing Indexes | Medium Active Heap | https://www.brentozar.com/go/SelfLoathing | 45 |
34+
| 100 | Self Loathing Indexes | Small Active Heap | https://www.brentozar.com/go/SelfLoathing | 46 |
35+
| 100 | Serial Forcer | Computed Column with Scalar UDF | https://www.brentozar.com/go/serialudf | 99 |
36+
| 100 | Serial Forcer | Check Constraint with Scalar UDF | https://www.brentozar.com/go/computedscalar | 94 |
37+
| 150 | Abnormal Psychology | Cascading Updates or Deletes | https://www.brentozar.com/go/AbnormalPsychology | 71 |
38+
| 150 | Abnormal Psychology | Columnstore Index | https://www.brentozar.com/go/AbnormalPsychology | 61 |
39+
| 150 | Abnormal Psychology | Column Collation Does Not Match Database Collation| https://www.brentozar.com/go/AbnormalPsychology | 69 |
40+
| 150 | Abnormal Psychology | Compressed Index | https://www.brentozar.com/go/AbnormalPsychology | 63 |
41+
| 150 | Abnormal Psychology | In-Memory OLTP | https://www.brentozar.com/go/AbnormalPsychology | 73 |
42+
| 150 | Abnormal Psychology | Non-Aligned Index on a Partitioned Table | https://www.brentozar.com/go/AbnormalPsychology | 65 |
43+
| 150 | Abnormal Psychology | Partitioned Index | https://www.brentozar.com/go/AbnormalPsychology | 64 |
44+
| 150 | Abnormal Psychology | Spatial Index | https://www.brentozar.com/go/AbnormalPsychology | 62 |
45+
| 150 | Abnormal Psychology | XML Index | https://www.brentozar.com/go/AbnormalPsychology | 60 |
46+
| 150 | Index Hoarder | Borderline: Wide Indexes (7 or More Columns) | https://www.brentozar.com/go/IndexHoarder | 23 |
47+
| 150 | Index Hoarder | More Than 5 Percent NC Indexes Are Unused | https://www.brentozar.com/go/IndexHoarder | 21 |
48+
| 150 | Index Hoarder | Non-Unique Clustered Index | https://www.brentozar.com/go/IndexHoarder | 28 |
49+
| 150 | Index Hoarder | Unused NC Index with Low Writes | https://www.brentozar.com/go/IndexHoarder | 29 |
50+
| 150 | Index Hoarder | Wide Clustered Index (>3 columns or >16 bytes) | https://www.brentozar.com/go/IndexHoarder | 24 |
51+
| 150 | Self Loathing Indexes | Disabled Index | https://www.brentozar.com/go/SelfLoathing | 42 |
52+
| 150 | Self Loathing Indexes | Hypothetical Index | https://www.brentozar.com/go/SelfLoathing | 41 |
53+
| 200 | Abnormal Psychology | Identity Column Using a Negative Seed or Increment Other Than 1 | https://www.brentozar.com/go/AbnormalPsychology | 74 |
54+
| 200 | Abnormal Psychology | Recently Created Tables/Indexes (1 week) | https://www.brentozar.com/go/AbnormalPsychology | 66 |
55+
| 200 | Abnormal Psychology | Recently Modified Tables/Indexes (2 days) | https://www.brentozar.com/go/AbnormalPsychology | 67 |
56+
| 200 | Abnormal Psychology | Replicated Columns | https://www.brentozar.com/go/AbnormalPsychology | 70 |
57+
| 200 | Abnormal Psychology | Temporal Tables | https://www.brentozar.com/go/AbnormalPsychology | 110 |
58+
| 200 | Cold Calculators | Definition Defeatists | https://www.brentozar.com/go/serialudf | 100 |
59+
| 200 | Functioning Statistaholics | Filter Fixation | https://www.brentozar.com/go/stats | 93 |
60+
| 200 | Index Hoarder | Addicted to Nulls | https://www.brentozar.com/go/IndexHoarder | 25 |
61+
| 200 | Index Hoarder | Addicted to Strings | https://www.brentozar.com/go/IndexHoarder | 27 |
62+
| 200 | Index Hoarder | Wide Tables: 35+ cols or > 2000 non-LOB bytes | https://www.brentozar.com/go/IndexHoarder | 26 |
63+
| 200 | Self Loathing Indexes | Heaps with Deletes | https://www.brentozar.com/go/SelfLoathing | 49 |
64+
| 200 | Workaholics | Scan-a-lots (index-usage-stats) | https://www.brentozar.com/go/Workaholics | 80 |
65+
| 200 | Workaholics | Top Recent Accesses (index-op-stats) | https://www.brentozar.com/go/Workaholics | 81 |
66+
| 250 | Feature-Phobic Indexes | Few Indexes Use Includes | https://www.brentozar.com/go/IndexFeatures | 31 |
67+
| 250 | Feature-Phobic Indexes | No Filtered Indexes or Indexed Views | https://www.brentozar.com/go/IndexFeatures | 32 |
68+
| 250 | Feature-Phobic Indexes | No Indexes Use Includes | https://www.brentozar.com/go/IndexFeatures | 30 |
69+
| 250 | Feature-Phobic Indexes | Potential Filtered Index (Based on Column Name) | https://www.brentozar.com/go/IndexFeatures | 33 |

‎Documentation/sp_Blitz_Checks_by_Priority.md‎

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,18 +6,20 @@ Before adding a new check, make sure to add a Github issue for it first, and hav
66

77
If you want to change anything about a check - the priority, finding, URL, or ID - open a Github issue first. The relevant scripts have to be updated too.
88

9-
CURRENT HIGH CHECKID: 255.
10-
If you want to add a new one, start at 256.
9+
CURRENT HIGH CHECKID: 256.
10+
If you want to add a new one, start at 257.
1111

1212
| Priority | FindingsGroup | Finding | URL | CheckID |
1313
|----------|-----------------------------|---------------------------------------------------------|------------------------------------------------------------------------|----------|
1414
| 0 | Outdated sp_Blitz | sp_Blitz is Over 6 Months Old | https://www.BrentOzar.com/blitz/ | 155 |
15+
| 0 | Informational | @CheckUserDatabaseObjects Disabled | https://www.BrentOzar.com/blitz/ | 201 |
1516
| 0 | Informational | @CheckUserDatabaseObjects Disabled | https://www.BrentOzar.com/blitz/ | 204 |
1617
| 0 | Informational | Some Checks Skipped | https://www.BrentOzar.com/blitz/ | 223 |
1718
| 1 | Backup | Backing Up to Same Drive Where Databases Reside | https://www.BrentOzar.com/go/backup | 93 |
1819
| 1 | Backup | Backups Not Performed Recently | https://www.BrentOzar.com/go/nobak | 1 |
1920
| 1 | Backup | Encryption Certificate Not Backed Up Recently | https://www.BrentOzar.com/go/tde | 202 |
2021
| 1 | Backup | Full Recovery Mode w/o Log Backups | https://www.BrentOzar.com/go/biglogs | 2 |
22+
| 1 | Backup | Log Backups to NUL | https://www.BrentOzar.com/go/nul | 256 |
2123
| 1 | Backup | TDE Certificate Not Backed Up Recently | https://www.BrentOzar.com/go/tde | 119 |
2224
| 1 | Corruption | Database Corruption Detected | https://www.BrentOzar.com/go/repair | 34 |
2325
| 1 | Corruption | Database Corruption Detected | https://www.BrentOzar.com/go/repair | 89 |
@@ -38,10 +40,10 @@ If you want to add a new one, start at 256.
3840
| 10 | Performance | DBCC DROPCLEANBUFFERS Ran Recently | https://www.BrentOzar.com/go/dbcc | 207 |
3941
| 10 | Performance | DBCC FREEPROCCACHE Ran Recently | https://www.BrentOzar.com/go/dbcc | 208 |
4042
| 10 | Performance | DBCC SHRINK% Ran Recently | https://www.BrentOzar.com/go/dbcc | 210 |
41-
| 10 | Performance | DBCC WRITEPAGE Used Recently | https://www.BrentOzar.com/go/dbcc | 209 |
4243
| 10 | Performance | High Memory Use for In-Memory OLTP (Hekaton) | https://www.BrentOzar.com/go/hekaton | 145 |
4344
| 10 | Performance | Memory Nodes Offline | https://www.BrentOzar.com/go/schedulers | 110 |
4445
| 10 | Performance | Plan Cache Erased Recently | https://www.BrentOzar.com/askbrent/plan-cache-erased-recently/ | 125 |
46+
| 10 | Reliability | DBCC WRITEPAGE Used Recently | https://www.BrentOzar.com/go/dbcc | 209 |
4547
| 10 | Reliability | Server restarted in last 24 hours | | 221 |
4648
| 20 | Reliability | Dangerous Build of SQL Server (Corruption) | http://sqlperformance.com/2014/06/sql-indexes/hotfix-sql-2012-rebuilds | 129 |
4749
| 20 | Reliability | Dangerous Build of SQL Server (Security) | https://technet.microsoft.com/en-us/library/security/MS14-044 | 157 |
@@ -62,7 +64,6 @@ If you want to add a new one, start at 256.
6264
| 50 | Performance | Snapshotting Too Many Databases | https://www.BrentOzar.com/go/toomanysnaps | 236 |
6365
| 50 | Performance | Too Much Free Memory | https://www.BrentOzar.com/go/freememory | 165 |
6466
| 50 | Performance | Wait Stats Cleared Recently| | 205 |
65-
| 50 | Reliability | DBCC WRITEPAGE Used Recently | https://www.BrentOzar.com/go/dbcc | 209 |
6667
| 50 | Reliability | Full Text Indexes Not Updating | https://www.BrentOzar.com/go/fulltext | 113 |
6768
| 50 | Reliability | Page Verification Not Optimal | https://www.BrentOzar.com/go/torn | 14 |
6869
| 50 | Reliability | Possibly Broken Log Shipping | https://www.BrentOzar.com/go/shipping | 111 |
@@ -134,15 +135,13 @@ If you want to add a new one, start at 256.
134135
| 170 | Reliability | Errors Logged Recently in the Default Trace | https://www.BrentOzar.com/go/defaulttrace | 150 |
135136
| 170 | Reliability | Max File Size Set | https://www.BrentOzar.com/go/maxsize | 80 |
136137
| 170 | Reliability | Remote Admin Connections Disabled | https://www.BrentOzar.com/go/dac | 100 |
137-
| 200 | Backup | Backing Up Unneeded Database | https://www.BrentOzar.com/go/reportservertempdb | 127 |
138138
| 200 | Backup | MSDB Backup History Not Purged | https://www.BrentOzar.com/go/history | 3 |
139139
| 200 | Backup | MSDB Backup History Purged Too Frequently | https://www.BrentOzar.com/go/history | 186 |
140140
| 200 | Informational | @@Servername not set | https://www.BrentOzar.com/go/servername | 70 |
141141
| 200 | Informational | Agent Jobs Starting Simultaneously | https://www.BrentOzar.com/go/busyagent | 123 |
142142
| 200 | Informational | Backup Compression Default Off | https://www.BrentOzar.com/go/backup | 116 |
143143
| 200 | Informational | Cluster Node | https://www.BrentOzar.com/go/node | 53 |
144144
| 200 | Informational | Collation different than tempdb | https://www.BrentOzar.com/go/collate | 76 |
145-
| 200 | Informational | Database Collation Mismatch | https://www.BrentOzar.com/go/collate | 58 |
146145
| 200 | Informational | Database Encrypted | https://www.BrentOzar.com/go/tde | 21 |
147146
| 200 | Informational | Date Correlation On | https://www.BrentOzar.com/go/corr | 20 |
148147
| 200 | Informational | Linked Server Configured | https://www.BrentOzar.com/go/link | 49 |
@@ -257,7 +256,6 @@ If you want to add a new one, start at 256.
257256
| 210 | Non-Default Database Config | Delayed Durability Enabled | https://www.BrentOzar.com/go/dbdefaults | 143 |
258257
| 210 | Non-Default Database Config | Forced Parameterization Enabled | https://www.BrentOzar.com/go/dbdefaults | 138 |
259258
| 210 | Non-Default Database Config | Memory Optimized Enabled | https://www.BrentOzar.com/go/dbdefaults | 144 |
260-
| 210 | Non-Default Database Config | Query Store Enabled | https://www.BrentOzar.com/go/dbdefaults | 139 |
261259
| 210 | Non-Default Database Config | Read Committed Snapshot Isolation Enabled | https://www.BrentOzar.com/go/dbdefaults | 133 |
262260
| 210 | Non-Default Database Config | Recursive Triggers Enabled | https://www.BrentOzar.com/go/dbdefaults | 136 |
263261
| 210 | Non-Default Database Config | Snapshot Isolation Enabled | https://www.BrentOzar.com/go/dbdefaults | 132 |

0 commit comments

Comments
 (0)