sp_BlitzTrace Ever wanted to quickly and easily record how much CPU a query is using, how many logical reads it uses, what temporary objects are created, and whether it causes a recompile? sp_BlitzTrace is a free stored procedure that helps you quickly and easily use Extended Events in SQL Server 2012 and higher to observe…
Search Results for “sp_blitz”
- Home
- Search Results (Page 4)
Announcing sp_BlitzCache™ v2.4
Welcome to sp_BlitzCache™ v2.4. This release brings a few changes and bug fixes. Fixed a logical error in detecting the output table. Thanks to Michael Bluett for pointing that out. Sorting by executions per second finally works. Thanks to Andrew Notarian and Calvin Jones for submitting this week. Added a @query_filter parameter – this allows…
Read MoreAnnouncing sp_Blitz v36: New Database Checks, Hekaton, Azure Files, More
The latest version of our free SQL Server health check adds some nifty new stuff: Checks for non-default database configurations like enabling forced parameterization or delayed durability Looks in the default trace for long file growths or serious errors like memory dumps Checks Hekaton memory use and transaction errors Warns about database files on network…
Read MoreNew sp_Blitz® v35 Checks for Unsupported and Dangerous SQL Server Builds
News broke recently of a dangerous data loss bug in SQL Server 2012 and 2014, and Aaron Bertrand explained which patch levels are affected. It’s kinda tricky, and I’m afraid most people aren’t even going to know about the bug – let alone whether or not they’re on a bad version. I added build number checking into…
Read MoreIntroducing sp_BlitzCache®
Finding the worst queries in SQL Server is easy, right? You just query one of the dm_exec_* DMVs, bring in the SQL text and the execution plan, and then you spend hours looking at execution plans trying to figure out what’s wrong in the query, much less how to fix it. All that’s changing – we’re introducing sp_BlitzCache®.…
Read Moresp_BlitzCache®: Free SQL Server Plan Cache Analysis Script
sp_BlitzCache®: Find Your Worst-Performing Queries You have a SQL Server and you’re not sure which queries are causing your biggest performance problems. You don’t know where to start or if there are hidden queries that are making your main queries slower. You want a fast tool to find the worst queries in the SQL Server…
Read Moresp_BlitzIndex Workaholic Indexes
Workaholic Indexes These poor indexes. Do they ever get to rest? Checking for top tables We have two checks for workaholics. In sp_BlitzIndex® output, they’ll look something like this: Click to view in a larger window Let’s break down what that means. Workaholics: Scan-a-lots (sys.dm_db_index_usage_stats) These indexes show as having the top user scans according…
Read Moresp_Blitz® v32: Emailing, Serializable Locking, Simultaneous Agent Jobs, and More
The latest version of our SQL Server health check stored procedure is out today. Here’s what we’ve added in the last couple of versions – big thanks to the folks who keep making this even better for the community: Changes in v33 – January 20, 2014: Bob Klimes fixed a bug that Russell Hart introduced…
Read MoreAnnouncing sp_BlitzFirst® for Troubleshooting Slow SQL Servers
When someone tells you the SQL Server is slow, what do you do? Run sp_who looking for queries that might be blocking someone Check the SQL Agent jobs to see if there’s a backup job running Fire up Activity Monitor looking for problems Remote desktop into the server to look at CPU use Open Perfmon…
Read MoreCelebrating Two Years of sp_Blitz® (And a New Version)
Two years ago this week, I took to the stage at the PASS Summit 2011 and unveiled sp_Blitz®, my free health check stored procedure that helps you rapidly take over SQL Servers you’ve never seen before. Some historical highlights include: 117,125 downloads 117 checks (technically much more than that, because we look for variations of…
Read Moresp_BlitzFirst
sp_BlitzFirst Helps You Troubleshoot Slow SQL Servers. I kept getting emails and phone calls that said, “The SQL Server is running slow right now, and they told me to ask Brent.” Each time, I’d have to: Look at sp_who or sp_who2 or sp_WhoIsActive for blocking or long-running queries Review the SQL Server Agent jobs to…
Read Moresp_Blitz® v22: Output Results to a Table, Better Comments, and an App
Our free server troubleshooting tool, sp_Blitz®, just learned some new tricks. If you call it like this: EXEC dbo.sp_Blitz @OutputDatabaseName = ‘DBAtools’, @OutputSchemaName = ‘dbo’, @OutputTableName = ‘BlitzResults’ It will create the table DBAtools.dbo.BlitzResults (if it doesn’t already exist) and insert the results. The table includes columns for the server name and the check date,…
Read Moresp_Blitz® Documentation
sp_Blitz® Documentation Please don’t use your SQL Server as a print queue for sp_Blitz® documentation. sp_Blitz® is a free SQL Server health check stored procedure that looks for a lot of common health and performance issues. If you just use the default parameters, you’ll get a prioritized list of problems, but by tweaking the input…
Read Moresp_Blitz® Version 18 Out: Lots of Bug Fixes
There’s a new version in town. v18 adds new checks looking for: Backups stored on the same drive letters as user databases (Thanks @AlinSelicean!) Agent jobs that don’t have failure notifications set up (Thanks @Thirster42!) Shows free drive space per drive letter if you pass @CheckServerInfo = 1 in. We don’t consider this a problem…
Read Moresp_BlitzIndex® Holiday Week Edition
Only one thing could have dragged me away from the soft glow of the electric leg lamp glowing in the window… sp_BlitzIndex® It’s one of those weeks when things get nice and slow. Your business users and managers are all out of the office due to holidays. Your inbox is blissfully quiet. You get a…
Read Moresp_BlitzIndex Abnormal Psych
sp_BlitzIndex® says: We’re Not in Kansas Anymore Our sp_BlitzIndex® script checks out your indexes and lets you know when it finds some things that are unusual. Abnormal psychology findings aren’t necessarily problems– just look at this as a big FYI. Some implementations of indexes may mean that the database can only be restored in a certain…
Read MoreInstant Index Insight: How to Use sp_BlitzIndex® (video)
You probably don’t have enough time to dig through DMVs trying to figure out which indexes you should add or drop. Whether you’re a DBA or developer, junior or senior, you’re probably too busy doing your real job to master all the index best practices – and now you don’t have to. In this 30…
Read Moresp_Blitz® v16: Snapshots, Recompiles, ShrinkDB, and More
I don’t blog every release of sp_Blitz® (we pushed v15 out silently with a few bug fixes) but we added a lot of improvements and fixes in this version – and by we I mean you. After I blogged about v14’s release earlier this week, that encouraged a lot of people to come out of the woodwork…
Read Moresp_Blitz® v14 Adds VLFs, DBCC, Failsafe Operators, and More
Today, we’ve got a big one, and it’s all thanks to you. For the last couple of versions, I haven’t added any big features because I’d been focused on the plan cache improvements. Today, though, we’ve got a big one with all kinds of health-checking improvements – and they’re all thanks to your contributions. Lori…
Read MoreIntroducing the SQL Server Plan Cache (and a Better sp_Blitz®)
When you send your beautifully hand-crafted organic T-SQL statement to SQL Server, the database engine takes a moment to appreciate the poetry of your work. Before it turns your request into results, it has to build an execution plan. SQL Server considers: Which tables it needs to join together What subqueries it needs to execute…
Read MoreSign up today for Master the Fundamentals of Azure Data Factory with Andy Leonard. Save 40% with coupon code "brento" before June 30.

Hi! I’m Brent Ozar.
I make Microsoft SQL Server go faster. I love teaching, travel, cars, and laughing. I’m based out of Las Vegas. He/him. I teach SQL Server training classes, or if you haven’t got time for the pain, I’m available for consulting too.
Want to advertise here and reach my savvy readers?