Solved

capturing deadlocks

Posted on 2013-12-16
2
232 Views
Last Modified: 2013-12-17
will sql error logs will not capture any deadlocks (without trace running)- is this right? so, how can we know if any deadlocks occurred yesterday when the systems were slow.. the trace were not running yesterday.. does that mean we can never know if a deadlocked happened yesterday?

is running the trace the only way to find the deadlocks and its details?
0
Comment
Question by:25112
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 12

Accepted Solution

by:
Tony303 earned 500 total points
ID: 39723229
Hi,

I have seen this link here where a user has created a sp and has a SQL Agent job that poles the SQL log every 5 mins.

A bit fiddly to set up, but quite clever I think.
Could be of some use to you perhaps.

http://social.msdn.microsoft.com/Forums/sqlserver/en-US/b9984ce7-5158-4b11-8aeb-3bb19f582818/where-deadlock-details-are-stored-in-sql-server
0
 
LVL 5

Author Comment

by:25112
ID: 39723901
thanks.
0

Featured Post

Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

SQL Server engine let you use a Windows account or a SQL Server account to connect to a SQL Server instance. This can be configured immediatly during the SQL Server installation or after in the Server Authentication section in the Server properties …
In this article I will describe the Detach & Attach method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question