Search Results for “sp_blitz”

Pocket Square

sp_BlitzTrace™: Extended Events Traces Made Easy

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…

You’ll need a membership to access this course. Check out my training classes.
Read More

Announcing sp_BlitzCache™ v2.4

SQL Server
7 Comments
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 More

Announcing 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 More

Introducing 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 More
Pocket Square

sp_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 More
Pocket Square

sp_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 More

sp_Blitz® v22: Output Results to a Table, Better Comments, and an App

SQL Server
40 Comments
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 More
Pocket Square

sp_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 More

sp_Blitz® Version 18 Out: Lots of Bug Fixes

SQL Server
14 Comments
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 More
Pocket Square

sp_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 More