Check Backup Encryption Sizes

I had a recent project to enable backup encryption on all our servers.  Then question from the storage team came up will this required additional space.  Well by then I had already enabled in all our test servers so I wrote a query that would compare the average size of backups before encryption to after …

Read More “Check Backup Encryption Sizes”

PowerShell Function to Get Query Store Data Across Multiple Databases

In SQL Server 2016, Microsoft introduced to us the Query Store.  This has been proven to be a very beneficial feature especially at my job, saved the day on Christmas Eve. One of the limitations if see is when you have server with several databases on it trying to find the one that has the …

Read More “PowerShell Function to Get Query Store Data Across Multiple Databases”

Uploading New R Library Packages

Somehow I have become the R DBA at my job which I don’t mind, I plan on taking Microsoft’s Professional Program on Data Science to be familiar with it.  But recently I’ve had to upload files to our R servers which the first time wasn’t too bad.  Copy these files to six different servers but …

Read More “Uploading New R Library Packages”

Monitoring Availability Groups Part 2 – SQL Agent Alerts

This entry is part 2 of 3 in the series Monitoring Availability Groups

In my last post on monitoring Availability Groups I covered looking at Perfmon Counters now we take a look at getting alerts from SQL Agent. When it comes to checking on your Availability Groups one of the easiest ways to keep track at a high level of the health of the them is to setup …

Read More “Monitoring Availability Groups Part 2 – SQL Agent Alerts”

T-SQL Tuesday #90 – Shipping Database Changes

At my first official DBA job, I was being trained the current DBA on deploying stored procedures.  They had system where you received a ticket with the SQL file attached.  You proceed to see if the procedure existed and if it did.  You right click on it and look at who had access to it …

Read More “T-SQL Tuesday #90 – Shipping Database Changes”

Monitoring Availability Groups Part 1 – Perfmon Counters

This entry is part 1 of 3 in the series Monitoring Availability Groups

Monitoring Availability Groups can be tricky.  The DMVs don’t update the log_send_rate and redo_rate all the time especially if nothing is happening so if you try to use those for calculations when monitoring you could false results worse yet pages in the middle of the night.  In order to calculate the log_send_rate and redo_rate you need to …

Read More “Monitoring Availability Groups Part 1 – Perfmon Counters”

Running SQL Scripts Against Multiple Servers Using PowerShell

In this post I’m going to share a function I use run scripts against multiple instances of SQL servers and run the data into a GridView. I use this mainly for a replacement of the CMS feature of running against a folder and to put the output to a GridView that I can sort and …

Read More “Running SQL Scripts Against Multiple Servers Using PowerShell”

Paul Randal Mentor Me?!

Paul Randal recently won the award for “Person You’d Most Like to be Mentored By” in the Tribal Awards, now Paul is offering to mentor 3 men and 3 women for two months. To get a chance of getting mentored by Paul, you simply need to apply by writing a blog post about why you should be considered …

Read More “Paul Randal Mentor Me?!”

T-SQL Tuesday #53 – Why So Serious? No SQL Authentication Use Your Own Account

At a previous job I had several developers that had passwords for SQL authenticated accounts for systems that would give them more access than they needed when they had Windows accounts that would give them enough to troubleshoot issues.  Our trick was to write a login trigger that would block any SQL Authentication accounts that …

Read More “T-SQL Tuesday #53 – Why So Serious? No SQL Authentication Use Your Own Account”

Exam 70-458 – Objective 7 – Configure and deploy SSIS solutions

This entry is part 7 of 8 in the series Exam 70-458

  Troubleshoot data integration issues Performance issues Performance Counters (http://msdn.microsoft.com/en-us/library/ms137622.aspx) Connectivity issues Execution of a task or transformation failed Logic issues Demonstrate awareness of the new SSIS logging infrastructure (http://msdn.microsoft.com/en-us/library/ms140246.aspx) Troubleshoot a failed package execution to determine the root cause of failure Troubleshoot SSIS package failure from an invalid datatype Implement break points To see …

Read More “Exam 70-458 – Objective 7 – Configure and deploy SSIS solutions”