Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2008 Forums
 Other SQL Server 2008 Topics
 Exam 70-432

Author  Topic 

agiotti
Starting Member

37 Posts

Posted - 2011-10-22 : 08:52:21
Hello All,

While reviewing Microsoft SQL Server 2008 Implementation and Maintenance training kit I came across this particular question.

Which of the following are used to locate blocked processes?
a. sys.dm_exec_sessions view
b. sys.dm_exec_requests view
c. sys.dm_os_waiting tasks view
d. sp_who2 system stored procedure

Both the book and the training kit exam prep CD says that item (c.) is incorrect. However, BOL displays blocking_session_id
column as part of the returned list for this DMV.

BOL description for blocking_session_id: ID of the session that is blocking the request.

The training CD and book explains that this DMV list processes that are waiting on a resource but you cannot locate blocked processes using this view.

I have created a blocking test and this DMV does display the session id and the wait resource.

If you select this DMV as one of the answers you will get the entire question wrong, why?

paultech
Yak Posting Veteran

79 Posts

Posted - 2011-10-26 : 07:06:15
Hello ,Please try this link and give me your impression

http://michaeljswart.com/2011/05/when-to-use-blocked-processes-reports/



paul Tech
Go to Top of Page
   

- Advertisement -