Solved

DBCC 1204

Posted on 2004-04-05
6
342 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
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

Having an SQL database can be a big investment for a small company. Hardware, setup and of course, the price of software all add up to a big bill that some companies may not be able to absorb.  Luckily, there is a free version SQL Express, but does …
The Delta outage: 650 cancelled flights, more than 1200 delayed flights, thousands of frustrated customers, tens of millions of dollars in damages – plus untold reputational damage to one of the world’s most trusted airlines. All due to a catastroph…
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.
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

839 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