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
CASEWHEN [T].[TraceFlag] ='652'THEN'652 enabled globally, which disables pre-fetching during index scans. This is usually a very bad idea.'
@@ -8372,6 +8388,13 @@ IF @ProductVersionMajor >= 10
8372
8388
WHEN [T].[TraceFlag] ='3226'THEN'3226 enabled globally, which keeps the event log clean by not reporting successful backups.'
8373
8389
WHEN [T].[TraceFlag] ='3505'THEN'3505 enabled globally, which disables Checkpoints. This is usually a very bad idea.'
8374
8390
WHEN [T].[TraceFlag] ='4199'THEN'4199 enabled globally, which enables non-default Query Optimizer fixes, changing query plans from the default behaviors.'
8391
+
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.'
8392
+
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?'
8393
+
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?'
8394
+
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.'
8395
+
WHEN [T].[TraceFlag] ='7752'AND @ProductVersionMajor >12AND @QueryStoreInUse =1THEN'7752 enabled globally, which stops queries needing to wait on Query Store loading up after database recovery.'
8396
+
WHEN [T].[TraceFlag] ='7752'AND @ProductVersionMajor >12THEN'7752 enabled globally, which is for Query Store. None of your databases have Query Store enabled, so why do you have this turned on?'
8397
+
WHEN [T].[TraceFlag] ='7752'AND @ProductVersionMajor <=12THEN'7752 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?'
8375
8398
WHEN [T].[TraceFlag] ='8048'THEN'8048 enabled globally, which tries to reduce CMEMTHREAD waits on servers with a lot of logical processors.'
8376
8399
WHEN [T].[TraceFlag] ='8017'AND (CAST(SERVERPROPERTY('Edition') ASNVARCHAR(1000)) LIKEN'%Express%') THEN'8017 is enabled globally, but this is the default for Express Edition.'
8377
8400
WHEN [T].[TraceFlag] ='8017'AND (CAST(SERVERPROPERTY('Edition') ASNVARCHAR(1000)) NOTLIKEN'%Express%') THEN'8017 is enabled globally, which disables the creation of schedulers for all logical processors.'
0 commit comments