Database-Administration

Category: database-administration

Connecting to the SQL Server Community Online: Uplifting Folks

Connecting to the SQL Server Community Online: Uplifting Folks

Neon sign of a speech bubble around the word 'hello'

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.

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

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

Online, Resumable, and WAIT_AT_LOW_PRIORITY Operations in SQL Server

Online, Resumable, and WAIT_AT_LOW_PRIORITY Operations in SQL Server

ONLINE operations in SQL Server were simple to understand for years – we got ONLINE index rebuilds in SQL Server 2005. That was it for a while.

Then, things got more complicated: we got more types of indexes. We got ONLINE options for schema changes that don’t involve indexes. We got more options for managing things like blocking, because online operations are really only mostly online: generally there’s going to be at least a short period where an exclusive lock is needed to update metadata. We now have some RESUMABLE operations coming in, too, for those big operations that are tough to handle.

Continue reading

SQL Server Management Studio Is as Relevant as Ever

SQL Server Management Studio Is as Relevant as Ever

πŸ”₯ UPDATE: Azure Data Studio (ADS) was retired on February 6, 2025, with support ending on February 28, 2026. Additionally, SSMS has been modernized and is no longer based on the legacy Visual Studio shellβ€”it's now built on Visual Studio 2022 with 64-bit support and improved performance.

For more details, see the Azure Data Studio retirement announcement and Erin Stellato's announcement about SSMS modernization..

Sometimes you keep a classic around.

Continue reading

The SQL Server Data Row Size Question: Why Is It Bigger?

The SQL Server Data Row Size Question: Why Is It Bigger?

This morning, I received the following question from a user:

Could you please clarify SQLServer “Data Row” size: If I run the script below on SQL Server 2012, then Slot(row) Size is 710 bytes if I run the same script against SQL Server 2016 and above, then Slot(row) Size is 724 bytes.

They then provided a script which creates and inserts a few rows into a sample table, runs the DBCC IND command to find a list of pages for the sample table, then uses the DBCC PAGE command to examine the page.

Continue reading

PASS Summit 2018 - Day 1 Keynote Announcements

PASS Summit 2018 - Day 1 Keynote Announcements

Good morning from Seattle, at the Summit for the Professional Association of SQL Server.

I’m lucky enough to be sitting at the blogger table this morning, watching the keynote of announcements.

Continue reading