Quantcast
Channel: SQL Server Premier Field Engineer Blog
Browsing index pages (106 articles)

Image may be NSFW.
Clik here to view.

Physical_Device_Name Not Updated On Restore

The Problem You restored a database on top of an existing database to refresh your development environment, but the Physical_Device_Name in msdb..backupmediafamily does not get updated.  That seems...

View Article


Automate Azure VM Storage

The Problem One of the best things about Azure, and the cloud in general, is we can automate most anything, and we are going to look at how to automate Azure VM Storage.  This allows us to come up with...

View Article


Image may be NSFW.
Clik here to view.

FileStream Backup and Restore

I have been asked to provide some information on best practice for SQL Server Backup and Restore with Filestream Databases. For Backup. The method is exactly the same like you do for your regular...

View Article

Image may be NSFW.
Clik here to view.

AlwaysOn Availability Groups unable to query against readable secondary...

Recently a customer reported an interesting issue, while querying against recently added readable replica, SELECT statement is shown as suspended and session is shown as waiting on...

View Article

Configure SQL Server Failover Cluster Instance on Azure Virtual Machines with...

Configure SQL Server Failover Cluster Instance If you are running a SQL Server Failover Cluster Instance on premises and looking to migrate to Azure, you might be a little intimidated. This...

View Article


Image may be NSFW.
Clik here to view.

Domain Independent Cluster and Availability Group

What is a Domain Independent Cluster? Did you know that you can have a Windows cluster that is a domain independent cluster and run a SQL Server Availability Group on top of it?  The technology has...

View Article

Read-Scale Availability Group Setup

What is a Read-Scale Availability Group? A Read-Scale Availability Group is a Clusterless Availability Group.  It's sole purpose and design is to scale out a read workload.  More importantly is what it...

View Article

Image may be NSFW.
Clik here to view.

MSDTC Supported Configurations

The MSDTC Configuration Conundrum MSDTC configuration is not as straight forward as you might think. It's a different choice if you are using a local MSDTC, clustered MSDTC, on-premises, Azure,...

View Article


Migrating Symmetric Keys Between SQL 2016 and SQL 2017/Azure

There has been a recent discussion about migrating symmetric keys between instances and version of SQL Server. It doesn't seem to be a widely known process and there have been some changes between...

View Article


Image may be NSFW.
Clik here to view.

Monitoring Azure Analysis Services with Log Analytics and Power BI

How do you monitor Azure Analysis Services? How many users are connected and who are they? These are great questions to understand around your AAS environment. While metric data is exposed via the...

View Article

How to Upgrade an AG Cluster to Windows 2016

Starting in Windows Server 2012 R2 you now have a way to upgrade a cluster to Windows 2016.  The best part is it's not an OS upgrade, but a rebuild.  The magic is that you can join a Windows 2016...

View Article

Image may be NSFW.
Clik here to view.

SQL Server 2017 Read-Scale Availability Groups

SQL Server 2017 was recently launched, having multiple new features. One of these included something called "Read-Scale Availability Groups". There was a good bit of discussion about this feature and...

View Article

Query Store Questions From The Field

I have had several Query Store questions come in from customers lately.  Some of the questions stemmed from things read on the internet so this video is aimed at both answering the questions and...

View Article


Implementing Buffer Pool Extension

Buffer Pool Extension was released in SQL 2014 so it's not new.  It is also not advertised very much, but that's not for lack of usefulness.  RAM is far faster than SSD and certainly arm based disks,...

View Article

Image may be NSFW.
Clik here to view.

Microsoft Excel, TLS & SQL Server – Important Considerations

Background As you may know, TLS 1.0 is being deprecated due to various known exploits and will no longer be PCI compliant as of June 30th, 2018 (see PCI DSS v3.1 and SSL: What you should do NOW below)....

View Article


Sync SQL Logins and Jobs

In this post I'll point you to some options to sync SQL logins and then I'll demo my favorite option in a video.  If you are using Availability Groups or Mirroring you know you need to sync SQL logins...

View Article

Image may be NSFW.
Clik here to view.

Split a file group into multiple data files

Periodically we are asked how to split an existing filegroup into multiple data files. The quick answer is that SQL Server does not have a built-in way for you to do that automatically, but you can do...

View Article


Image may be NSFW.
Clik here to view.

Hidden Gem TRY_CONVERT to troubleshoot data type conversion

Many of us have experienced a dreaded data type conversion error when doing tasks like importing files, converting to new database schemas, etc. Which record caused the problem? I have used a few...

View Article

Trace Flag 1117 Growth and Contention

In this video I talk about Trace Flag 1117 and how it was designed to help keep data file growth with multiple data files in TempDB consistent.  You'll see how growth occurs if the files are...

View Article

Image may be NSFW.
Clik here to view.

SQL Diagnostics Project Part 2 – Custom SQL Nexus Imports

Several years ago, I wrote a blog post as to how you can collect your own custom SQL data from a SQL: Server instance (usually one from a customer) using the PSSDiag utility from Codeplex. At the end...

View Article
Browsing index pages (106 articles)


Latest Images