Help Your Distributed Team Develop Quality Code – Microsoft Webinar featuring Redgate Tools – 1 hour, free – Register

Why Speed and Quality are No Longer Trade Offs – 1 hour Redgate Streamed session, free – Register

Connecting to the SQL Server Community Online: Uplifting Folks

We’ve got a session coming up in the free Redgate Streamed virtual conference on, “How database DevOps levels up remote work.” When thinking about that session I began thinking about other ways to improve remote work. While I worked remotely for nearly ten years until recently and have established practices which work well for me , moving to another country and the general chaos and uncertainty right now as the world tries to cope with a global pandemic have increased my feelings of worry and loneliness. I have found that certain folks in my Twitter feed help me feel connected, combat my worry, and also add some good old fashioned nerdiness to my day. They level up my remote work day! If you could use a few more connections in your life and would like to get started on Twitter, I highly recommend following these friendly folks who love working…
Read More

Outlining My Session: Index Tuning in an Agile World

Photo by Brandi Redd on Unsplash I’m giving a session on index tuning at the upcoming Redgate Streamed free online conference. The conference will be held April 1-3 2020, register here and join us! I love talking about index tuning and I know this area well, so I’m excited to put together this new session. I thought it would be fun to share my process of outlining and creating the session, leading up to the event. The session title and abstract I wrote this week is… Index Tuning in an Agile World Software developers increasingly work across databases and applications, and there are fewer and fewer dedicated database developers each year. This produces a new opportunity for database administrators and developers who are interested in performance: the role of the incremental index tuner. In this session you will learn a framework for developing and tuning indexes in SQL Server, and how to apply…
Read More

Announcing Redgate Streamed, April 1-3 2020

We’re thrilled to announce Redgate Streamed: a 3 day online virtual community conference, to be held April 1-3, 2020. Register at In this 9 minute livestream, I give you a rundown of the event schedule and tells you why I’m excited about each session. For every registration that attends Redgate streamed, live or on-demand, we’ll donate $1 to the World Health Organization’s COVID-19 response fund (in addition to a separate donation we’ll be making. Even if you can’t join us live, be sure to register and you’ll receive the recordings to watch on-demand, plus you’ll help us raise our gift level!
Read More

The Learner’s Guide to SQL Server Performance Triage I’m introducing a series of “learner’s guides” — overviews of a given topic, chock full of links and references. For this first post, the information is based on what I learned when I was part of the team at Brent Ozar Unlimited who put together the original First Responder Kit and built a related consulting practice using those tools. In this post… What is performance triage, and when do we do it?Who does performance triage?“DMVs” revolutionized the way performance triage is doneSources for information in performance triageWhen is performance triage difficult?SQL Server Performance Triage ChecklistA frequent check: What’s happening now?Phase 1 – look for big gotchasPhase 2 – Narrow down: is it the infrastructure, is it the workload, or is it one query?Common mistakes and pitfallsHow is this evolving, and what does the future look like? What is performance triage, and when do we do it? Performance triage is…
Read More

Re-teaming is Good: Here’s Why

Note: This post is based on an editorial I originally published over at SQL Server Central Years ago, I worked on a fabulous team of eight database administrators We supported more than a hundred developers who worked in an agile fashion. When I first joined the DBA team, we had a shared on-call rotation, but each DBA specialized in a certain area of the environment and regularly met with the development teams working on that area. DBA specializations rarely shifted. Over time, this created significant stressors Covering on-call for some areas became quite difficult in times of rapid change. It became impossible for someone to be out of the office for an extended period without delaying releases. When we got to the point that we had to decide whether or not to escalate a critical issue to someone who was attending a funeral, it was clearly time for a change.…
Read More

Altering an indexed view in SQL Server drops all indexes

I learned an interesting thing about ALTER VIEW behavior in SQL Server when applied to indexed views. This is covered in the product documentation, but it’s not something I would have expected: ALTER VIEW can be applied to indexed views; however, ALTER VIEW unconditionally drops all indexes on the view. ALTER VIEW documentation When I first heard about this behavior, it sounded like a bug to me: why should an alteration like adding a column to a view remove all the indexes? A colleague of mine at Redgate wondered: is the behavior the same with the new CREATE OR ALTER syntax as it is with just plain ALTER? (Spoiler: I tested and it is the same: CREATE OR ALTER also drops all indexes on the view.) One note: if you are using Redgate tooling to commit your database objects to version control, never fear: it handles this for you and…
Read More