Sql-Server

Category: sql-server

Learner's Guide to SQL Server Query Tuning

Learner's Guide to SQL Server Query Tuning

Following on from my Learner’s Guide to SQL Server Performance Triage, I’m tackling Query Tuning. In this guide, I’m experimenting with an outline style rather than expanding each paragraph.

Continue reading

Make Database Code Reusable in SQL Source Control with Deployment Filters

Make Database Code Reusable in SQL Source Control with Deployment Filters

When I first began working with databases, I was lucky to land a job at a little start-up which had solid development and operations processes: all our code, including database code, was in version control. We had a strong database architect who instilled good coding practices into the way we managed database code as well: code was expected to be reusable whenever possible.

Continue reading

Outlining My Session: Index Tuning in an Agile World

Outlining My Session: Index Tuning in an Agile World

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.

Continue reading

The Learner's Guide to SQL Server Performance Triage

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.

Continue reading

Altering an Indexed View in SQL Server Drops All Indexes

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.

Continue reading

Protect Your Prod Databases in Azure DevOps / TFS: Three Control Points

Protect Your Prod Databases in Azure DevOps / TFS: Three Control Points

When implementing any kind of automation for database deployments, it’s important to implement safeguards for your production environment. This is needed even in the best conditions when team members collaborate well and there is a high level of trust, for a very simple reason: accidents happen easily!

Continue reading

High Availability Options for SQL Server 2008 in an Azure VM: A #sqlhelp Story

High Availability Options for SQL Server 2008 in an Azure VM: A #sqlhelp Story

I asked a question on Twitter yesterday: “If running SQL Server 2008 in an Azure VM (no SQL upgrade possible, extended support in place), is the best option for high availability Database Mirroring? Or something else I am not thinking of? #sqlhelp”

Continue reading