Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
47 commits
Select commit Hold shift + click to select a range
60cee45
look for existing output table in sys.schemas
rodik Jul 16, 2025
802f35f
add explicit schema to synonym
rodik Jul 16, 2025
b7e3275
Set @is_query_store_on Default Value to NULL
bwiggin10 Jul 22, 2025
2aa89ef
additional wildcard in where condition check 260 / 261
DiHo78 Jul 22, 2025
f712b79
check 261 fix temp table for "can't piggyback"
DiHo78 Jul 22, 2025
7715760
determine German OS for xp_cmdshell call Check 260 and 261
DiHo78 Jul 23, 2025
8332654
Merge pull request #3675 from bwiggin10/patch-1
BrentOzar Jul 25, 2025
64d3ac1
Merge pull request #3672 from rodik/feat-blitzlock-minor-fixes-2025-0…
BrentOzar Jul 25, 2025
198b993
Merge pull request #3676 from DiHo78/edgecaseFix-3673
BrentOzar Jul 25, 2025
cee92d7
#3677 versions updates
BrentOzar Jul 25, 2025
469fe65
Merge pull request #3678 from BrentOzarULTD/3677_versions_bug_and_new…
BrentOzar Jul 25, 2025
7fdf602
fix for sp conversion info length
DForck42 Aug 7, 2025
f919198
Update sp_Blitz.sql add checks to skip on MI
PowerDBAKlaas Aug 19, 2025
6a2a133
Added @UsualOwnerOfJobs to be used in CheckID 6 Jobs Owned By Users
JamesDavis-Aviagen Aug 19, 2025
4ae548e
Changed CheckID 183 TempDB Unevenly Sized Data Files to Percent Diffe…
JamesDavis-Aviagen Aug 20, 2025
9ad7306
Removing other change that got declined.
JamesDavis-Aviagen Aug 20, 2025
52dbf3d
Merge pull request #3682 from DForck42/dev
BrentOzar Aug 27, 2025
2679bc0
Merge pull request #3686 from PowerDBAKlaas/sp_BlitzMIExclusions
BrentOzar Aug 27, 2025
e386bf4
Merge pull request #3687 from JamesDavis-Aviagen/James2
BrentOzar Aug 27, 2025
47b5482
#3690 sp_Blitz memory pressure
BrentOzar Aug 27, 2025
9fa0416
Merge pull request #3691 from BrentOzarULTD/3690_sp_Blitz_memory_pres…
BrentOzar Aug 27, 2025
dd66b83
#3692 sp_BlitzFirst memory pressure
BrentOzar Aug 27, 2025
4263602
Merge pull request #3693 from BrentOzarULTD/3692_sp_BlitzFirst_memory…
BrentOzar Aug 27, 2025
6f0e204
sp_BlitzIndex: Added warning for persisted sample rates.
ReeceGoding Aug 3, 2025
c689a58
Added @UsualStatisticsSamplingPercent parameter and comparison to mat…
ReeceGoding Aug 27, 2025
320e778
#3695 sp_BlitzFirst clarify restore name
BrentOzar Aug 28, 2025
9ee6c1c
Merge pull request #3696 from BrentOzarULTD/3695_BlitzFirst_restore_name
BrentOzar Aug 28, 2025
f81d599
#3694 sp_BlitzWho live plans
BrentOzar Aug 28, 2025
7c4868b
Merge pull request #3697 from BrentOzarULTD/3694_sp_BlitzWho_liveplans
BrentOzar Aug 28, 2025
f8300d4
Merge pull request #3680 from ReeceGoding/add-persisted-stats-warning
BrentOzar Aug 28, 2025
40ef60c
#3680 sp_BlitzIndex stats sampling
BrentOzar Aug 28, 2025
dad3a13
Merge pull request #3698 from BrentOzarULTD/3680_BlitzIndex_stats_sam…
BrentOzar Aug 28, 2025
81ca079
Edited comments to reflect check id 126 being moved.
ReeceGoding Aug 31, 2025
20c2257
sp_BlitzIndex: Added check for partitioned tables without incremental…
ReeceGoding Aug 31, 2025
21d2c05
Merge pull request #3700 from ReeceGoding/Warn-if-incremental
BrentOzar Sep 3, 2025
b32c61a
minor typo in sp_BlitzFirst.sql
Eilandor Sep 4, 2025
c2dbcf9
Merge pull request #3703 from Eilandor/patch-1
BrentOzar Sep 4, 2025
ee7c4d3
Made modifications_before_auto_update a BIGINT. Closes #3701 but I ca…
ReeceGoding Sep 4, 2025
3cff833
Tests in sp_BlitzIndex to exclude indexes created within 7 days or mo…
TooMuchBlue Sep 8, 2025
0e3c131
A few improvements for Linux
tkwj Sep 14, 2025
0f824b0
3708_BlitzFirst_MI_operations
BrentOzar Sep 25, 2025
a18aba6
Merge pull request #3709 from BrentOzarULTD/3708_BlitzFirst_MI_operat…
BrentOzar Sep 25, 2025
363d0ed
Merge pull request #3707 from tkwj/linux-fixes
BrentOzar Sep 25, 2025
a4208fa
Merge pull request #3704 from ReeceGoding/modifications_before_auto_u…
BrentOzar Sep 25, 2025
1b2a980
Merge pull request #3705 from TooMuchBlue/fix-recent-change-checks
BrentOzar Sep 25, 2025
ccfafbc
2025-10-02 Release
BrentOzar Oct 2, 2025
04124df
Merge pull request #3714 from BrentOzarULTD/20251002_release
BrentOzar Oct 2, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions Documentation/sp_BlitzFirst_Checks_by_Priority.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ Before adding a new check, make sure to add a Github issue for it first, and hav

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.

CURRENT HIGH CHECKID: 51
If you want to add a new check, start at 52.
CURRENT HIGH CHECKID: 53
If you want to add a new check, start at 54.

| Priority | FindingsGroup | Finding | URL | CheckID |
|----------|---------------------------------|---------------------------------------|-------------------------------------------------|----------|
Expand All @@ -23,6 +23,7 @@ If you want to add a new check, start at 52.
| 1 | SQL Server Internal Maintenance | Data File Growing | https://www.brentozar.com/go/instant | 4 |
| 1 | SQL Server Internal Maintenance | Log File Growing | https://www.brentozar.com/go/logsize | 13 |
| 1 | SQL Server Internal Maintenance | Log File Shrinking | https://www.brentozar.com/go/logsize | 14 |
| 10 | Server Performance | Memory Dangerously Low Recently | https://www.brentozar.com/go/memhist | 52 |
| 10 | Server Performance | Poison Wait Detected | https://www.brentozar.com/go/poison | 30 |
| 10 | Server Performance | Target Memory Lower Than Max | https://www.brentozar.com/go/target | 35 |
| 10 | Azure Performance | Database is Maxed Out | https://www.brentozar.com/go/maxedout | 41 |
Expand All @@ -35,6 +36,7 @@ If you want to add a new check, start at 52.
| 50 | Query Problems | Re-Compilations/Sec High | https://www.brentozar.com/go/recompile | 16 |
| 50 | Query Problems | Statistics Updated Recently | https://www.brentozar.com/go/stats | 44 |
| 50 | Query Problems | High Percentage Of Runnable Queries | https://erikdarlingdata.com/go/RunnableQueue/ | 47 |
| 50 | Server Performance | Azure Operation Ongoing | https://learn.microsoft.com/en-us/sql/relational-databases/system-dynamic-management-views/sys-dm-operation-status-azure-sql-database | 53 |
| 50 | Server Performance | High CPU Utilization | https://www.brentozar.com/go/cpu | 24 |
| 50 | Server Performance | High CPU Utilization - Non SQL Processes | https://www.brentozar.com/go/cpu | 28 |
| 50 | Server Performance | Slow Data File Reads | https://www.brentozar.com/go/slow | 11 |
Expand Down
133 changes: 68 additions & 65 deletions Documentation/sp_BlitzIndex_Checks_by_Priority.md

Large diffs are not rendered by default.

5 changes: 3 additions & 2 deletions Documentation/sp_Blitz_Checks_by_Priority.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ Before adding a new check, make sure to add a Github issue for it first, and hav

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.

CURRENT HIGH CHECKID: 269.
If you want to add a new one, start at 270.
CURRENT HIGH CHECKID: 270.
If you want to add a new one, start at 271.

| Priority | FindingsGroup | Finding | URL | CheckID |
|----------|-----------------------------|---------------------------------------------------------|------------------------------------------------------------------------|----------|
Expand All @@ -26,6 +26,7 @@ If you want to add a new one, start at 270.
| 1 | Corruption | Database Corruption Detected | https://www.BrentOzar.com/go/repair | 90 |
| 1 | Performance | Memory Dangerously Low | https://www.BrentOzar.com/go/max | 51 |
| 1 | Performance | Memory Dangerously Low in NUMA Nodes | https://www.BrentOzar.com/go/max | 159 |
| 1 | Performance | Memory Dangerously Low Recently | https://www.BrentOzar.com/go/memhistory | 270 |
| 1 | Reliability | Evaluation Edition | https://www.BrentOzar.com/go/workgroup | 229 |
| 1 | Reliability | Last good DBCC CHECKDB over 2 weeks old | https://www.BrentOzar.com/go/checkdb | 68 |
| 1 | Security | Dangerous Service Account | https://vladdba.com/SQLServerSvcAccount | 258 |
Expand Down
404 changes: 332 additions & 72 deletions Install-All-Scripts.sql

Large diffs are not rendered by default.

298 changes: 246 additions & 52 deletions Install-Azure.sql

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -288,6 +288,7 @@ In addition to the [parameters common to many of the stored procedures](#paramet

* @SkipPartitions = 1 - add this if you want to analyze large partitioned tables. We skip these by default for performance reasons.
* @SkipStatistics = 0 - right now, by default, we skip statistics analysis because we've had some performance issues on this.
* @UsualStatisticsSamplingPercent = 100 (default) - By default, @SkipStatistics = 0 with either @Mode = 0 or @Mode = 4 does not inform you of persisted statistics sample rates if that rate is 100. Use a different float if you usually persist a different sample percentage and do not want to be warned about it. Use NULL if you want to hear about every persisted sample rate.
* @Filter = 0 (default) - 1=No low-usage warnings for objects with 0 reads. 2=Only warn for objects >= 500MB
* @OutputDatabaseName, @OutputSchemaName, @OutputTableName - these only work for @Mode = 2, index usage detail.

Expand Down
21 changes: 18 additions & 3 deletions SqlServerVersions.sql
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,15 @@ DELETE FROM dbo.SqlServerVersions;
INSERT INTO dbo.SqlServerVersions
(MajorVersionNumber, MinorVersionNumber, Branch, [Url], ReleaseDate, MainstreamSupportEndDate, ExtendedSupportEndDate, MajorVersionName, MinorVersionName)
VALUES
/*2022*/
/*2025*/
(17, 925, 'RC1', 'https://info.microsoft.com/ww-landing-sql-server-2025.html', '2025-09-17', '2025-12-31', '2025-12-31', 'SQL Server 2025', 'Preview RC1'),
(17, 900, 'RC0', 'https://info.microsoft.com/ww-landing-sql-server-2025.html', '2025-08-20', '2025-12-31', '2025-12-31', 'SQL Server 2025', 'Preview RC0'),
(17, 800, 'CTP 2.1', 'https://info.microsoft.com/ww-landing-sql-server-2025.html', '2025-06-16', '2025-12-31', '2025-12-31', 'SQL Server 2025', 'Preview CTP 2.1'),
(17, 700, 'CTP 2.0', 'https://info.microsoft.com/ww-landing-sql-server-2025.html', '2025-05-19', '2025-12-31', '2025-12-31', 'SQL Server 2025', 'Preview CTP 2.0'),
/*2022*/
(16, 4215, 'CU21', 'https://learn.microsoft.com/en-us/troubleshoot/sql/releases/sqlserver-2022/cumulativeupdate21', '2025-09-11', '2028-01-11', '2033-01-11', 'SQL Server 2022', 'Cumulative Update 21'),
(16, 4205, 'CU20', 'https://learn.microsoft.com/en-us/troubleshoot/sql/releases/sqlserver-2022/cumulativeupdate20', '2025-07-10', '2028-01-11', '2033-01-11', 'SQL Server 2022', 'Cumulative Update 20'),
(16, 4200, 'CU19 GDR', 'https://support.microsoft.com/en-us/help/5058721', '2025-07-08', '2028-01-11', '2033-01-11', 'SQL Server 2022', 'Cumulative Update 19 GDR'),
(16, 4195, 'CU19', 'https://learn.microsoft.com/en-us/troubleshoot/sql/releases/sqlserver-2022/cumulativeupdate19', '2025-05-19', '2028-01-11', '2033-01-11', 'SQL Server 2022', 'Cumulative Update 19'),
(16, 4185, 'CU18', 'https://learn.microsoft.com/en-us/troubleshoot/sql/releases/sqlserver-2022/cumulativeupdate18', '2025-03-13', '2028-01-11', '2033-01-11', 'SQL Server 2022', 'Cumulative Update 18'),
(16, 4175, 'CU17', 'https://learn.microsoft.com/en-us/troubleshoot/sql/releases/sqlserver-2022/cumulativeupdate17', '2025-01-16', '2028-01-11', '2033-01-11', 'SQL Server 2022', 'Cumulative Update 17'),
Expand All @@ -70,8 +75,11 @@ VALUES
(16, 1050, 'RTM GDR', 'https://support.microsoft.com/kb/5021522', '2023-02-14', '2028-01-11', '2033-01-11', 'SQL Server 2022 GDR', 'RTM'),
(16, 1000, 'RTM', '', '2022-11-15', '2028-01-11', '2033-01-11', 'SQL Server 2022', 'RTM'),
/*2019*/
(15, 4420, 'CU32', 'https://learn.microsoft.com/en-us/troubleshoot/sql/releases/sqlserver-2019/cumulativeupdate32', '2025-02-27', '2025-01-07', '2030-01-08', 'SQL Server 2019', 'Cumulative Update 32'),
(15, 4430, 'CU31', 'https://learn.microsoft.com/en-us/troubleshoot/sql/releases/sqlserver-2019/cumulativeupdate31', '2025-02-13', '2025-01-07', '2030-01-08', 'SQL Server 2019', 'Cumulative Update 31'),
(15, 4445, 'CU32 GDR', 'https://support.microsoft.com/kb/5065222', '2025-09-09', '2025-01-07', '2030-01-08', 'SQL Server 2019', 'Cumulative Update 32 GDR'),
(15, 4440, 'CU32 GDR', 'https://support.microsoft.com/kb/5063757', '2025-08-12', '2025-01-07', '2030-01-08', 'SQL Server 2019', 'Cumulative Update 32 GDR'),
(15, 4435, 'CU32 GDR', 'https://support.microsoft.com/kb/5058722', '2025-07-08', '2025-01-07', '2030-01-08', 'SQL Server 2019', 'Cumulative Update 32 GDR'),
(15, 4430, 'CU32', 'https://learn.microsoft.com/en-us/troubleshoot/sql/releases/sqlserver-2019/cumulativeupdate32', '2025-02-27', '2025-01-07', '2030-01-08', 'SQL Server 2019', 'Cumulative Update 32'),
(15, 4420, 'CU31', 'https://learn.microsoft.com/en-us/troubleshoot/sql/releases/sqlserver-2019/cumulativeupdate31', '2025-02-13', '2025-01-07', '2030-01-08', 'SQL Server 2019', 'Cumulative Update 31'),
(15, 4415, 'CU30', 'https://support.microsoft.com/kb/5049235', '2024-12-13', '2025-01-07', '2030-01-08', 'SQL Server 2019', 'Cumulative Update 30'),
(15, 4405, 'CU29', 'https://support.microsoft.com/kb/5046365', '2024-10-31', '2025-01-07', '2030-01-08', 'SQL Server 2019', 'Cumulative Update 29'),
(15, 4395, 'CU28 GDR', 'https://support.microsoft.com/kb/5046060', '2024-10-08', '2025-01-07', '2030-01-08', 'SQL Server 2019', 'Cumulative Update 28 GDR'),
Expand Down Expand Up @@ -110,6 +118,9 @@ VALUES
(15, 2070, 'GDR', 'https://support.microsoft.com/en-us/help/4517790', '2019-11-04', '2025-01-07', '2030-01-08', 'SQL Server 2019', 'RTM GDR '),
(15, 2000, 'RTM ', '', '2019-11-04', '2025-01-07', '2030-01-08', 'SQL Server 2019', 'RTM '),
/*2017*/
(14, 3505, 'RTM CU31 GDR', 'https://support.microsoft.com/kb/5065225', '2025-09-09', '2022-10-11', '2027-10-12', 'SQL Server 2017', 'RTM Cumulative Update 31 GDR'),
(14, 3500, 'RTM CU31 GDR', 'https://support.microsoft.com/kb/5063759', '2025-08-12', '2022-10-11', '2027-10-12', 'SQL Server 2017', 'RTM Cumulative Update 31 GDR'),
(14, 3495, 'RTM CU31 GDR', 'https://support.microsoft.com/kb/5058714', '2025-07-08', '2022-10-11', '2027-10-12', 'SQL Server 2017', 'RTM Cumulative Update 31 GDR'),
(14, 3485, 'RTM CU31 GDR', 'https://support.microsoft.com/kb/5046858', '2024-11-12', '2022-10-11', '2027-10-12', 'SQL Server 2017', 'RTM Cumulative Update 31 GDR'),
(14, 3480, 'RTM CU31 GDR', 'https://support.microsoft.com/kb/5046061', '2024-10-08', '2022-10-11', '2027-10-12', 'SQL Server 2017', 'RTM Cumulative Update 31 GDR'),
(14, 3475, 'RTM CU31 GDR', 'https://support.microsoft.com/kb/5042215', '2024-09-10', '2022-10-11', '2027-10-12', 'SQL Server 2017', 'RTM Cumulative Update 31 GDR'),
Expand Down Expand Up @@ -151,13 +162,17 @@ VALUES
(14, 3006, 'RTM CU1', 'https://support.microsoft.com/en-us/help/4038634', '2017-10-24', '2022-10-11', '2027-10-12', 'SQL Server 2017', 'RTM Cumulative Update 1'),
(14, 1000, 'RTM ', '', '2017-10-02', '2022-10-11', '2027-10-12', 'SQL Server 2017', 'RTM '),
/*2016*/
(13, 7055, 'SP3 Azure Feature Pack GDR', 'https://support.microsoft.com/en-us/help/5058717', '2025-07-08', '2021-07-13', '2026-07-14', 'SQL Server 2016', 'Service Pack 3 Azure Feature Pack GDR'),
(13, 7045, 'SP3 Azure Feature Pack GDR', 'https://support.microsoft.com/en-us/help/5046062', '2024-10-08', '2021-07-13', '2026-07-14', 'SQL Server 2016', 'Service Pack 3 Azure Feature Pack GDR'),
(13, 7040, 'SP3 Azure Feature Pack GDR', 'https://support.microsoft.com/en-us/help/5042209', '2024-09-10', '2021-07-13', '2026-07-14', 'SQL Server 2016', 'Service Pack 3 Azure Feature Pack GDR'),
(13, 7037, 'SP3 Azure Feature Pack GDR', 'https://support.microsoft.com/en-us/help/5040944', '2024-07-09', '2021-07-13', '2026-07-14', 'SQL Server 2016', 'Service Pack 3 Azure Feature Pack GDR'),
(13, 7029, 'SP3 Azure Feature Pack GDR', 'https://support.microsoft.com/en-us/help/5029187', '2023-10-10', '2021-07-13', '2026-07-14', 'SQL Server 2016', 'Service Pack 3 Azure Feature Pack GDR'),
(13, 7024, 'SP3 Azure Feature Pack GDR', 'https://support.microsoft.com/en-us/help/5021128', '2023-02-14', '2021-07-13', '2026-07-14', 'SQL Server 2016', 'Service Pack 3 Azure Feature Pack GDR'),
(13, 7016, 'SP3 Azure Feature Pack GDR', 'https://support.microsoft.com/en-us/help/5015371', '2022-06-14', '2021-07-13', '2026-07-14', 'SQL Server 2016', 'Service Pack 3 Azure Feature Pack GDR'),
(13, 7000, 'SP3 Azure Feature Pack', 'https://support.microsoft.com/en-us/help/5014242', '2022-05-19', '2021-07-13', '2026-07-14', 'SQL Server 2016', 'Service Pack 3 Azure Feature Pack'),
(13, 6470, 'SP3 GDR', 'https://support.microsoft.com/kb/5065226', '2025-09-09', '2021-07-13', '2026-07-14', 'SQL Server 2016', 'Service Pack 3 GDR'),
(13, 6465, 'SP3 GDR', 'https://support.microsoft.com/kb/5063762', '2025-08-12', '2021-07-13', '2026-07-14', 'SQL Server 2016', 'Service Pack 3 GDR'),
(13, 6460, 'SP3 GDR', 'https://support.microsoft.com/kb/5058718', '2025-07-08', '2021-07-13', '2026-07-14', 'SQL Server 2016', 'Service Pack 3 GDR'),
(13, 6455, 'SP3 GDR', 'https://support.microsoft.com/kb/5046855', '2024-11-12', '2021-07-13', '2026-07-14', 'SQL Server 2016', 'Service Pack 3 GDR'),
(13, 6450, 'SP3 GDR', 'https://support.microsoft.com/kb/5046063', '2024-10-08', '2021-07-13', '2026-07-14', 'SQL Server 2016', 'Service Pack 3 GDR'),
(13, 6445, 'SP3 GDR', 'https://support.microsoft.com/kb/5042207', '2024-09-10', '2021-07-13', '2026-07-14', 'SQL Server 2016', 'Service Pack 3 GDR'),
Expand Down
Loading
Loading