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_Blitz_Checks_by_Priority.md
+4-2Lines changed: 4 additions & 2 deletions
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.
Copy file name to clipboardExpand all lines: sp_Blitz.sql
+64-2Lines changed: 64 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -6787,7 +6787,69 @@ IF @ProductVersionMajor >= 10
6787
6787
(''The new SQL Server 2017 Query Store feature for tracking wait stats has not been enabled on this database. It is very useful for tracking wait stats at a query level.'')
(''You have asked for Query Store to be in '' + desired_state_desc + '' mode, but it is in '' + actual_state_desc + '' mode.'')
6850
+
FROM [?].sys.database_query_store_options
6851
+
WHERE desired_state <> 0
6852
+
AND desired_state <> actual_state
6791
6853
OPTION (RECOMPILE)';
6792
6854
END;
6793
6855
@@ -8419,7 +8481,7 @@ IF @ProductVersionMajor >= 10
8419
8481
WHEN [T].[TraceFlag] ='3226'THEN'3226 enabled globally, which keeps the event log clean by not reporting successful backups.'
8420
8482
WHEN [T].[TraceFlag] ='3505'THEN'3505 enabled globally, which disables Checkpoints. This is usually a very bad idea.'
8421
8483
WHEN [T].[TraceFlag] ='4199'THEN'4199 enabled globally, which enables non-default Query Optimizer fixes, changing query plans from the default behaviors.'
8422
-
WHEN [T].[TraceFlag] ='7745'AND @ProductVersionMajor >12AND @QueryStoreInUse =1THEN'7745 enabled globally, which makes shutdowns/failovers quicker by not waiting for Query Store to flush to disk. This good idea loses you the non-flused Query Store data.'
8484
+
WHEN [T].[TraceFlag] ='7745'AND @ProductVersionMajor >12AND @QueryStoreInUse =1THEN'7745 enabled globally, which makes shutdowns/failovers quicker by not waiting for Query Store to flush to disk. This good idea loses you the non-flushed Query Store data.'
8423
8485
WHEN [T].[TraceFlag] ='7745'AND @ProductVersionMajor >12THEN'7745 enabled globally, which is for Query Store. None of your databases have Query Store enabled, so why do you have this turned on?'
8424
8486
WHEN [T].[TraceFlag] ='7745'AND @ProductVersionMajor <=12THEN'7745 enabled globally, which is for Query Store. Query Store does not exist on your SQL Server version, so why do you have this turned on?'
8425
8487
WHEN [T].[TraceFlag] ='7752'AND @ProductVersionMajor >14THEN'7752 enabled globally, which is for Query Store. However, it has no effect in your SQL Server version. Consider turning it off.'
0 commit comments