What is blocking and how would you troubleshoot it?

Answer Posted / rajkumar

Blocking happens when one connection from an application
holds a lock and a second connection requires a conflicting
lock type. This forces the second connection to wait,
blocked on the first.

sp_who2 will give the list of blocking sessions. From that
we can find the objects using dbcc command.

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the maximum size of a row in sql server?

728


What is snapshot report?

138


Can we call future method from trigger?

706


If the job running very slow what is the action you do

1622


What are the authentication modes in sql server? How can it be changed?

825


What is a transact-sql statement?

732


Suppose i have a table that contains 5 columns like col1,col2...colm5.I want to import only two column through BCP utility.How to do same through BCP in sybase.

2186


how to define testing of network layers? : Sql server database administration

682


Please differentiate between a local and a global temporary table?

782


What is bit data type?

808


How do you drop an index?

703


What is database mirroring?

786


What are the different ways you can create databases in sql server?

803


Explain different types of Normalization.

1273


Can binary strings be used in arithmetical operations?

713