Monitoring-Troubleshooting

Category: monitoring-troubleshooting

Collect and Baseline Wait Statistics (Dear SQL DBA Episode 14)

Collect and Baseline Wait Statistics (Dear SQL DBA Episode 14)

What are the best tools to collect and baseline wait statistics? Should you write your own? Watch the 18 minute video or read the episode transcript below.

Continue reading

Lost in Performance Troubleshooting - Perf Triage for SQL Server

Lost in Performance Troubleshooting - Perf Triage for SQL Server

Psssttt – I have an updated blog post on this called the Learner’s Guide to SQL Server Performance Tuning

The SQL Server is slow, what should you do? I answer a reader question andΒ share my strategy for performance troubleshooting.

Continue reading

How to Fix Lopsided Partitioned Tables

How to Fix Lopsided Partitioned Tables

Over the years I’ve gotten lots of emails and questions from students that start like this:

Help! My partitioned table has the wrong data in a partition! It’s lopsided. I started trying to fix it, but…

Continue reading

Troubleshooting 1.00.002: Never forget the Windows Event Log!

Troubleshooting 1.00.002: Never forget the Windows Event Log!

on August 22, 2009

This evening during some maintenance I was reminded of one very important rule: when looking into any issue on a windows server, never forget to check the Windows Event Log.

Continue reading

Average Daily Job Runtime

Average Daily Job Runtime

Here’s a query I found useful today– this week we moved many of our production datamart servers to SQL 2K5 SP3 CU4, and today among the course of other issues I wanted to take a look at my job runtimes to see if they might be noticeably slower or faster than prior runs. I often am in a similar situation after deploying significant changes to our codebase.

Continue reading

Replication Undelivered Commands: Monitoring and Reporting

Replication Undelivered Commands: Monitoring and Reporting

on June 7, 2009

This post is to share a script I’ve been working on periodically over the last couple of months to monitor and report on replication latency at the distributor.

I use this in monitoring transactional replication with a stand-alone distributor.

Continue reading

Profiler: Deadlock Graph Event

Profiler: Deadlock Graph Event

on May 23, 2009

Until recently I’d never used the deadlock graph event in Profiler. I’ve been pretty lucky and haven’t had to troubleshoot deadlocks much until now. The deadlock graph turns out to be quite nice!

Continue reading