Browse Source

BPCheck v2.4.3

Extended deprecated features subsection;
Fixed conversion errors in Missing Indexes subsection.
pmasl 6 years ago
parent
commit
43156b8161
2 changed files with 11 additions and 10 deletions
  1. 3 1
      BPCheck/Changelog.txt
  2. 8 9
      BPCheck/Check_BP_Servers.sql

+ 3 - 1
BPCheck/Changelog.txt

@@ -384,4 +384,6 @@ v2.4.1.6 - 08/20/2019 - Reviewed entire trace flag check section;
 v2.4.1.6.1 - 08/21/2019 - Fixed syntax errors in trace flag section.
 v2.4.2 - 08/28/2019 - Fixed various string formatting issues (Thanks Alex Protesenko);						
 						Updated Indexes with large keys check for SQL 2016+ (Thanks Petar Trbos);
-						Fixed PK violation in Foreign Keys with no Index check (Thanks Scott Ivey).
+						Fixed PK violation in Foreign Keys with no Index check (Thanks Scott Ivey).
+v2.4.3 - 10/07/2019 - Extended deprecated features subsection;
+						Fixed conversion errors in Missing Indexes subsection.

+ 8 - 9
BPCheck/Check_BP_Servers.sql

@@ -6082,12 +6082,11 @@ BEGIN
 	SELECT 'sys.trace_categories', 12, NULL UNION ALL
 	SELECT 'sys.trace_columns', 12, NULL UNION ALL
 	SELECT 'sys.trace_subclass_values', 12, NULL UNION ALL
-	-- discontinued on sql 2017
-	SELECT 'sp_addremotelogin', 10, 14 UNION ALL
-	SELECT 'sp_dropremotelogin', 10, 14 UNION ALL
-	SELECT 'sp_helpremotelogin', 10, 14 UNION ALL
-	SELECT 'sp_remoteoption', 10, 14
-
+	-- discontinued on sql 2019
+	SELECT 'disable_interleaved_execution_tvf', 10, 15 UNION ALL -- as DB Scoped config
+	SELECT 'disable_batch_mode_memory_grant_feedback', 10, 15 UNION ALL -- as DB Scoped config
+	SELECT 'disable_batch_mode_adaptive_joins', 10, 15 -- as DB Scoped config
+	
 	UPDATE #tmpdbs0
 	SET isdone = 0;
 
@@ -11137,10 +11136,10 @@ END'')
 		DBName NVARCHAR(1000),
 		[Table] NVARCHAR(255),
 		[ix_handle] int,
-		[User_Hits_on_Missing_Index] int,
+		[User_Hits_on_Missing_Index] bigint,
 		[Estimated_Improvement_Percent] DECIMAL(5,2),
-		[Avg_Total_User_Cost] int,
-		[Unique_Compiles] int,
+		[Avg_Total_User_Cost] float,
+		[Unique_Compiles] bigint,
 		[Score] NUMERIC(19,3),
 		[KeyCols] NVARCHAR(1000),
 		[IncludedCols] NVARCHAR(4000),