Solved

DBCC 1204

Posted on 2004-04-05
6
347 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
[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
  • 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
Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

 
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

Edgartown IT Case Study

Learn about Edgartown's quest to ensure the safety and security of the entire town's employee and citizen data. Read the case study!

Question has a verified solution.

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

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.
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…
Familiarize people with the process of utilizing SQL Server functions from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Ac…
Viewers will learn how the fundamental information of how to create a table.

690 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