[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

DBCC 1204

Posted on 2004-04-05
6
Medium Priority
?
353 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 450 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 300 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
Fill in the form and get your FREE NFR key NOW!

Veeam® is happy to provide a FREE NFR server license to certified engineers, trainers, and bloggers.  It allows for the non‑production use of Veeam Agent for Microsoft Windows. This license is valid for five workstations and two servers.

 
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

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

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

In this article we will learn how to fix  “Cannot install SQL Server 2014 Service Pack 2: Unable to install windows installer msi file” error ?
In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
Using examples as well as descriptions, and references to Books Online, show the different Recovery Models available in SQL Server and explain, as well as show how full, differential and transaction log backups are performed
Via a live example, show how to extract insert data into a SQL Server database table using the Import/Export option and Bulk Insert.

650 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