Checking SQL Server Agent Status Using xp_cmdshell
I work in a clustered environment running more than 200 instances of SQL Server 2008. Several years ago, we began having problems with the SQL Server Agent service failing after an instance failed...
View ArticleUsing Dynamic T-SQL In A WHILE Loop
In my last post, I covered using xp_cmdshell to check the status of the SQL Server Agent service. I also mentioned my environment consists of more than 200 instances of SQL Server. The challenge I...
View ArticleT-SQL Tuesday – Extended Events in SQL Server 2012
I started as a SQL Server DBA in November of 2007 and attended my first PASS Summit in 2008. While there, I saw Jerome Halmans present on Advanced Troubleshooting with SQL Server Extended Events. It...
View ArticleReading the xp_readerrorlog Using a WHILE Loop
Last week, I needed to search through all of the SQL Server error logs on an instance. I have used xp_readerrorlog before, using the information found here. We retain 99 log files, which is the maximum...
View ArticleTracking and Calculating Wait Times – Part I
Several weeks ago, I took a call from a vended application investigating slowness that occurred on a regular basis on Wednesdays. Members of my team had looked at the performance of the app from a SQL...
View Article
More Pages to Explore .....