From d67eb907ec9cf80704c4b3fdc8eacefcb1f05a3a Mon Sep 17 00:00:00 2001 From: Vlad Drumea <48413726+VladDBA@users.noreply.github.com> Date: Tue, 4 Jun 2024 00:13:26 +0300 Subject: [PATCH] Forgot some comments --- Resources/GetIndexInfoForWholeDB.sql | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Resources/GetIndexInfoForWholeDB.sql b/Resources/GetIndexInfoForWholeDB.sql index 36e8cc4..7ec1295 100644 --- a/Resources/GetIndexInfoForWholeDB.sql +++ b/Resources/GetIndexInfoForWholeDB.sql @@ -27,9 +27,9 @@ SET TRANSACTION ISOLATION LEVEL READ UNCOMMITTED; WHERE [ix].[type] IN(0, 1,2,3,4,5,6,7) AND [obj].[name] <> N'BlitzWho_AzureSQLDBReplace' AND [obj].[type] in ('U', 'V') - --AND [ips].[avg_fragmentation_in_percent] > 0 + AND [ips].[avg_fragmentation_in_percent] > 0 /*only tables larger than ~400MB */ - --AND [ips].[page_count] >= 52000 + AND [ips].[page_count] >= 52000 AND obj.object_id not in (SELECT l.resource_associated_entity_id FROM sys.dm_tran_locks l