@@ -3366,7 +3366,7 @@ SET b.frequent_execution = CASE WHEN wm.xpm > @execution_threshold THEN 1 END
33663366	 b .low_cost_high_cpu  =  CASE  WHEN  b .query_cost  <  @ctp AND  wm .avg_cpu_time  >  500 . AND  b .query_cost  *  10  <  wm .avg_cpu_time  THEN  1  END ,
33673367	 b .is_spool_expensive  =  CASE  WHEN  b .query_cost  >  (@ctp /  2 ) AND  b .index_spool_cost  >=  b .query_cost  *  .1  THEN  1  END ,
33683368	 b .is_spool_more_rows  =  CASE  WHEN  b .index_spool_rows  >=  wm .min_rowcount  THEN  1  END ,
3369- 	 b .is_bad_estimate  =  CASE  WHEN  wm .avg_rowcount  >  0  AND  (b .estimated_rows  *  10000  <  wm .avg_rowcount  OR  b .estimated_rows  >  wm .avg_rowcount  *  10000 ) THEN  1  END ,
3369+ 	 b .is_bad_estimate  =  CASE  WHEN  wm .avg_rowcount  >  0  AND  (b .estimated_rows  *  1000  <  wm .avg_rowcount  OR  b .estimated_rows  >  wm .avg_rowcount  *  1000 ) THEN  1  END ,
33703370	 b .is_big_log  =  CASE  WHEN  wm .avg_log_bytes_used  >=  (@log_size_mb /  2 .) THEN  1  END ,
33713371	 b .is_big_tempdb  =  CASE  WHEN  wm .avg_tempdb_space_used  >=  (@avg_tempdb_data_file /  2 .) THEN  1  END 
33723372FROM  #working_warnings AS  b
@@ -4227,7 +4227,7 @@ BEGIN
42274227 100 ,
42284228 ' Many Indexes Modified'
42294229 ' Write Queries Are Hitting >= 5 Indexes'
4230-  ' No URL yet '
4230+  ' https://www.brentozar.com/blitzcache/many-indexes-modified/ '
42314231 ' This can cause lots of hidden I/O -- Run sp_BlitzIndex for more information.'
42324232
42334233 IF  EXISTS  (SELECT  1 / 0 
@@ -4240,7 +4240,7 @@ BEGIN
42404240 100 ,
42414241 ' Plan Confusion'
42424242 ' Row Level Security is in use'
4243-  ' No URL yet '
4243+  ' https://www.brentozar.com/blitzcache/row-level-security/ '
42444244 ' You may see a lot of confusing junk in your query plan.'
42454245
42464246 IF  EXISTS  (SELECT  1 / 0 
@@ -4253,7 +4253,7 @@ BEGIN
42534253 200 ,
42544254 ' Spatial Abuse'
42554255 ' You hit a Spatial Index'
4256-  ' No URL yet '
4256+  ' https://www.brentozar.com/blitzcache/spatial-indexes/ '
42574257 ' Purely informational.'
42584258
42594259 IF  EXISTS  (SELECT  1 / 0 
@@ -4266,7 +4266,7 @@ BEGIN
42664266 150 ,
42674267 ' Index DML'
42684268 ' Indexes were created or dropped'
4269-  ' No URL yet '
4269+  ' https://www.brentozar.com/blitzcache/index-dml/ '
42704270 ' This can cause recompiles and stuff.'
42714271
42724272 IF  EXISTS  (SELECT  1 / 0 
@@ -4279,7 +4279,7 @@ BEGIN
42794279 150 ,
42804280 ' Table DML'
42814281 ' Tables were created or dropped'
4282-  ' No URL yet '
4282+  ' https://www.brentozar.com/blitzcache/table-dml/ '
42834283 ' This can cause recompiles and stuff.'
42844284
42854285 IF  EXISTS  (SELECT  1 / 0 
@@ -4292,7 +4292,7 @@ BEGIN
42924292 150 ,
42934293 ' Long Running Low CPU'
42944294 ' You have a query that runs for much longer than it uses CPU'
4295-  ' No URL yet '
4295+  ' https://www.brentozar.com/blitzcache/long-running-low-cpu/ '
42964296 ' This can be a sign of blocking, linked servers, or poor client application code (ASYNC_NETWORK_IO).'
42974297
42984298 IF  EXISTS  (SELECT  1 / 0 
@@ -4305,7 +4305,7 @@ BEGIN
43054305 150 ,
43064306 ' Low Cost Query With High CPU'
43074307 ' You have a low cost query that uses a lot of CPU'
4308-  ' No URL yet '
4308+  ' https://www.brentozar.com/blitzcache/low-cost-high-cpu/ '
43094309 ' This can be a sign of functions or Dynamic SQL that calls black-box code.'
43104310
43114311 IF  EXISTS  (SELECT  1 / 0 
@@ -4318,7 +4318,7 @@ BEGIN
43184318 150 ,
43194319 ' Biblical Statistics'
43204320 ' Statistics used in queries are >7 days old with >100k modifications'
4321-  ' No URL yet '
4321+  ' https://www.brentozar.com/blitzcache/stale-statistics/ '
43224322 ' Ever heard of updating statistics?'
43234323
43244324 IF  EXISTS  (SELECT  1 / 0 
@@ -4331,7 +4331,7 @@ BEGIN
43314331 150 ,
43324332 ' Adaptive joins'
43334333 ' This is pretty cool -- you'' re living in the future.'
4334-  ' No URL yet '
4334+  ' https://www.brentozar.com/blitzcache/adaptive-joins/ '
43354335 ' Joe Sack rules.'
43364336
43374337 IF  EXISTS  (SELECT  1 / 0 
@@ -4344,7 +4344,7 @@ BEGIN
43444344 150 ,
43454345 ' Expensive Index Spool'
43464346 ' You have an index spool, this is usually a sign that there'' s an index missing somewhere.'
4347-  ' No URL yet '
4347+  ' https://www.brentozar.com/blitzcache/eager-index-spools/ '
43484348 ' Check operator predicates and output for index definition guidance'
43494349
43504350 IF  EXISTS  (SELECT  1 / 0 
@@ -4357,7 +4357,7 @@ BEGIN
43574357 150 ,
43584358 ' Index Spools Many Rows'
43594359 ' You have an index spool that spools more rows than the query returns'
4360-  ' No URL yet '
4360+  ' https://www.brentozar.com/blitzcache/eager-index-spools/ '
43614361 ' Check operator predicates and output for index definition guidance'
43624362
43634363 IF  EXISTS  (SELECT  1 / 0 
@@ -4370,7 +4370,7 @@ BEGIN
43704370 100 ,
43714371 ' Potentially bad cardinality estimates'
43724372 ' Estimated rows are different from average rows by a factor of 10000'
4373-  ' No URL yet '
4373+  ' https://www.brentozar.com/blitzcache/bad-estimates/ '
43744374 ' This may indicate a performance problem if mismatches occur regularly'
43754375
43764376 IF  EXISTS  (SELECT  1 / 0 
@@ -4383,7 +4383,7 @@ BEGIN
43834383 100 ,
43844384 ' High transaction log use'
43854385 ' This query on average uses more than half of the transaction log'
4386-  ' michaeljswart.com/2014/09/take-care-when-scripting-batches/'
4386+  ' http:// michaeljswart.com/2014/09/take-care-when-scripting-batches/'
43874387 ' This is probably a sign that you need to start batching queries'
43884388
43894389 IF  EXISTS  (SELECT  1 / 0 
@@ -4418,7 +4418,7 @@ BEGIN
44184418				200 ,
44194419				' Database Level Statistics'
44204420				' The database '+  sa.[database] +  '  last had a stats update on '+  CONVERT (NVARCHAR (10 ), CONVERT (DATE , MAX (sa .last_update ))) +  '  and has '+  CONVERT (NVARCHAR (10 ), AVG (sa .modification_count )) +  '  modifications on average.'AS  Finding,
4421- 				' 'AS  URL ,
4421+ 				' https://www.brentozar.com/blitzcache/stale-statistics/ 'AS  URL ,
44224422				' Consider updating statistics more frequently,'AS  Details
44234423				FROM  #stats_agg AS  sa
44244424				GROUP BY  sa.[database]
0 commit comments