• Skip to main content
  • Skip to primary sidebar

DBA Diaries

Thoughts and experiences of a DBA working with SQL Server and MySQL

troubleshooting

SQL Server Error Log Consuming Lots of Disk Space

June 17, 2012 by Andy Hayes Leave a Comment

sql server error log

I came across a problem this week with one of our SQL Servers whereby one of the drives was very low on space. Whenever I come across a disk space problem, I use my trusty friend Treesize which is a free download and it enables me to quickly find where the space is being consumed. Having run the tool, I quickly found the culprit. It was the SQL Server error log consuming … [Read more...] about SQL Server Error Log Consuming Lots of Disk Space

Using DBCC INPUTBUFFER for SQL Server troubleshooting

May 27, 2012 by Andy Hayes Leave a Comment

using dbcc inputbuffer for sql server troublshooting

In my last post on sp_who2 I demonstrated how this handy utility can help you in your SQL Server troubleshooting efforts. Continuing on from this, I am going to cover DBCC INPUTBUFFER What is DBCC INPUTBUFFER ? It is a command used to identify the last statement executed by a particular SPID. You would typically use this after running sp_who2. The great thing about … [Read more...] about Using DBCC INPUTBUFFER for SQL Server troubleshooting

Using exec sp_who2 to help with SQL Server troubleshooting

May 20, 2012 by Andy Hayes 4 Comments

Using sp_who2 to identify blocked queries

If you haven't used sp_who2 before then it is a great utility to help in diagnosing a problem with your database application. What is sp_who2 ? It's a stored procedure which is installed with SQL Server which when run, outputs a row for each "SPID". SPID stands for Server Process ID and one is created every time an application needs to open a connection to SQL Server. Each … [Read more...] about Using exec sp_who2 to help with SQL Server troubleshooting

Primary Sidebar

Categories

  • All Articles (82)
  • Career Development (8)
  • MySQL Administration (18)
  • MySQL Performance (2)
  • SQL Server Administration (24)
  • SQL Server News (3)
  • SQL Server Performance (14)
  • SQL Server Security (3)
  • SQL Tips and Tricks (19)

Top 10 Popular Posts

  • Using sp_change_users_login to fix SQL Server orphaned users
  • MySQL SHOW USERS? – How to List All MySQL Users and Privileges
  • How to shrink tempdb
  • How to Transfer Logins to Another SQL Server or Instance
  • How to Delete Millions of Rows using T-SQL with Reduced Impact
  • T-SQL – How to Select Top N Rows for Each Group Using ROW_NUMBER()
  • New T-SQL features in SQL Server 2012 – OFFSET and FETCH
  • How to Kill All MySQL Processes For a Specific User
  • Using exec sp_who2 to help with SQL Server troubleshooting
  • How to move tempdb

Recent Posts

  • How to Setup MySQL Master Master Replication
  • How To Use SQL to Convert a STRING to an INT
  • How to set up MySQL Replication Tutorial
  • How to Use SQL CASE for Conditional Logic in Your SQL Queries
  • Using ISNULL in SQL Server to Replace NULL Values

Search

Connect

  • Twitter
  • Facebook
  • Google+
  • RSS

About

  • Cookie Policy
  • Disclaimer
  • About
Copyright ©