Maintenance

Tag: maintenance

Shrinking SQL Server Data Files - Best Practices, and Why It Sucks

Shrinking SQL Server Data Files - Best Practices, and Why It Sucks

on November 8, 2016

I’ve gotten a few questions about shrinking SQL Server data files lately. What’s the best way to get shrink to run? And why might it fail in some cases?

Traditionally, every time you ask a DBA how to make shrinking suck less, they start ranting how shrinking is bad and you just shouldn’t do it. Sometimes it sounds kinda angry.

What people are trying to say is that shrinking data files is generally slow, frustrating, and painful for you.

Continue reading

Managing Statistics in SQL Server for DBAs (videos)

Managing Statistics in SQL Server for DBAs (videos)

Want to learn more about managing statistics updates in SQL Server? Watch my 27 minute presentation on managing statistics.

Continue reading

Updating Statistics in SQL Server: Maintenance Questions & Answers

Updating Statistics in SQL Server: Maintenance Questions & Answers

I’ve been asked a lot of questions about updating statistics in SQL Server over the years. And I’ve asked a lot of questions myself! Here’s a rundown of all the practical questions that I tend to get about how to maintain these in SQL Server.

Continue reading