You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Documentation/sp_BlitzIndex_Checks_by_Priority.md
+3-2Lines changed: 3 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,8 +6,8 @@ Before adding a new check, make sure to add a Github issue for it first, and hav
6
6
7
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.
'The statistics sample rate/amount has been persisted here. '+CONVERT(NVARCHAR(100), s.percent_sampled) +'% of the rows were sampled during the last statistics update. This may indicate that somebody is doing statistics rocket surgery. Perhaps you would be better off updating statistics more frequently?'AS details,
4524
+
QUOTENAME(database_name) +'.'+QUOTENAME(s.schema_name) +'.'+QUOTENAME(s.table_name) +'.'+QUOTENAME(s.index_name) +'.'+QUOTENAME(s.statistics_name) +'.'+QUOTENAME(s.column_names) AS index_definition,
4525
+
'N/A'AS secret_columns,
4526
+
'N/A'AS index_usage_summary,
4527
+
'N/A'AS index_size_summary
4528
+
FROM #StatisticsAS s
4529
+
WHEREs.has_persisted_sample=1
4530
+
OPTION ( RECOMPILE );
4531
+
4506
4532
RAISERROR(N'check_id 92: Statistics with NO RECOMPUTE', 0,1) WITHNOWAIT;
0 commit comments