Blogs

Indexes: Do Included Columns Always Go on a Non-Root Page? (video)

Indexes: Do Included Columns Always Go on a Non-Root Page? (video)

Recently, I was thinking about nonclustered indexes in SQL Server, and how included columns are stored.

Is SQL Server smart enough to optimize the storage for small indexes with includes? Find out in this free seven minute video.

Continue reading

How to Script Out Indexes from SQL Server

How to Script Out Indexes from SQL Server

on May 5, 2016 • 1 min read

Sometimes you need to script out all the indexes in a database. Maybe you’re concerned something has changed since they were last checked in. Or maybe the indexes aren’t checked into source control, and you’re working on fixing that. (Important!)

Either way, sometimes you need to do it, and it’s not fun through the GUI. I needed to write some fresh demo code for this recently, and I needed it to give the details for partitioned tables using data compression, and I thought I’d share.

Continue reading

Why Table Partitioning Does Not Speed Up Query Performance (video)

Why Table Partitioning Does Not Speed Up Query Performance (video)

Learn why SQL Server’s table partitioning feature doesn’t make your queries faster– and may even make them slower.

Continue reading

Required Testing for Installing SQL Server Cumulative Updates and Service Packs

Required Testing for Installing SQL Server Cumulative Updates and Service Packs

Microsoft recently updated their policies and recommendations for installing cumulative updates.

Continue reading

What is the Difference between a Junior and Senior DBA?

What is the Difference between a Junior and Senior DBA?

on April 26, 2016 • 6 min read

I got a great question from a student recently:

In your opinion, where is the distinction between Junior DBA and Senior DBA? I’ve always worked on small teams, so sometimes it’s hard to tell where I fit.

Continue reading

Managing Statistics in SQL Server for DBAs (videos)

Managing Statistics in SQL Server for DBAs (videos)

on April 21, 2016 • 1 min read

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