Category: Processes and Practices

How Personally Identifiable Information Gets Around

Let's say someone - not you, dear reader, because you would surely never be this sloppy - is building a personal web site or a diary or a company or whatever:
[crayon-6a66fa80b154b345197928/]
Yes, they should be encrypting passwords, and not storing ages, and certainly never storing identifying information like social security numbers. Unfortunately, that's just often not how it goes in the real world, as any recent headline will tell you.

Read more about How Personally Identifiable Information Gets Around 23 comments — Join the discussion

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

Free Webcast Next Tuesday: How to Triage SQL Server Emergencies

I'm speaking at the PASS DBA Fundamentals Virtual Chapter next Tuesday! Here's the topic: When the phone rings, you need a repeatable process to discern the symptoms, root cause, what will happen if you don’t take action, and based on that, what actions you should take. You’ll see Brent step through several emergency scenarios live,…

Read more about Free Webcast Next Tuesday: How to Triage SQL Server Emergencies 10 comments — Join the discussion
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-6a66fa80c1f66312539776/]
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