![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi, yes, we're looking for a deadlock and not having a lot of success. What I want to know is how to use trace flag 1204 and related flags to actually get the deadlocking SQL dumped out to the error log ? We get output, but it doesn't show us any sql. Any ideas ? thanks. Adrian |
#3
| |||
| |||
|
|
Hi Try the methods described in http://tinyurl.com/39762 you may also want to look at using profiler to detect this. The following may also be useful: http://msdn.microsoft.com/library/de...tabse_5xrn.asp John "Adrian Parker" <apparker (AT) nospam (DOT) com> wrote in message news:uDBQDXsUEHA.1652 (AT) TK2MSFTNGP09 (DOT) phx.gbl... Hi, yes, we're looking for a deadlock and not having a lot of success. What I want to know is how to use trace flag 1204 and related flags to actually get the deadlocking SQL dumped out to the error log ? We get output, but it doesn't show us any sql. Any ideas ? thanks. Adrian |
#4
| |||
| |||
|
|
As I said, we're getting output from trace 1204 et al but it doesn't show the sql statements that are causing the deadlock, just that the problem is in cursoropen which is completely useless. -Adrian "John Bell" <jbellnewsposts (AT) hotmail (DOT) com> wrote in message news:%23onIeHuUEHA.1296 (AT) TK2MSFTNGP10 (DOT) phx.gbl... Hi Try the methods described in http://tinyurl.com/39762 you may also want to look at using profiler to detect this. The following may also be useful: http://msdn.microsoft.com/library/de...tabse_5xrn.asp John "Adrian Parker" <apparker (AT) nospam (DOT) com> wrote in message news:uDBQDXsUEHA.1652 (AT) TK2MSFTNGP09 (DOT) phx.gbl... Hi, yes, we're looking for a deadlock and not having a lot of success. What I want to know is how to use trace flag 1204 and related flags to actually get the deadlocking SQL dumped out to the error log ? We get output, but it doesn't show us any sql. Any ideas ? thanks. Adrian |
#5
| |||
| |||
|
#6
| |||
| |||
|
|
Hi Adrian, From your descriptions, I understood you would like to know how to analyze trace flag of 1204 and identifying the deadlock. Have I understood you? If there is anything I misunderstood, please feel free to let me know ![]() Based on my knowledge, the following documents will show you how to do it INF: Analyzing and Avoiding Deadlocks in SQL Server http://support.microsoft.com/?id=169960 INF: Understanding and Resolving SQL Server 7.0 or 2000 Blocking Problems (224453) http://support.microsoft.com/?id=224453 INF: How to Monitor SQL Server 2000 Blocking http://support.microsoft.com/default...B;EN-US;271509 Hope this helps. However, looking at the nature of this issue, it would require intensive troubleshooting, which might be time-costing and hard to communication in the Newsgroup. So that I would like to recommand you request direct assistance from a Microsoft Support Professional through Microsoft Product Support Services, by which, I believe, would be resolved quickly and effectively. You can contact Microsoft Product Support directly to discuss additional support options you may have available, by contacting us at 1-(800)936-5800 or by choosing one of the options listed at http://support.microsoft.com/default...d=sz;en-us;top Thank you for your patience and cooperation. If you have any questions or concerns, don't hesitate to let me know. We are here to be of assistance! Sincerely yours, Mingqing Cheng Microsoft Developer Community Support --------------------------------------------------------------- Introduction to Yukon! - http://www.microsoft.com/sql/yukon This posting is provided "as is" with no warranties and confers no rights. Please reply to newsgroups only, many thanks! |
#7
| |||
| |||
|
![]() |
| Thread Tools | |
| Display Modes | |
| |