sp_Blitz, sp_BlitzCache, sp_BlitzFirst, sp_BlitzIndex, and other SQL Server scripts for health checks and performance tuning.
Wow, talk about stable! The last 3 months have only introduced a series of small bug fixes. I held this release back as long as I could, waiting to see if anything major might get added or if we might get a SQL Server 2022 CTP, but no dice. If there was ever a First Responder Kit release you could skip, it's probably this one. If the specific issues listed here don't affect you, take the morning off.
To get the new version:
When you find a bug or want something changed, read the contributing.md file.
When you have a question about what the scripts found, first make sure you read the "More Details" URL for any warning you find. We put a lot of work into documentation, and we wouldn't want someone to yell at you to go read the fine manual. After that, when you've still got questions about how something works in SQL Server, post a question at DBA.StackExchange.com and the community (that includes me!) will help. Include exact errors and any applicable screenshots, your SQL Server version number (including the build #), and the version of the tool you're working with.
Full Changelog: https://github.com/BrentOzarULTD/SQL-Server-First-Responder-Kit/compare/20220108...20220408
In this release, sp_Blitz shows some information about clusters and AGs, sp_AllNightLog and sp_DatabaseRestore get some love, and more.
To get the new version:
When you find a bug or want something changed, read the contributing.md file.
When you have a question about what the scripts found, first make sure you read the "More Details" URL for any warning you find. We put a lot of work into documentation, and we wouldn't want someone to yell at you to go read the fine manual. After that, when you've still got questions about how something works in SQL Server, post a question at DBA.StackExchange.com and the community (that includes me!) will help. Include exact errors and any applicable screenshots, your SQL Server version number (including the build #), and the version of the tool you're working with.
Just like you, the First Responder Kit has been pretty much stable for the last couple of months. There have been a few small changes, but nothing too big. There are a few pending pull requests that folks are working on around an open source setup checklist, better support for Ola Hallengren's scripts, and a new stored procedure to get cluster information. If you want to influence how the production versions of those shape up, head over to the pending pull requests, look at the related issues, and give your feedback.
To get the new version:
When you find a bug or want something changed, read the contributing.md file.
When you have a question about what the scripts found, first make sure you read the "More Details" URL for any warning you find. We put a lot of work into documentation, and we wouldn't want someone to yell at you to go read the fine manual. After that, when you've still got questions about how something works in SQL Server, post a question at DBA.StackExchange.com and the community (that includes me!) will help. Include exact errors and any applicable screenshots, your SQL Server version number (including the build #), and the version of the tool you're working with.
Full Changelog: https://github.com/BrentOzarULTD/SQL-Server-First-Responder-Kit/compare/20210914...20211106
I've slowed the First Responder Kit update frequency down to once every 2 months. I know from firsthand experience working with clients that folks just can't patch quickly enough, hahaha. Folks who want to be on the bleeding edge updates can always use the dev branch in Github, too, getting every new fix the moment it's merged.
Wanna learn how I use it? Register for my free one-day class on Oct 19th or 20th on How I Use the First Responder Kit, or buy the recordings.
To get the new version:
When you find a bug or want something changed, read the contributing.md file.
When you have a question about what the scripts found, first make sure you read the "More Details" URL for any warning you find. We put a lot of work into documentation, and we wouldn't want someone to yell at you to go read the fine manual. After that, when you've still got questions about how something works in SQL Server, post a question at DBA.StackExchange.com and the community (that includes me!) will help. Include exact errors and any applicable screenshots, your SQL Server version number (including the build #), and the version of the tool you're working with.
I'm slowing the First Responder Kit update frequency down to once every 2 months. I know from firsthand experience working with clients that folks just can't patch quickly enough, hahaha. Folks who want to be on the bleeding edge updates can always use the dev branch in Github, too, getting every new fix the moment it's merged.
To get the new version:
When you find a bug or want something changed, read the contributing.md file.
When you have a question about what the scripts found, first make sure you read the "More Details" URL for any warning you find. We put a lot of work into documentation, and we wouldn't want someone to yell at you to go read the fine manual. After that, when you've still got questions about how something works in SQL Server, post a question at DBA.StackExchange.com and the community (that includes me!) will help. Include exact errors and any applicable screenshots, your SQL Server version number (including the build #), and the version of the tool you're working with.
If you want to quickly understand the top health and performance issues on your SQL Server, there's no better, easier, free-er way to do it than the open source First Responder Kit.
When you find a bug or want something changed, read the contributing.md file.
To get the new version:
When you find a bug or want something changed, read the contributing.md file.
When you have a question about what the scripts found, first make sure you read the "More Details" URL for any warning you find. We put a lot of work into documentation, and we wouldn't want someone to yell at you to go read the fine manual. After that, when you've still got questions about how something works in SQL Server, post a question at DBA.StackExchange.com and the community (that includes me!) will help. Include exact errors and any applicable screenshots, your SQL Server version number (including the build #), and the version of the tool you're working with.
This month's release has two gems for SQL Server 2019 users. First, thanks to Greg Dodd, when you're dealing with parameter sniffing issues, sp_BlitzWho can now show you the cached and live parameters for running queries. This lets you quickly see when the parameters may be wildly different, leading to issues like incorrect memory grants and index choices:
Second, thanks to Erik Darling: when sp_BlitzIndex shows a missing index recommendation, it also shows you one of the queries that triggered the missing index request:
Both of these require SQL Server 2019, and they're both just awesome for performance tuners. There's lots more new stuff this month too - keep scrollin' for more details. Unlike Microsoft's SQL Server Cumulative Updates, we actually take the time to link to each Github issue so you can see exactly what changed. We figure it's the least we can do for you, dear reader.
When you find a bug or want something changed, read the contributing.md file.
To get the new version:
When you find a bug or want something changed, read the contributing.md file.
When you have a question about what the scripts found, first make sure you read the "More Details" URL for any warning you find. We put a lot of work into documentation, and we wouldn't want someone to yell at you to go read the fine manual. After that, when you've still got questions about how something works in SQL Server, post a question at DBA.StackExchange.com and the community (that includes me!) will help. Include exact errors and any applicable screenshots, your SQL Server version number (including the build #), and the version of the tool you're working with.
Ten years ago, I unveiled sp_Blitz at the 2011 PASS Summit, in front of a live audience.
Remember the PASS Summit?
Remember live audiences?
<sigh>
Anyway, to celebrate the 20th anniversary of BrentOzar.com, I've thinking back about the last couple of decades to reminisce about what I've learned, what's changed, and so forth.
Open source kinda sorta existed when I got started with computers as a kid way back in the 1980s. I would buy a programming magazine, prop it up in front of the computer, and actually type programs in by hand on my Commodore 64. Lemme just tell you, that sucked. I've been bad at debugging for four decades.
Today, anybody in the world can install open source utilities in a matter of seconds, make their job easier, increase their value as a professional, and give back to those same open source projects. It's not fair to say that your Github profile is the new resume - most folks just don't have the time to contribute to open source, nor are they allowed to at your day job. However, I think it's fair to say that your Github profile is one of many possible advantages when competing for a job. When someone asks, "Do you have experience with X?" it's amazing to be able to answer, "Yes, and I've even contributed code and documentation to X. Here's my Github profile, and here are some of my interactions with the team."
So with that said, here's this month's new version of the First Responder Kit. It's free - free as in speech - and it thrives thanks to the community members mentioned in the changes below. They're real people just like you with day jobs, and they decided that they wanted to contribute or fix something. They're the heroes that make this whole thing work.
When you find a bug or want something changed, read the contributing.md file.
To get the new version:
When you find a bug or want something changed, read the contributing.md file.
When you have a question about what the scripts found, first make sure you read the "More Details" URL for any warning you find. We put a lot of work into documentation, and we wouldn't want someone to yell at you to go read the fine manual. After that, when you've still got questions about how something works in SQL Server, post a question at DBA.StackExchange.com and the community (that includes me!) will help. Include exact errors and any applicable screenshots, your SQL Server version number (including the build #), and the version of the tool you're working with.
Along with the usual bug fixes & improvements, this month's release includes a brand new sp_BlitzAnalysis script from Adrian Buckman. It's for folks who have an Agent job to log sp_BlitzFirst to tables every 15 minutes, saving wait stats, Perfmon counters, file stats, etc into tables. sp_BlitzAnalysis reads those tables and sums up activity in your chosen time period, like this:
To install it, run the sp_BlitzAnalysis.sql file included in the First Responder Kit. It's not a complex installation or anything - I just didn't want to include it in the main installer scripts because this is the first public release, and I haven't tested it myself yet either. (Been a little busy with the whole Iceland move.) To learn how to use sp_BlitzAnalysis, read the documentation. For questions or support on it, hop into the #FirstResponderKit Slack channel. (If you need a free invite, hit SQLslack.com. Be patient - it's staffed with volunteers who have day jobs.
When you find a bug or want something changed, read the contributing.md file.
To get the new version:
When you find a bug or want something changed, read the contributing.md file.
When you have a question about what the scripts found, first make sure you read the "More Details" URL for any warning you find. We put a lot of work into documentation, and we wouldn't want someone to yell at you to go read the fine manual. After that, when you've still got questions about how something works in SQL Server, post a question at DBA.StackExchange.com and the community (that includes me!) will help. Include exact errors and any applicable screenshots, your SQL Server version number (including the build #), and the version of the tool you're working with.
You know how a lot of app release notes say "bug fixes and improvements"? We're not gonna lie: this one's all bug fixes. Huge shout out to the community contributors for catching stuff and contributing fixes.
New behavior for SQL Server 2008 & R2 users: sp_BlitzLock has never worked on SQL Server 2008, but starting this month, the installation of sp_BlitzLock simply fails with an error. In this month's release, one of the checkins uses THROW, which isn't available on 2008. This also means that if you use the Install-Core-Blitz-No-Query-Store.sql script to do installations, you're going to get an error. It's okay - all of the other stored procs install successfully. This behavior wasn't intentional by any means, and we'd like that not to happen. If you'd like to improve sp_BlitzLock's installer to bail out gracefully without an error, we'd gladly accept a pull request for that.
To get the new version:
When you find a bug or want something changed, read the contributing.md file.
When you have a question about what the scripts found, first make sure you read the "More Details" URL for any warning you find. We put a lot of work into documentation, and we wouldn't want someone to yell at you to go read the fine manual. After that, when you've still got questions about how something works in SQL Server, post a question at DBA.StackExchange.com and the community (that includes me!) will help. Include exact errors and any applicable screenshots, your SQL Server version number (including the build #), and the version of the tool you're working with.