Live registration reopens October 1, 2026, in 17d 20h 12mNotify me

Category: Processes and Practices

How to Do a Free SQL Server Performance Check

Your client or boss just said, "Find out why this SQL Server is slow." You've already done a free SQL Server health check, and now you wanna investigate deeper.
Step 1: Download & run sp_BlitzFirst.
Start with wait stats, which tell you what the SQL Server has been waiting on since the service was last started, or since someone cleared wait stats with DBCC SQLPERF, whichever is more recent.

Read more about How to Do a Free SQL Server Performance Check 9 comments — Join the discussion
Production DBA

Chaining Agent Tasks For Alerting The Right Way

Step By Step

When you think about setting up maintenance, a persistent fear is that tasks may step on each other. You probably don't want backups and CHECKDB and statistics maintenance running at the same time as statistics maintenance (notice I didn't say index maintenance, here, because you're smart and you skip it?). You may also throw in some other steps, like cleanup tasks something.

Read more about Chaining Agent Tasks For Alerting The Right Way 18 comments — Join the discussion
News & Opinion

New 2-day Class: Performance Tuning By Example

One of my most popular sessions is Watch Brent Tune Queries. I've updated it every year, tuning different queries, showing new tools like SentryOne's Plan Explorer, StatisticsParser.com, SSMS's plan comparison, and SSMS 2017's new scenario evaluation tool. One hour is never enough - there's so many tricks and tips I want to show in action, walking people through how I use them in a tuning scenario.

Read more about New 2-day Class: Performance Tuning By Example Be the first to comment
Performance Tuning

4 Free Things to Do with a Slow SQL Server

Step 1. Run sp_Blitz and look for urgent warnings. sp_Blitz is one of the free scripts in our First Responder Kit. Just open the sp_Blitz.sql, run that to create the stored procedure, and type:
[crayon-6aa61cc41e34c169442607/]
It returns a prioritized list of things that are wrong, broken, or dangerous about your SQL Server. Focus on things in priority 1 through 50 - these are the big, urgent issues that can get you fired, or can cause showstopper problems:

Read more about 4 Free Things to Do with a Slow SQL Server 13 comments — Join the discussion
Production DBA

What to Do When DBCC CHECKDB Reports Corruption

The instant you encounter corruption in a production SQL Server database, stop. Read this entire article first to understand the big picture, and then come back here to take action. First, understand that you shouldn't start by trying to repair the corruption. You may be facing a storage subsystem problem where your storage is corrupting…

Read more about What to Do When DBCC CHECKDB Reports Corruption 36 comments — Join the discussion
Production DBA

The First Step to the Poor Man’s Runbook

In theory, before you introduce a new system - database server, load balancer, virtualization infrastructure, etc - you build a robust runbook that documents how you'll handle every conceivable scenario.  When there's any kind of failure, you'll simply turn to chapter X and start going through a precise checklist that will guide you to the promised land of uptime.

Read more about The First Step to the Poor Man’s Runbook Be the first to comment

Ozar’s Hierarchy of Database Needs: a 6-Month DBA Training Plan

You need to poop. Maybe not right now, but in general, you need to breathe, eat, drink, sleep, and poop.  If you can't do any of those things, then the rest of your needs will take a back seat until you can accomplish the basics.

Psychology professor Abraham Maslow designed Maslow's Hierarchy of Needs to illustrate how us meatbags prioritize our daily tasks.  It's usually visualized with a pyramid:

Read more about Ozar’s Hierarchy of Database Needs: a 6-Month DBA Training Plan Be the first to comment
Production DBA

What’s In Your Bug-Out Bag?

In a recent webcast on disaster recovery planning for small businesses, I talked about building a bug-out bag.

Every IT professional should have a bug-out bag in the trunk of their car with enough stuff to let them hit the road for 24-48 hours straight.  This gear helps you react more confidently to minor problems and major disasters.  Here's what I've got in my bug-out bag:

Read more about What’s In Your Bug-Out Bag? 6 comments — Join the discussion