Solved

DBCC 1204

Posted on 2004-04-05
6
335 Views
Last Modified: 2012-08-13
How do i execute DBCC 1204 and where do i look for the results.

Please advice.

Thanks.
0
Comment
Question by:crishna1
  • 3
  • 2
6 Comments
 

Author Comment

by:crishna1
ID: 10760154
I am trying to moniter the locks/tableloacks/deadlocks.
0
 
LVL 34

Accepted Solution

by:
arbert earned 150 total points
ID: 10760300
This is a traceflag that was previously documented, but was left undocumented in SQL2000--I wouldn't use it.

You can obtain pretty much the same information by executing SP_WHO in query analyzer to find the blocking process.  You can then see what the process is running by execute DBCC INPUTBUFFER(processidhere)

Brett
0
 
LVL 7

Assisted Solution

by:ChrisFretwell
ChrisFretwell earned 100 total points
ID: 10760761
Actually, it is documented in sql 2000, at least its in books online if you search for "Troubleshooting Deadlocks" in the index, it gives information on how to use dbcc 1204 and where else to look in BOL for help to interpet it. (deadlocks involving locks, deadlocks involving paralellism and deadlocks involving thread).

You can also use performance monitor to help and again books online is a great place to look for specific information on how to track it that way.


0
Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

 
LVL 34

Expert Comment

by:arbert
ID: 10760946
Weird, it wasn't suppose to be a documented function.  Maybe they added it in a later BOL....
0
 
LVL 7

Expert Comment

by:ChrisFretwell
ID: 10760989
There was a BOL update in January I think (maybe late December) You can download it from MS, not a small file, but obviously a handy one.  I can hunt down the link if you need it.

It has only 4 trace flags defined 260,1204,2528 and 3205.

Chris
0
 
LVL 34

Expert Comment

by:arbert
ID: 10761760
Nope, I got the current--just didn't look.  I knew from past information it wasn't "suppose" to be documented.
0

Featured Post

Complete Microsoft Windows PC® & Mac Backup

Backup and recovery solutions to protect all your PCs & Mac– on-premises or in remote locations. Acronis backs up entire PC or Mac with patented reliable disk imaging technology and you will be able to restore workstations to a new, dissimilar hardware in minutes.

Join & Write a Comment

Nowadays, some of developer are too much worried about data. Who is using data, who is updating it etc. etc. Because, data is more costlier in term of money and information. So security of data is focusing concern in days. Lets' understand the Au…
This article explains how to reset the password of the sa account on a Microsoft SQL Server.  The steps in this article work in SQL 2005, 2008, 2008 R2, 2012, 2014 and 2016.
Using examples as well as descriptions, and references to Books Online, show the documentation available for date manipulation functions and by using a select few of these functions, show how date based data can be manipulated with these functions.
Viewers will learn how to use the SELECT statement in SQL to return specific rows and columns, with various degrees of sorting and limits in place.

758 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

21 Experts available now in Live!

Get 1:1 Help Now