Brentozar.com

Doing Your Free SQL Server Health Check

WEBLet’s get started. Here’s the zip file to download. Open that zip file and run sp_Blitz.sql in SQL Server Management Studio or Azure Data Studio. It will generate a prioritized list of …

Actived: 4 days ago

URL: https://www.brentozar.com/contact/doing-your-free-sql-server-health-check/

sp_Blitz®: Free SQL Server Health Check Script by Brent Ozar

WEB1. EXEC sp_Blitz @CheckUserDatabaseObjects = 0; That’s the fastest way to run sp_Blitz because it skips checking objects inside the databases, like heaps and triggers. Once …

Category:  Health Go Health

How to Do a Free SQL Server Health Check

WEBStep 1: Download & run sp_Blitz. Go to our download page and get our First Responder Kit. There’s a bunch of scripts and white papers in there, but the one to start …

Category:  Health Go Health

sp_Blitz® Documentation

WEBsp_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 …

Category:  Health Go Health

Locking and Blocking in SQL Server

WEBThis will look for any blocking taking 20 seconds or longer. Step 2: Set up a trace to capture the blocked process report. Run it as a server side trace. It should contain one event: …

Category:  Health Go Health

How to Do a Free SQL Server Performance Check

WEBHere’s the first set of results: sp_BlitzFirst @SinceStartup = 1. We’re going to focus only on this first result set. It returns a lot of other stuff – for info on that, hit the …

Category:  Health Go Health

Performance Tuning for SQL Server

WEBHere are the basic steps: Measure how fast the server is going now. Performance tune the queries. Performance tune the indexes. Performance tune SQL Server’s settings. Let’s …

Category:  Health Go Health

Updated First Responder Kit and Consultant Toolkit for June 2021

WEBIf 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 …

Category:  Health Go Health

How to Troubleshoot Blocking and Deadlocking with Scripts and …

WEBThe documentation is extensive – check out how to find blocking leaders: 1. 2. 3. EXEC sp_WhoIsActive. @find_block_leaders = 1, @sort_order = ' …

Category:  Health Go Health

First Responder Kit Archives

WEB2. Summer has turned the corner. Sure, right now the First Responder Kit is wearing its swimsuit, basking in the sun, but already as we speak, the days are getting …

Category:  Health Go Health

Monitoring SQL Server Transactional Replication

WEBTest Your Monitoring out in Staging. The #1 mistake I find with transactional replication is ignoring the staging environment. This is critical to supporting replication …

Category:  Health Go Health

How to Set Up Standard Edition Always On Availability Groups in …

WEBSQL Server 2016 adds Availability Groups in Standard Edition. While the licensing details can obviously change right up to release date, here’s what was …

Category:  Health Go Health

Cheat Sheet: How to Configure TempDB for Microsoft SQL Server

WEBDivide the total space by 9, and that’s your size number. Create 8 equally sized data files and one log file, each that size. Presto, the drive is full and your TempDB …

Category:  Health Go Health

DBCC CheckDB FAQ: Check for Corruption in SQL Server

WEBRunning CheckDB can help you find out about corruption, but you also need: Page verification settings for databases set to the right level. For anything SQL …

Category:  Health Go Health

Capturing Deadlocks in SQL Server

WEBWhen you set up a Profiler session to gather deadlock information, select the “Deadlock graph”, “Lock:Deadlock” and “Lock:Deadlock Chain” events. Make sure …

Category:  Health Go Health

Finding Blocked Processes and Deadlocks using SQL Server …

WEBThe blocked process report makes use of the deadlock detector. Since large amounts of blocking are frequently synonymous with deadlocking, it makes sense to …

Category:  Health Go Health

How to Test Your Storage with CrystalDiskMark

WEBAfter extracting the zip file’s contents, run DiskMark64.exe on an idle server or desktop first (not your live SQL Server, because it’ll slow things down while it runs.) …

Category:  Health Go Health

How to fix the error “String or binary data would be truncated”

WEBAnother way you could fix it is to upgrade your database’s compatibility level to 2019+ (150+), but that causes a whole bunch of other things to take effect too, like …

Category:  Health Go Health