Solved

capturing deadlocks

Posted on 2013-12-16
2
228 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
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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Join & Write a Comment

In this article I will describe the Copy Database Wizard 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.
Use this article to create a batch file to backup a Microsoft SQL Server database to a Windows folder.  The folder can be on the local hard drive or on a network share.  This batch file will query the SQL server to get the current date & time and wi…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

760 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now