Skip to content

Commit 3289bb6

Browse files
committed
Fix and format
This will take care of the large file size overflow error.
1 parent becf136 commit 3289bb6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sp_Blitz.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5024,7 +5024,7 @@ IF @ProductVersionMajor >= 10
50245024
''File Configuration'' AS FindingsGroup,
50255025
''File growth set to percent'',
50265026
''https://BrentOzar.com/go/percentgrowth'' AS URL,
5027-
''The ['' + DB_NAME() + ''] database file '' + f.physical_name + '' has grown to '' + CAST((CONVERT(BIGINT, f.size * 8) / 1000000) AS NVARCHAR(10)) + '' GB, and is using percent filegrowth settings. This can lead to slow performance during growths if Instant File Initialization is not enabled.''
5027+
''The ['' + DB_NAME() + ''] database file '' + f.physical_name + '' has grown to '' + CONVERT(NVARCHAR(10), CONVERT(NUMERIC(38, 2), (f.size / 128.) / 1024.)) + '' GB, and is using percent filegrowth settings. This can lead to slow performance during growths if Instant File Initialization is not enabled.''
50285028
FROM [?].sys.database_files f
50295029
WHERE is_percent_growth = 1 and size > 128000 OPTION (RECOMPILE);';
50305030
END;

0 commit comments

Comments
 (0)