Author Archives: tnbarkhouse

About tnbarkhouse

I'm a SQL Server database administrator with a few tools to share.

My SQLRally 2012 presentation materials are available

I have posted the materials from my PASS SQLRally 2012 Dallas session, Deadlock Detection, Troubleshooting, and Prevention (DBA-201). The download contains the slide deck, a handout that is full of links to resources, demonstration code, and a few sample files. … Continue reading

Posted in SQL Server | Tagged , , , , , , , , , , | Leave a comment

Tutorial – Installing PowerShell

Unfortunately there are a few different ways to install PowerShell, depending on the version of Windows. This tutorial provides the installation steps that are appropriate for your operating system. Note: Before attempting to install PowerShell on a computer, confirm that … Continue reading

Posted in PowerShell | Tagged , , , , , , , , , , , , , | Leave a comment

Tutorial – Determining whether PowerShell is installed

The first step in using PowerShell is making sure that it’s installed on the computer(s) that need it. As time passes, it will become as ubiquitous as Cmd.exe and VBScript. However, it’s currently important to verify that PowerShell is available … Continue reading

Posted in PowerShell | Tagged , , , , | 1 Comment

Reflecting on my first CodeStock session

Today I gave my first of two presentations at the 2011 CodeStock conference, my “An Introduction to Profiler and SQL Trace” talk. The session went really well! It had good attendance, the audience was engaged and asked great questions, and … Continue reading

Posted in SQL Server | Tagged , , , , , , , , , | Leave a comment

I am speaking at CodeStock 2011

I will be delivering two sessions at this year’s CodeStock conference in Knoxville, Tennessee: An Introduction to Profiler and SQL Trace at 2011-06-03 13:50-04:00. The session’s materials have been posted here. A PowerShell Cookbook for DBAs at 2011-06-04 09:50-04:00. The … Continue reading

Posted in PowerShell, SQL Server | Tagged , , , , , , , | Leave a comment

Dealing with full transaction logs

In a recent post, I mentioned a customer that takes some perverse pleasure in undermining point-in-time-recoverability of their databases. Here are some more details on the bad practice and what I wish they would do instead. The customer has a … Continue reading

Posted in SQL Server | Tagged , , , , , , , , , , , , | Leave a comment

Please vote for PASS Summit 2011 sessions!

I have been extremely fortunate to have spoken at the last two North American PASS Summits. The experiences have been amazing and I’m hopeful about getting a chance to present at this year’s conference too. I received very good feedback … Continue reading

Posted in PowerShell, SQL Server | Tagged , , , , , , , , , | Leave a comment

Code snippet – Reestablishing the backup log chain with PowerShell

We have a certain customer that has an incredible fondness for undermining the restorability of their databases. Almost all of their databases are in the full recovery model and all-too-frequently the customer will start backing up transaction logs with the … Continue reading

Posted in PowerShell, SQL Server | Tagged , , , , , , , , , | Leave a comment

SQL Trace presentation materials posted

I just uploaded a new set of deliverables from my SQL Trace presentation (which can be found here). Let me know if you have any questions.

Posted in SQL Server | Tagged , , , , | Leave a comment