Quantcast
Channel: SQL Server Premier Field Engineer Blog
Browsing all 153 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

TCP Port Is Already In Use

It’s 3 AM on a Saturday morning and you receive that dreaded phone call – “The SQL Server just had maintenance. We rebooted and now SQL won’t start”! You dig into the error logs and see something like...

View Article


Image may be NSFW.
Clik here to view.

Create a Quick and Easy Performance Baseline

In this blog post I am going to discuss a very little-known performance metric introduced in SQL Server 2012 that you can use to instantly get a baseline of the query performance for your system.  The...

View Article


Image may be NSFW.
Clik here to view.

Finding Which Connections Have Been Read Only Routed

This is a follow up to my first post Finding What Availability Group Listeners Applications Are Using To Connect, where a question was posed about knowing which connections have been read only routed....

View Article

Image may be NSFW.
Clik here to view.

Performing Transaction Log Backups using AlwaysOn Availability Group...

This is the first post in a planned series of articles relating to SQL Server Transaction Log Backups of databases using a read-only secondary replica (ROSR).  With the introduction of ROSRs in SQL...

View Article

Image may be NSFW.
Clik here to view.

Performing transaction log backups using AlwaysOn Availability Group...

Describe the log backup process on a ROSR This is the second post in a planned series of articles relating to SQL Server transaction log backups of databases using a read-only secondary replica (ROSR)....

View Article


Image may be NSFW.
Clik here to view.

Increasing the Number of SQL Server Error Logs – My Automation Journey – Part 1

I recently ran into an issue (will describe it in a follow-up post) in which I needed to review SQL Server Error logs after a weekend of server patching. It turns out the server was rebooted several...

View Article

Image may be NSFW.
Clik here to view.

SQL 2016 – Temporal Tables – What are they and how do you set one up?

What are Temporal Tables?   This is the start of a series of posts about one of my favorite new features of SQL 2016, Temporal Tables.  Temporal Tables allow you go back in time and see what the data...

View Article

Image may be NSFW.
Clik here to view.

Troubleshooting intermittent connection timeout

In this blog, we are going to take a deep dive into a connectivity issue my customer encountered a while ago. DBA was pulled into this case because the error was caused by SQL Server connection...

View Article


Image may be NSFW.
Clik here to view.

Tempdb misconfiguration when SQL Server fails to create a secondary data file

One of the tempdb best practices when you configure SQL Server is to create additional data files for tempdb according the number of logical processor per NUMA node up to eight. Even with SQL Server...

View Article


Image may be NSFW.
Clik here to view.

Recover database without LDF file

I recently came across a missing LDF file case that I would like to share some interesting findings. In my case, the customer didn’t have any database backup (they did have maintenance plan created,...

View Article

Image may be NSFW.
Clik here to view.

SQL 2016 – Temporal Tables – Can you change the schema?

I was recently asked if after you setup a Temporal Table, can you modify the schema?  It was a great question because if you cannot change the schema, then you would have to drop and recreate the table...

View Article

Image may be NSFW.
Clik here to view.

CREATE INDEX Monitoring Progress

One of the challenges for DBA’s are to work on heavy load and critical systems where maintenance windows are usually very short, recently I was asked for a customer if there was any possibility to...

View Article

Image may be NSFW.
Clik here to view.

Incremental Statistics – My New Favorite Thing

So many new features get added with each release of SQL it is hard to use them all. Sometimes, I often don’t realize how helpful a new feature is until I see it in action. Incremental Stats was...

View Article


Image may be NSFW.
Clik here to view.

APS 2016 External Object Changes

APS customers who use Polybase and will be soon upgrading to APS 2016 from AU5 or prior should consider this change and take action prior to upgrading. APS 2016 upgrades the underlying SQL instances to...

View Article

Image may be NSFW.
Clik here to view.

SQL 2016 – Temporal Tables – How do you drop a Temporal Table?

As we continue our journey with Temporal Tables, the next topic will be how do you drop them.  While this may seem like an odd thing to write about, dropping a Temporal Table does have a couple extra...

View Article


Image may be NSFW.
Clik here to view.

The EXECUTE permission was denied on xp_msver

Recently after installing SQL Server and configuring SSIS for project deployment in a SQL Server 2012 environment, a customer was experiencing issues when attempting to execute a package deployed to...

View Article

Image may be NSFW.
Clik here to view.

APS Blocked Partition Switch

  In SQL Server, when you perform a partition switch, a schema lock is acquired briefly to do the operation. This can get blocked by read operations that have a schema-s lock on the table. APS works a...

View Article


Image may be NSFW.
Clik here to view.

Azure RM: Configure a second Availability Group with a Listener using the...

In a previous post, we have reviewed Azure RM: How to create SQL Server AlwaysOn Availability Groups Listener configuration with Azure External Load Balancer, this is the second part of the delivery,...

View Article

Image may be NSFW.
Clik here to view.

Increasing the Number of SQL Server Error Logs – My Automation Journey – Part 2

In my last post, I discussed how to increase the error logs through the GUI and explained the back end stored procedure that is used to set the value in the registry. In this post, I will cover a...

View Article

Image may be NSFW.
Clik here to view.

SSIS: Setting the same variable in multiple projects in the catalog

Recently I was assisting a customer with a review of their SSIS implementation and one the security implementations that they had in place was service accounts for SQL Server Integration Services...

View Article
Browsing all 153 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>